Communitygithub.com

Peytontalismanic424/paper-share-skills

SUSTech Beamer 슬라이드 컴파일 시 \(\setsource\)/\\(\setdomains\)/\\(\setpresenter\)/\\(\setvenue\) 명령어가 정의되지 않는 문제를 해결합니다. sustech-slides-template 저장소에서 확장된 beamerthemesustech.sty를 복사합니다.

paper-share-skills란 무엇인가요?

이 스킬은 SUSTech Beamer 템플릿에서 \(\setsource\), \(\setdomains\), \(\setpresenter\), \(\setvenue\) 같은 추가 명령어가 정의되지 않아 발생하는 컴파일 오류를 해결합니다. 표준 slides-template의 `beamerthemesustech.sty`는 약 60줄로 기본적인 기능만 제공하는 반면, sustech-slides-template 저장소에 포함된 확장 버전은 100줄 이상으로 이러한 명령어들을 정의합니다. 사용자는 `git clone` 후 `cp` 명령어를 통해 확장된 `.sty` 파일을 자신의 프로젝트로 복사하기만 하면 됩니다. 이 스킬은 Claude Code와 같은 AI 에이전트 환경에서 SUSTech Beamer 사용자에게 필요한 명령어를 간단히 안내하여 생산성을 높여줍니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Peytontalismanic424/paper-share-skills/tree/HEAD/sustech-beamer-theme-fix

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

SUSTech Beamer 테마 (\setsource) 수정

문제

표준 slides-template에서 main.tex을 작성할 때, latexmk -xelatex 명령어가 다음 오류와 함께 실패합니다:

! Undefined control sequence.
l.23 \setsource{...}{...}

또한: \setdomains, \setpresenter, \setvenue도 마찬가지입니다. 이 명령어들은 최신 데크에서 사용되지만, 기본 템플릿 버전의 beamerthemesustech.sty에는 정의되어 있지 않습니다.

근본 원인

기본 beamerthemesustech.sty는 약 60줄이며, \mode<all>로 끝납니다. 확장 버전(sustech-slides-template 저장소에 포함)은 약 100줄 이상으로 다음과 같은 기능을 제공합니다:

  • \paperfrom{venue}{year} — 출처 줄을 형식화합니다.
  • \setsource{venue}{year} — \paperfrom을 호출합니다.
  • \setdomains{...} — 도메인 태그를 설정합니다.
  • \setpresenter{name} — 발표자 이름을 설정합니다.
  • \setvenue{location} — 장소 위치를 설정합니다.
  • \titlemetaline — 제목 페이지 하단 줄을 형식화합니다.

수정 방법

확장 매크로는 sustech-slides-template 저장소의 sustech-theme/beamerthemesustech.sty에 포함되어 있습니다. 템플릿을 데크에 복사한 후, beamerthemesustech.sty를 확장 버전으로 교체하세요.

이미 저장소를 체크아웃한 경우:

cp "<TEMPLATE_DIR>/sustech-theme/beamerthemesustech.sty" \
  "<TARGET>/slides-beamer/sustech-theme/beamerthemesustech.sty"

그렇지 않으면 먼저 클론한 후 복사하세요:

git clone --depth 1 https://github.com/yhbcode000/sustech-slides-template.git <TEMPLATE_DIR>
cp "<TEMPLATE_DIR>/sustech-theme/beamerthemesustech.sty" \
  "<TARGET>/slides-beamer/sustech-theme/beamerthemesustech.sty"

첫 컴파일 전에 이 작업을 수행하세요. beamerthemesustech-elements.sty와 beamercolorthemesustech.sty 파일은 저장소 템플릿과 참조 데크에서 동일합니다. 확장 매크로는 beamerthemesustech.sty에만 포함되어 있습니다. 확실하지 않은 경우, 전체 sustech-theme/ 디렉토리를 복사하세요.

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

Peytontalismanic424/paper-share-skills

Validate and upload narrated paper videos to Bilibili with biliup. Handles required landscape-first/portrait-second submissions, series uploads, CST scheduling, diagnostics, dry-run validation, and durable upload receipts. Trigger on: "upload to bilibili", "bilibili upload", "发布到B站", "上传到B站".

Peytontalismanic424/paper-share-skills

Download the TeX source (e-print tar.gz) of an arXiv paper from an arXiv URL or bare ID, and unpack it into paper_src/. Use FIRST whenever a pipeline input is an arXiv link and the TeX source is preferred over the PDF (paper-to-beamer, paper-to-bilibili, paper-venue-discovery). Invoke with an arXiv URL (abs/pdf/e-print, arxiv.org or export.arxiv.org) or a bare ID like 2509.07996v4.

Peytontalismanic424/paper-share-skills

Convert Beamer PDF slides into a fail-closed narrated MP4 with page-aligned narration, TTS audio, cover, and upload metadata. Trigger on narrated slides, slide video, or paper video requests.

Peytontalismanic424/paper-share-skills

Automated pipeline: paper (PDF or TeX source) → SUSTech Beamer slides (11-section 论文分享 structure) → compiled PDF. When TeX source is available, skip MinerU and extract content directly from LaTeX. Use when the user asks to create Beamer slides from an academic paper, or says "论文分享", "paper to slides", "make beamer from paper". Invoke with an absolute or relative path to a PDF, .tar.gz TeX archive, .tex file, or an arXiv URL/ID (source TeX is downloaded first via skill://paper-download-arxiv-paper-source).

Peytontalismanic424/paper-share-skills

Orchestrate a paper PDF through MinerU, SUSTech Beamer slides, complete Chinese narration, landscape and portrait video, metadata gates, and Bilibili upload. Supports single-paper and batch slides, video, or bilibili phases. Trigger on full paper-to-Bilibili requests, PDF-to-video publication, and batch paper publishing.

Peytontalismanic424/paper-share-skills

Generate a deterministic 16:10 video-cover poster from a paper directory. Extracts paper metadata and figures and atomically produces poster.tex, poster.pdf, and poster.png. Use for paper-video covers, not conference posters.

Peytontalismanic424/paper-share-skills

Convert a PDF (especially academic papers) to clean Markdown using MinerU — preserves reading order, LaTeX equations, tables, and figures, and runs on the GPU. Use when the user asks to convert/extract a PDF to markdown/text. Invoke directly — no need for the user to type the skill name.

관련 스킬