Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Convert Markdown files to PDF with full LaTeX math formula rendering and CJK (Chinese/Japanese/Korean) support. Use when the user asks to convert markdown to...
Convert Markdown files to PDF with full LaTeX math formula rendering and CJK (Chinese/Japanese/Korean) support. Use when the user asks to convert markdown to...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Convert Markdown โ PDF via Pandoc + XeLaTeX. Full LaTeX math + CJK support.
System packages (apt): pandoc texlive-xetex texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra texlive-lang-chinese
bash <skill_dir>/scripts/md2pdf.sh input.md output.pdf The script auto-detects CJK content, picks suitable fonts, sanitizes emoji, adds TOC, and configures XeLaTeX.
For fine-grained control, run pandoc directly: pandoc input.md -o output.pdf \ --pdf-engine=xelatex \ -f markdown-smart \ -H header.tex \ -V mainfont="DejaVu Sans" \ -V monofont="DejaVu Sans Mono" \ -V geometry:margin=20mm \ -V fontsize=10pt \ -V colorlinks=true \ --highlight-style=tango \ --toc -V toc-title="Table of Contents" Where header.tex contains: \usepackage{xeCJK} \setCJKmainfont{<CJK font name>}
Math: Pandoc natively converts $...$ (inline) and $$...$$ (display) to LaTeX math. No MathJax/KaTeX needed. CJK fonts: Script auto-detects from: Noto Sans CJK SC > WenQuanYi Micro Hei > Droid Sans Fallback > AR PL UMing CN. Emoji: Replaced with text equivalents (โ โ [Y], โ โ [N], โญ โ *) since most LaTeX fonts lack emoji glyphs. Smart quotes: Use -f markdown-smart to avoid curly quote rendering issues. Long tables: Pandoc may struggle with complex tables; keep tables simple or use longtable LaTeX package.
ProblemFixMissing character warningsCheck fc-list :lang=zh for available CJK fonts; install fonts-noto-cjk if neededxelatex not foundInstall texlive-xetexPDF has no math renderingEnsure markdown uses $...$ / $$...$$ (not HTML math tags)Broken table layoutSimplify table or add -V geometry:margin=15mm for more width
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.