pandoc について
pandocは、Pandocを使った再現可能な文書変換とビルドの手順を示すスキルです。書式付き文書や引用管理付き論文の作成、プレーンテキストからの自動変換に役立ちます。
主な機能
- 01MarkdownからPDF・DOCXへの変換
- 02文書形式間の変換
- 03BibTeX・CSLによる引用管理
- 04カスタムLaTeXテンプレート
- 05相互参照とLuaフィルターのガイド
- 06一括変換スクリプトとビルド構成
活用シーン
- 01Markdownから書式付きPDFやWord文書を作成
- 02引用付きの学術論文を作成
- 03複数文書の一括変換
- 04MakefileやGitHub Actionsで文書ビルドを自動化
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ vamseeachanta/ workspace-hub --skill pandocインストール後、Claude Code で/pandocを入力して読み込まれたか確認します。
詳細
Pandoc
このスキルを使用する場面
使用する場合
- プロフェッショナルな書式で Markdown を PDF に変換する場合
- Markdown ソースから Word 文書を作成する場合
- プレーンテキストから再現可能な文書ビルドが必要な場合
- 引用(BibTeX/CSL)を含む学術論文を管理する場合
- 複数の文書を一括変換する場合
- 一貫したブランド表現のためにカスタムテンプレートが必要な場合
- 複数のドキュメント形式間で変換する場合
- Markdown から LaTeX 文書を作成する場合
- 相互参照(図、表、数式)が必要な場合
- 自動化された文書パイプラインを構築する場合
使用しない場合
- ドキュメントサイトを構築する場合(MkDocs または Sphinx を使用してください)
- インタラクティブなドキュメントが必要な場合(Web フレームワークを使用してください)
- リアルタイムの共同編集が必要な場合(Google Docs を使用してください)
- スライドプレゼンテーションを作成する場合(Marp を使用してください)
- WYSIWYG 編集が必要な場合(Word を直接使用してください)
- 複雑にネストされた HTML を変換する場合(書式が失われる可能性があります)
前提条件
インストール
# macOS (Homebrew)
brew install pandoc
brew install pandoc-crossref # For cross-references
brew install basictex # Minimal LaTeX for PDF
# Or full LaTeX: brew install --cask mactex
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install pandoc pandoc-citeproc
*See sub-skills for full details.*
### System Requirements
- Pandoc 2.19 or higher (3.x recommended)
- LaTeX distribution (for PDF output)
- Python 3.8+ (for pandoc-filters)
## Version History
### v1.0.0 (2026-01-17)
- Initial skill creation
- PDF, DOCX, HTML conversion workflows
- Custom LaTeX templates
- Citation management with BibTeX/CSL
- Cross-references with pandoc-crossref
- Lua filters documentation
- Batch conversion scripts
- Makefile integration
- GitHub Actions workflows
## Sub-Skills
- [1. Basic Format Conversion (+3)](1-basic-format-conversion/SKILL.md)
- [5. Custom LaTeX Templates (+1)](5-custom-latex-templates/SKILL.md)
- [7. Citations and Bibliography (+1)](7-citations-and-bibliography/SKILL.md)
- [9. Lua Filters](9-lua-filters/SKILL.md)
- [10. Batch Conversion Scripts](10-batch-conversion-scripts/SKILL.md)
- [11. Makefile for Document Projects (+1)](11-makefile-for-document-projects/SKILL.md)
- [Integration with Git Hooks (+1)](integration-with-git-hooks/SKILL.md)
- [1. Document Structure](1-document-structure/SKILL.md)
- [Common Issues (+1)](common-issues/SKILL.md)
## Sub-Skills
- [Background](background/SKILL.md)
- [Subsection](subsection/SKILL.md)
- [2. Image Management (+2)](2-image-management/SKILL.md)
- [Related Resources](related-resources/SKILL.md)
コメント
Markdown 対応