重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
docs-latex by laurigates/claude-plugins
npx skills add https://github.com/laurigates/claude-plugins --skill docs-latex包含 Shell 命令
此技能包含可能执行系统命令的 shell 命令指令(!command``)。安装前请仔细审查。
将 Markdown 文档转换为专业的 LaTeX 文档,具备高级排版、TikZ/PGFPlots 可视化以及 PDF 编译功能。
| 使用此技能当... | 使用其他技能当... |
|---|---|
| 将 Markdown 转换为演示质量的 PDF | 编写 Markdown 文档 (/docs:generate) |
| 创建包含图表和可视化的报告 | 简单的文本格式化 |
| 生成可供打印的战略文档 | 创建 HTML 文档 |
| 构建包含图表和时间线的生命周期报告 | 同步现有文档 (/docs:sync) |
which pdflatex广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
pwdfind . -maxdepth 2 -name '*.md' -not -name 'CHANGELOG.md' -not -name 'README.md'<file>: Markdown 源文件的路径(必需)--no-compile: 仅生成 .tex 文件,跳过 PDF 编译--visualizations: 包含 TikZ/PGFPlots 图表(时间线、图表、风险矩阵)--report-type: 文档结构预设
roadmap: 基于阶段的路标图,包含时间线可视化lifecycle: 项目生命周期,包含发布图表和速度图general: 标准专业文档(默认)执行此 Markdown 到 LaTeX 转换工作流:
读取源 Markdown 文件并提取:
# 级别映射到 LaTeX 的章节/小节)在源文件旁边创建一个 .tex 文件。使用来自 REFERENCE.md 的文档导言、颜色定义、自定义环境和转换规则。
应用 Markdown 到 LaTeX 的转换规则:
| Markdown | LaTeX |
|---|---|
# Title | \chapter{Title} |
## Section | \section{Section} |
### Subsection | \subsection{Subsection} |
**bold** | \textbf{bold} |
*italic* | \textit{italic} |
code | \texttt{code} |
- item | \begin{itemize}\item ...\end{itemize} |
1. item | \begin{enumerate}\item ...\end{enumerate} |
> quote | \begin{tcolorbox}...\end{tcolorbox} |
[text](url) | \href{url}{text} |
| Tables | 带有 \toprule, \midrule, \bottomrule 的 booktabs 表格 |
| Code blocks | \begin{lstlisting}...\end{lstlisting} |
- [ ] / - [x] | $\square$ / $\boxtimes$ (需要 amssymb) |
根据文档内容选择合适的 TikZ/PGFPlots 可视化。使用来自 REFERENCE.md 的可视化模板:
如果 LaTeX 工具链不可用,则安装:
apt-get update && apt-get install -y texlive-latex-extra texlive-fonts-recommended
texlive-fonts-extra texlive-science latexmk
为交叉引用进行两次编译:
pdflatex -interaction=nonstopmode DOCUMENT.tex pdflatex -interaction=nonstopmode DOCUMENT.tex
如果编译失败,请查看 REFERENCE.md 以获取常见的编译修复方法。
如果尚未添加,请将 LaTeX 构建产物添加到 .gitignore:*.aux, *.log, *.out, *.toc, *.lof, *.lot, *.fls, *.fdb_latexmk, *.synctex.gz, *.bbl, *.blg, *.nav, *.snm, *.vrb。
.gitignore 条目| 上下文 | 命令 |
|---|---|
| 检查 LaTeX 是否安装 | which pdflatex 2>/dev/null |
| 快速编译 | pdflatex -interaction=nonstopmode -halt-on-error FILE.tex |
| 完整编译(带目录) | pdflatex -interaction=nonstopmode FILE.tex && pdflatex -interaction=nonstopmode FILE.tex |
| 检查 PDF 页数 | pdfinfo FILE.pdf 2>/dev/null |
| 检查 PDF 文件大小 | stat -f %z FILE.pdf 2>/dev/null |
| 安装工具链 | apt-get install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra texlive-science |
| 仅显示错误 | pdflatex -interaction=nonstopmode FILE.tex 2>&1 |
有关详细的 LaTeX 模式、TikZ 模板和包参考,请参阅 REFERENCE.md。
每周安装次数
57
仓库
GitHub 星标数
19
首次出现
2026年2月9日
安全审计
安装于
opencode57
gemini-cli57
github-copilot57
amp57
cline57
codex57
Contains Shell Commands
This skill contains shell command directives (!command``) that may execute system commands. Review carefully before installing.
Convert Markdown documents to professional LaTeX with advanced typesetting, TikZ/PGFPlots visualizations, and PDF compilation.
| Use this skill when... | Use another skill when... |
|---|---|
| Converting Markdown to presentation-quality PDF | Writing Markdown documentation (/docs:generate) |
| Creating reports with diagrams and visualizations | Simple text formatting |
| Generating print-ready strategic documents | Creating HTML documentation |
| Building lifecycle reports with charts and timelines | Syncing existing docs (/docs:sync) |
which pdflatexpwdfind . -maxdepth 2 -name '*.md' -not -name 'CHANGELOG.md' -not -name 'README.md'<file>: Path to the Markdown source file (required)--no-compile: Generate .tex file only, skip PDF compilation--visualizations: Include TikZ/PGFPlots diagrams (timelines, charts, risk matrices)--report-type: Document structure preset
roadmap: Phase-based roadmap with timeline visualizationlifecycle: Project lifecycle with release charts and velocity graphsgeneral: Standard professional document (default)Execute this Markdown-to-LaTeX conversion workflow:
Read the source Markdown file and extract:
# levels to LaTeX chapters/sections)Create a .tex file adjacent to the source. Use the document preamble, color definitions, custom environments, and conversion rules from REFERENCE.md.
Apply the Markdown-to-LaTeX conversion rules:
| Markdown | LaTeX |
|---|---|
# Title | \chapter{Title} |
## Section | \section{Section} |
### Subsection | \subsection{Subsection} |
**bold** | \textbf{bold} |
Choose appropriate TikZ/PGFPlots visualizations based on document content. Use the visualization templates from REFERENCE.md:
Install LaTeX toolchain if not available:
apt-get update && apt-get install -y texlive-latex-extra texlive-fonts-recommended
texlive-fonts-extra texlive-science latexmk
Compile with two passes for cross-references:
pdflatex -interaction=nonstopmode DOCUMENT.tex pdflatex -interaction=nonstopmode DOCUMENT.tex
If compilation fails, check REFERENCE.md for common compilation fixes.
Add LaTeX build artifacts to .gitignore if not already present: *.aux, *.log, *.out, *.toc, *.lof, *.lot, *.fls, *.fdb_latexmk, *.synctex.gz, *.bbl, *.blg, , , .
.gitignore additions if not already present| Context | Command |
|---|---|
| Check LaTeX installed | which pdflatex 2>/dev/null |
| Quick compile | pdflatex -interaction=nonstopmode -halt-on-error FILE.tex |
| Full compile (with TOC) | pdflatex -interaction=nonstopmode FILE.tex && pdflatex -interaction=nonstopmode FILE.tex |
| Check PDF page count | pdfinfo FILE.pdf 2>/dev/null |
| Check PDF file size | stat -f %z FILE.pdf 2>/dev/null |
| Install toolchain |
For detailed LaTeX patterns, TikZ templates, and package reference, see REFERENCE.md.
Weekly Installs
57
Repository
GitHub Stars
19
First Seen
Feb 9, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
opencode57
gemini-cli57
github-copilot57
amp57
cline57
codex57
更新日志页面生成器 - 创建专业Changelog页面,提升产品信任与用户参与
367 周安装
*italic* | \textit{italic} |
code | \texttt{code} |
- item | \begin{itemize}\item ...\end{itemize} |
1. item | \begin{enumerate}\item ...\end{enumerate} |
> quote | \begin{tcolorbox}...\end{tcolorbox} |
[text](url) | \href{url}{text} |
| Tables | booktabs tables with \toprule, \midrule, \bottomrule |
| Code blocks | \begin{lstlisting}...\end{lstlisting} |
- [ ] / - [x] | $\square$ / $\boxtimes$ (requires amssymb) |
*.nav*.snm*.vrbapt-get install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra texlive-science| Errors only | pdflatex -interaction=nonstopmode FILE.tex 2>&1 |