スキル一覧に戻る
TerryTong-Git

latex-compilation

by TerryTong-Git

Claude Code project configuration for ToolProj

0🍴 0📅 2026年1月14日
GitHubで見るManusで実行

SKILL.md


name: latex-compilation description: Use when LaTeX documents fail to compile, have undefined references, duplicate labels, or citation errors

LaTeX Compilation

Overview

Fix common LaTeX compilation errors systematically by running the full build sequence and addressing errors in order of dependency.

When to Use

  • Document won't compile (pdflatex errors)
  • "Undefined reference" or "multiply-defined labels" warnings
  • Citations showing as [?] or undefined
  • Cross-references not resolving

Quick Reference

ProblemSolution
Undefined citationsRun: pdflatex → bibtex → pdflatex → pdflatex
Duplicate labelsEach \label{name} must be unique across document
Empty \cite{}Remove or fill in citation key
Citation key mismatchEnsure .tex keys match .bib entry names exactly
Cross-refs not updatingRun pdflatex twice after changes

Full Compilation Sequence

pdflatex -interaction=nonstopmode paper.tex
bibtex paper
pdflatex -interaction=nonstopmode paper.tex
pdflatex -interaction=nonstopmode paper.tex

Common Mistakes

Duplicate \label{} tags - Copy-pasting figures often duplicates labels. Search with:

grep -n 'label{' paper.tex | sort -t'{' -k2 | uniq -d -f1

Citation key typos - altabaa2025co vs altabaa2025cot causes undefined citation. Always verify keys match the .bib file exactly.

Running pdflatex only once - Cross-references and citations need multiple passes to resolve.

Empty citations - \cite{} causes warnings. Remove or add proper key.

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です