
Arxiv Paper Translator
Turn an arXiv LaTeX source into a Chinese-friendly technical report PDF with a repeatable XeLaTeX and Make workflow.
Install
npx skills add https://github.com/yrom/arxiv-paper-translator --skill arxiv-paper-translatorWhat is this skill?
- Makefile targets: pdf (full bib cycle), draft, clean, distclean, and help
- XeLaTeX pipeline with BibTeX for bibliography-ready PDFs
- Docker one-liner using ghcr.1ms.run/xu-cheng/texlive-debian:20260101 for reproducible builds
- Technical report template blocks for arXiv ID, original title, and translation date
- Chinese-capable compilation path via XeLaTeX instead of pdfLaTeX-only setups
Adoption & trust: 1 installs on skills.sh; 27 GitHub stars; 1/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Solo builders usually hit this skill while reading arXiv papers to decide what to build or cite, before they formalize docs in the repo. Research is the canonical shelf because the workflow starts from arXiv ID, original title, and translation metadata—not from shipping or growth tasks.
Common Questions / FAQ
Is Arxiv Paper Translator safe to install?
skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Arxiv Paper Translator
# Makefile for XeLaTeX compilation with Chinese support # Usage: # make pdf - Compile PDF with bibliography # make clean - Remove auxiliary files # make distclean - Remove all generated files including PDF # Main tex file (change if your main file has a different name) MAIN = main # Compiler LATEX = xelatex BIBTEX = bibtex # Default target .DEFAULT_GOAL := pdf # Compile PDF with bibliography pdf: $(MAIN).tex $(LATEX) $(MAIN).tex $(BIBTEX) $(MAIN) $(LATEX) $(MAIN).tex $(LATEX) $(MAIN).tex # Quick compile without bibliography (faster for drafts) draft: $(MAIN).tex $(LATEX) $(MAIN).tex # Clean auxiliary files clean: rm -f *.aux *.log *.out *.bbl *.blg *.toc *.lof *.lot *.fls *.fdb_latexmk rm -f *.synctex.gz *.brf *.nav *.snm *.vrb # Remove all generated files including PDF distclean: clean rm -f $(MAIN).pdf # Help message help: @echo "Available targets:" @echo " make pdf - Compile PDF with bibliography (default)" @echo " make draft - Quick compile without bibliography" @echo " make clean - Remove auxiliary files" @echo " make distclean - Remove all generated files including PDF" @echo " make help - Show this help message" @echo "" @echo "Docker usage:" @echo " docker run --rm -v \$$(pwd):/workspace -w /workspace \\" @echo " ghcr.1ms.run/xu-cheng/texlive-debian:20260101 make pdf" .PHONY: pdf draft clean distclean help # 论文技术报告:{PAPER_TITLE} > **arXiv ID**: {ARXIV_ID} > **原文标题**: {ORIGINAL_TITLE} > **翻译日期**: {TRANSLATION_DATE} --- ## 📋 论文概览 ### 基本信息 - **作者**: {AUTHORS} - **机构**: {AFFILIATIONS} - **发表时间**: {PUBLICATION_DATE} - **领域**: {RESEARCH_FIELD} ### 核心贡献 {MAIN_CONTRIBUTIONS} --- ## 🎯 研究背景与动机 ### 问题定义 {PROBLEM_DEFINITION} ### 现有方法的局限性 {EXISTING_LIMITATIONS} ### 本文的创新点 {INNOVATIONS} --- ## 🔬 方法论 ### 整体架构 {OVERALL_ARCHITECTURE} ### 关键技术 {KEY_TECHNIQUES} ### 算法流程 {ALGORITHM_WORKFLOW} --- ## 📊 实验与结果 ### 实验设置 - **数据集**: {DATASETS} - **评估指标**: {METRICS} - **对比方法**: {BASELINES} ### 主要结果 {MAIN_RESULTS} ### 消融实验 {ABLATION_STUDIES} --- ## 💡 关键见解 ### 理论分析 {THEORETICAL_ANALYSIS} ### 实践启示 {PRACTICAL_IMPLICATIONS} --- ## 🔍 局限性与未来工作 ### 当前局限 {LIMITATIONS} ### 未来方向 {FUTURE_WORK} --- ## 📚 相关工作对比 | 方法 | 核心思想 | 优势 | 劣势 | |------|---------|------|------| | {METHOD_1} | {IDEA_1} | {PROS_1} | {CONS_1} | | {METHOD_2} | {IDEA_2} | {PROS_2} | {CONS_2} | | **本文方法** | {OUR_IDEA} | {OUR_PROS} | {OUR_CONS} | --- ## 🎓 个人评价 ### 优点 {STRENGTHS} ### 可改进之处 {WEAKNESSES} ### 推荐阅读对象 {TARGET_AUDIENCE} --- ## 📎 附录 ### 重要公式 {KEY_EQUATIONS} ### 术语表 {TERMINOLOGY} ### 参考资源 - **论文原文**: [arXiv链接]({ARXIV_URL}) - **代码实现**: {CODE_URL} - **项目主页**: {PROJECT_PAGE} --- **报告生成说明**: 本报告基于对LaTeX源码的深度理解和翻译后的PDF文件整理而成,旨在提供论文的结构化总结和技术洞察。 # Chinese Support Configuration Add the following to the main .tex file preamble (before `\begin{document}`). ## Font Support Using `xeCJK` package to support CJK characters. Choose one of the font schemes below. **Option 1.** When using Docker to compile, ask user to select the font scheme: **方案 A: Fandol(默认,学术正式风格)** ```latex \usepackage{xeCJK} \setCJKmainfont{FandolSong}[ItalicFont=FandolKai] % 宋体 - 正文,\emph 用楷体 \setCJKsansfont{FandolHei} % 黑体 - 标题、\textsf \setCJKmonofont{FandolFang} % 仿宋 - 代码、\texttt ``` **方案 B: 霞鹜文楷(开源,易读美观)** ```latex \usepackage{xeCJK} \setCJKmainfont{LXGW WenKai Lite}[ItalicFont=FandolKai] % 霞鹜文楷 - 正文,\emph 用楷体 \setCJKsansfont{LXGW Marker Gothic} % 霞鹜漫黑 - 标题、\textsf \setCJKmonofont{FandolFang} % 仿宋 - 代码、\texttt ``` 以上字体均在推荐的 Docker 镜像(`xu-cheng/texlive-debian`)中预装。 **Option 2.** When compiling locally, query local font list and ask user to select the font: 本地编译时可通过以下命令查看可用中文字体: ```bash fc-list :lang=zh family ``` 特别注意,中文字体没有斜体,一般用**楷体**代替。 e.g.: ```latex \usepackage{xeCJK} \setCJKmainfont{Songti SC}[ItalicFont=Kaiti SC] \setCJKsansfont{Heiti SC} \setCJKmonofont{PingFang SC} ``` ## Localize Float Labels ```latex \renewcommand{\figurename}{图} \renewcommand{\tablen