
Arxiv Paper Translator
- 387 installs
- 40 repo stars
- Updated February 28, 2026
- yrom/arxiv-paper-translator
Turn an arXiv LaTeX source into a Chinese-friendly technical report PDF with a repeatable XeLaTeX and Make workflow.
About
arxiv-paper-translator is an agent skill package for solo and indie builders who need arXiv papers rendered as readable Chinese technical reports, not just raw PDF downloads. It wires a Make-driven XeLaTeX workflow with bibliography passes, quick draft compiles, and cleanup targets so you can iterate on translated TeX without guessing compiler flags. The included report scaffold captures arXiv metadata and translation provenance for notes you can share with collaborators or paste into product research docs. Docker instructions mirror the same make pdf entrypoint so agents and CI-like shells get consistent TeX Live without a local install. Use it when an idea-phase literature review produces LaTeX you must compile, localize, or archive as a polished PDF alongside your build notes.
- 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
Arxiv Paper Translator by the numbers
- 387 all-time installs (skills.sh)
- Ranked #415 of 1,879 Documentation skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 1, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yrom/arxiv-paper-translator --skill arxiv-paper-translatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 387 |
|---|---|
| repo stars | ★ 40 |
| Security audit | 1 / 3 scanners passed |
| Last updated | February 28, 2026 |
| Repository | yrom/arxiv-paper-translator ↗ |
What it does
Turn an arXiv LaTeX source into a Chinese-friendly technical report PDF with a repeatable XeLaTeX and Make workflow.
Files
arXiv Paper Translator
Translate academic papers from arXiv by downloading LaTeX source, translating content while preserving structure, and generating translated PDFs with technical reports.
Workflow Overview
1. Download & Extract - Get LaTeX source from arXiv 2. Translate - Translate English narrative content to Chinese following LaTeX-specific rules 3. REVIEW PHASE - MUST COMPLETE before compiling 4. CJK Support & Localize Labels - Add xeCJK, localize labels 5. Compile .tex Files - Generate translated PDF using XeLaTeX 6. Report - Create technical summary document
Prerequisites
Check local xelatex installation:
xelatex --versionIf not installed, make sure Docker is installed and available.
docker --versionThis skill requires XeLaTeX to compile translated PDFs. If not installed locally, Docker will be used instead.
Recommend using xu-cheng/latex-docker Docker images.
e.g. Tex Live full distribution (only linux/amd64):
# NOTICE: ghcr.1ms.run is a mirror of ghcr.io.
docker pull ghcr.1ms.run/xu-cheng/texlive-debian:20260101 --platform linux/amd64
# => docker pull ghcr.io/xu-cheng/latex-debian:20260101 --platform linux/amd64If both local XeLaTeX and Docker are not installed, then STOP trying to run this skill. And Ask user question: "XeLaTeX or Docker is required to compile translated PDFs. Which one do you want to use? I'll help you to setup."
Step 1: Download LaTeX Source
Extract ARXIV_ID from user input.
Download and extract source code from arXiv:
# Download LaTeX source (replace ARXIV_ID with user-specified paper ID)
ARXIV_ID="2206.04655"
mkdir -p arXiv_${ARXIV_ID}
wget -q https://arxiv.org/e-print/${ARXIV_ID} -O arXiv_${ARXIV_ID}/paper_source.tar.gz
mkdir -p arXiv_${ARXIV_ID}/paper_source
tar -xzf arXiv_${ARXIV_ID}/paper_source.tar.gz -C arXiv_${ARXIV_ID}/paper_sourceVerify extraction:
# List files to understand structure
tree arXiv_${ARXIV_ID}/paper_sourceStep 2: Translate LaTeX Files
IMPORTANT: Before translating, read references/translation_guidelines.md for detailed rules.
Translation Workflow
Step 2.1. Copy all files from paper_source/ to paper_cn/:
Option 1 - Using cp (standard):
cd arXiv_${ARXIV_ID}
mkdir -p paper_cn
cp -r paper_source/* paper_cn/Option 2 - Using rsync (better for incremental sync):
cd arXiv_${ARXIV_ID}
mkdir -p paper_cn
rsync -av paper_source/ paper_cn/All .tex files in paper_cn/ will be translated in-place later.
Step 2.2. Gather Context (MANDATORY):
Before ANY translation, you MUST extract: 1. Paper Title: From \title{...} in main file 2. Abstract: From \begin{abstract}...\end{abstract} or \abstract{...} in main file 3. Paper Structure: List all sections and which .tex file contains each 4. Key Terminologies: Build terminology table from paper content
For some glossaries or terminologies you don't know how to translate, you can ASK user question for definition.
This information is REQUIRED for translation tasks.
Read references/translation_prompt.md for the prompt template.
Step 2.3. Dispatch Translation Tasks
Identify files to translate:
- Find main file (contains \documentclass{...}, usually main.tex, paper.tex, template.tex, etc.)
- Filter .tex files that need translation (skip macro-only files if any, or user specified files)
- Create list of files to translate
Translation Strategy:
1. Translate main file first (sequential)
- Builds shared terminology context
- Ensures consistency for other files
2. Translate other files:
- If 3+ files: Dispatch in parallel
- If 1-2 files: Sequential translation
Each translation Task:
- Task type: general-purpose subagent
- Input: File path in
paper_cn/directory - Action: Read file → Translate → Edit file (Update file content with translated text)
- Must follow references/translation_prompt.md
- Must use gathered context (title, abstract, structure, terminologies)
Example command to find main .tex file:
find paper_cn/ -name "*.tex" -exec grep -l '\\documentclass' {} \; | head -1Step 3: Review Translation
After all translation Tasks are completed, you MUST review the translated content following references/review_checklist.md to verify:
1. File Completeness Check 2. LaTeX Command Spelling 3. CJK Catcode Issues 4. Translation Quality Check 5. Content Spot-Check
Perform fixes as needed based on review findings.
CRITICAL: Before proceeding to Step 4, you must confirm:
- [ ] All review checks completed
- [ ] Any issues identified and fixed
- [ ] Translation quality verified
Step 4: Add Chinese Support
IMPORTANT: Follow references/chinese_support.md to configure CJK fonts and localize labels.
Modify main .tex file to include xeCJK package and set CJK fonts.
e.g. for Fandol font (which is included in TexLive Docker image):
\usepackage{xeCJK}
\setCJKmainfont{FandolSong}[ItalicFont=FandolKai] % 宋体 - 正文,\emph 用楷体
\setCJKsansfont{FandolHei} % 黑体 - 标题、\textsf
\setCJKmonofont{FandolFang} % 仿宋 - 代码、\textttIf running locally, Ask user for font preference before configuring. Check available fonts with fc-list :lang=zh family.
Step 5: Compile Translated PDF
Option 1: Local XeLaTeX
# Basic compilation
xelatex main.tex
# If paper has bibliography (recommended approach)
xelatex main.tex
bibtex main
xelatex main.tex
xelatex main.texOr use latexmk for automated compilation:
latexmk -xelatex main.texOption 2: Docker with TeX Live
# change working directory to arXiv_${ARXIV_ID}
cd /path/to/arXiv_${ARXIV_ID}
docker run --rm \
-v "$(pwd)/paper_cn":/workspace \
-w /workspace \
ghcr.1ms.run/xu-cheng/texlive-debian:20260101 \
latexmk -xelatex main.texStep 6: Generate Technical Report
If user requests a technical summary, spawn a subagent following references/summary_prompt.md to create a technical summary using assets/report_template.md.
Save report: arXiv_${ARXIV_ID}/technical_report.md
Final Deliverables
1. Translated PDF: paper_cn/<main-file>.pdf 2. Technical report: arXiv_${ARXIV_ID}/technical_report.md 3. TeX Source: paper_cn/ directory with all translated LaTeX files
Common Issues & Solutions
| Issue | Solution |
|---|---|
| Downloaded file is single .tex, not .tar.gz | mv paper_source.tar.gz paper_source.tex and create directory |
| Main file not named main.tex | find . -name "*.tex" -exec grep -l "\\documentclass" {} \; |
| Compilation fails with encoding error | file *.tex to check, iconv -f ISO-8859-1 -t UTF-8 to convert |
Command misspelling (e.g. \footnotext) | See review checklist step 2 — diff command sets to find typos |
| Undefined control sequence - \xmax概率 | xeCJK catcode issue — insert {} to separate custom macro from CJK text → \xmax{}概率 |
| Undefined control sequence - \chinese{弋} | Original uses CJK package's \chinese macro; add \newcommand{\chinese}[1]{#1} after xeCJK config to prevent catcode issue |
| Custom .sty/.cls files | Copy to paper_cn/, check for hard-coded English text |
Missing $ inserted in translated tables | Mixed CJK/Latin characters may cause xeCJK font switching errors (e.g. (xyz) be treated as math mode), restore original content in table cells |
Undefined references (e.g., \ref{fig:joint-train}) | Ensure ALL referenced files are present in paper_cn/, even if NOT translated files. |
References
- Translation rules: references/translation_guidelines.md
- Translation prompt: references/translation_prompt.md
- Review checklist: references/review_checklist.md
- Chinese support: references/chinese_support.md
- Report template: assets/report_template.md
- Makefile template (optional): assets/Makefile.template
# 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链接
- 代码实现: {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(默认,学术正式风格)
\usepackage{xeCJK}
\setCJKmainfont{FandolSong}[ItalicFont=FandolKai] % 宋体 - 正文,\emph 用楷体
\setCJKsansfont{FandolHei} % 黑体 - 标题、\textsf
\setCJKmonofont{FandolFang} % 仿宋 - 代码、\texttt方案 B: 霞鹜文楷(开源,易读美观)
\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:
本地编译时可通过以下命令查看可用中文字体:
fc-list :lang=zh family特别注意,中文字体没有斜体,一般用楷体代替。
e.g.:
\usepackage{xeCJK}
\setCJKmainfont{Songti SC}[ItalicFont=Kaiti SC]
\setCJKsansfont{Heiti SC}
\setCJKmonofont{PingFang SC}Localize Float Labels
\renewcommand{\figurename}{图}
\renewcommand{\tablename}{表}
\renewcommand{\abstractname}{摘要}
\renewcommand{\refname}{参考文献}
\renewcommand{\contentsname}{目录}Localize cleveref Names
If paper uses cleveref package:
\crefname{figure}{图}{图}
\Crefname{figure}{图}{图}
\crefname{table}{表}{表}
\Crefname{table}{表}{表}
\crefname{section}{章节}{章节}
\Crefname{section}{章节}{章节}
\crefname{algorithm}{算法}{算法}
\Crefname{algorithm}{算法}{算法}
\crefname{appendix}{附录}{附录}
\Crefname{appendix}{附录}{附录}Localize Theorem-like Environments
Find \newtheorem definitions (usually in preamble or .sty file) and replace display names:
Theorem → 定理
Proposition → 命题
Definition → 定义
Lemma → 引理
Corollary → 推论
Proof → 证明Remove Incompatible Packages
删除 \usepackage[T1]{fontenc}(如存在)。T1 是 pdfLaTeX 的 8-bit 字体编码,XeLaTeX 原生使用 Unicode,两者冲突会导致字体查找异常。
Page Layout Fix
\raggedbottomPrevents vertical stretching on pages with mixed CJK/math content.
Custom Command for CJK Text
如果原文定义了自定义命令包裹 CJK 文本,修改为直接输出参数内容。避免与xeCJK冲突。
% custom command for CJK text
\chinese{一}% before
\newcommand{\chinese}[1]{\begin{CJK*}{UTF8}{gbsn}{#1}\end{CJK*}}
% after
\newcommand{\chinese}[1]{#1}引号改写
将原文中的引号 "" 替换为 `` 和 ''。或者直接用中文引号“”
e.g:
% before 原文,用英文引号""包裹
Traditional approaches typically follow a "train-then-compress" pipeline
% after 翻译,用``和''包裹
传统方法通常采用``先训练后压缩''的流程
% after 翻译 2,用中文引号“”包裹
传统方法通常采用“先训练后压缩”的流程Translation Review Checklist
1. File Completeness
- Verify all .tex files are translated or copied (skip files that are not translated)
diff <(cd paper_source && find . -name "*.tex" -type f | sort) \
<(cd paper_cn && find . -name "*.tex" -type f | sort)- Verify all non-text files copied correctly
diff <(cd paper_source && find . -type f -not -name "*.tex" | sort) \
<(cd paper_cn && find . -type f -not -name "*.tex" | sort)2. LaTeX Command Spelling
Detect misspelled commands introduced during translation (e.g. \footnotetext → \footnotext):
diff <(cd paper_source && grep -ohrIE '\\[a-zA-Z]+' | sort -u) \
<(cd paper_cn && grep -ohrIE '\\[a-zA-Z]+' | sort -u) \
| grep '^>'Right-side-only commands are suspicious. Verify each one — if not intentionally added (e.g. \figurename, \setCJKmainfont), it's likely a typo.
3. CJK Catcode Issue
Find custom macros directly followed by CJK characters (missing {}):
grep -rnE '\\[a-zA-Z]+[一-龥]' paper_cn/ --include='*.tex'Each match needs {} inserted between macro and CJK text. Background: xeCJK sets CJK characters to catcode 11 (letter), so \xmax概率 is parsed as one undefined command \xmax概率 instead of \xmax + 概率.
4. Terminology Consistency Check
For each .tex file, verify:
- [ ] Key terms translated consistently across all files
- [ ] First mention of key terms includes both English and Chinese
- [ ] Technical terms follow established terminology table
- [ ] Proper nouns (Agent Swarm, PARL, MoonViT-3D) handled correctly
- [ ] Acronyms first appear with full name + acronym (e.g., "强化学习 (Reinforcement Learning, RL)")
5. Translation Quality Check
For each .tex file, verify:
- [ ] Chinese expression is natural and fluent (avoiding direct translation artifacts)
- [ ] Academic language style is maintained throughout
- [ ] Sentence structures follow Chinese expression patterns
- [ ] Key verbs translated appropriately
- [ ] No colloquial expressions or overly casual language
- [ ] Technical descriptions are precise and professional
6. Content Spot-Check
For each .tex file, compare with source to verify:
- [ ] Paper title (
\title{...}/\icmltitle{...}) translated - [ ]
\thanks{...},\footnote{...},\footnotetext{...}content translated - [ ] All section/subsection titles translated
- [ ] Figure and table captions translated
- [ ] LaTeX commands and math formulas unchanged
- [ ] File paths (
\input,\includegraphics) unchanged - [ ] Labels and references (
\label,\ref,\cite) unchanged
7. Template Hard-coded Labels
Check .sty/.cls files in paper_cn/ for visible English strings that should be localized:
grep -rnE '(Equal contribution|Correspondence to|Under review|Preprint|Proceedings of)' paper_cn/ --include='*.sty' --include='*.cls' --include='*.tex'- [ ] Conference/journal template labels translated or overridden (e.g.
Equal contribution→同等贡献) - [ ] Author affiliation/institution names handled (keep original or add Chinese translation)
Summary Prompt
Use this prompt when generating a technical report for the translated paper.
Prompt Template
You are an expert research analyst who specializes in explaining frontier research across various fields. Given an academic paper, efficiently read it and extract the core content.
Your task is to create a comprehensive technical report that:
1. **Overview**: Provide a brief summary of the paper's background, research objectives, and problems addressed
2. **Methodology**: Detail the research methods, key data, and experimental setup
3. **Key Findings**: Summarize the main discoveries and conclusions
4. **Novel Concepts**: Explain any new concepts in accessible terms, helping readers understand the paper's logic and innovations
5. **Critical Evaluation**: Provide an objective assessment of the paper's strengths and weaknesses
6. **Future Directions**: Identify potential follow-up research opportunities
7. **Figures**: Include key figures from the paper to illustrate important concepts, architectures, or results. If figures are in PDF format, convert them to PNG using the `convert-pdf-to-png` skill. Then reference the PNG images in the report using markdown image syntax.
The report should be well-structured, logically coherent, and written in User's preferred language.
## Technical Report Template
Read the full technical report template in assets/report_template.mdLaTeX Source Translation Guidelines
This document provides detailed guidelines for translating academic papers from English to Chinese while preserving LaTeX structure and compilability.
Core Principles
1. Preserve LaTeX structure - All commands, environments, and macros must remain valid 2. Maintain scientific accuracy - Mathematical expressions and technical terms must be precise 3. Keep compilability - The translated document must compile without errors 4. Selective translation - Only translate content meant for readers, not code/formulas 5. Follow academic translation prompt - See translation_prompt.md
What to Translate
✅ Always Translate
1. Main text content
- Paragraphs, sentences in document body
- Section, subsection, chapter titles
- Abstract and conclusion text
2. Paper title — Translate text inside \title{...} / \icmltitle{...} and similar title commands
3. Captions and labels
- Figure captions:
\caption{...} - Table captions
- Algorithm/listing titles
4. Comments for readers
- Footnotes:
\footnote{...} - Author footnotes:
\thanks{...} - Margin notes meant for reading
5. Hard-coded English labels in conference/journal .sty/.cls
- Check template files for visible English strings such as
Abstract,Equal contribution,Correspondence to:,Under review,Preprint, etc. - Override with
\renewcommandor edit the .sty/.cls strings directly
% Example: override ICML template label
\renewcommand{\icmlEqualContribution}{\textsuperscript{*}同等贡献 }- If no overridable command exists, edit the .sty/.cls copy in
paper_cn/directly
6. Bibliography context (optional)
- Paper titles in
\bibitemif desired - Keep original for traceability
Example: Main Text
% Before
\section{Introduction}
Deep learning has revolutionized computer vision.
% After
\section{引言}
深度学习已经彻底改变了计算机视觉领域。Example: Captions
% Before
\caption{Accuracy comparison on ImageNet dataset.}
% After
\caption{在ImageNet数据集上的准确率对比。}What NOT to Translate
🚯 Quick Decision Rule
If the content is machine-executable (code, formulas, command outputs), do NOT translate it. Only translate narrative content meant for human readers.
❌ Never Translate
1. Mathematical formulas and equations
% Keep unchanged
\begin{equation}
f(x) = \sum_{i=1}^{n} w_i x_i + b
\end{equation}2. LaTeX commands and environments
% Keep these commands as-is
\begin{figure}
\includegraphics{image.pdf}
\label{fig:example}
\end{figure}3. Content in lstlisting and minted blocks
% Code remains in English
\begin{lstlisting}[language=Python]
def train_model(data, epochs=100):
return model.fit(data, epochs=epochs)
\end{lstlisting} % Skip translation for lstlisting block
\begin{lstlisting}[style=snippet,caption={\textbf{System prompt: Tool use}}]
You are a helpful function-calling AI assistant. You are provided with function signatures within <functions></functions> XML tags. You may call one or more functions to assist with the user query. Output any function calls within <function_calls></function_calls> XML tags. Do not make assumptions about what values to plug into functions.
\end{lstlisting} % Skip translation for minted block
\begin{minted}[
]{markdown}
Runtime Error
ZeroDivisionError: division by zero
Line 73 in separateSquares (Solution.py)
Last Executed Input
[[26,30,2],[11,23,1]]
\end{minted}4. Raw data in tables (AI queries, code, traceback, user input examples)
- Keep cell content in English, only translate caption and descriptive headers
- Rule of thumb: "evidence/data" → don't translate; "narrative" → translate
5. Algorithm pseudocode structure
% Keep structure, translate only necessary keywords/comments
\begin{algorithm}
\caption{Training Algorithm} % ← Translate caption
\begin{algorithmic}
\STATE $x \leftarrow 0$ % ← Keep code as-is
\FOR{$i = 1$ to $n$}
\STATE $x \leftarrow x + i$
\ENDFOR
\end{algorithmic}
\end{algorithm}5. Person names and proper nouns
- Author names: keep as-is (John Smith → John Smith)
- Model names: keep original (ResNet, BERT)
- Institution names — follow these rules:
- Chinese institutions: use official Chinese name
- Well-known foreign institutions: use established Chinese translation
- Lesser-known institutions: keep original English name
- e.g. Tsinghua University → 清华大学,
6. File paths and references
% Keep unchanged
\input{sections/methodology}
\includegraphics{figures/result.pdf}
\cite{smith2020deep}7. URLs and hyperlinks
% Keep unchanged
\url{https://arxiv.org/abs/2206.04655}
\href{https://github.com/...}{code repository}8. Labels and reference keys
% Keep unchanged
\label{sec:intro}
\ref{fig:architecture}
\cite{lecun2015deep}9. Inline expressions and code
% Keep unchanged
$E = mc^2$
\texttt{code}
\verb|code|Special Cases
Tables
Translate cell content (data descriptions), keep structure:
% Before
\begin{table}
\begin{tabular}{lcc}
\hline
Method & Accuracy & Speed \\
\hline
Ours & 95.2\% & 10ms \\
\hline
\end{tabular}
\caption{Performance comparison}
\end{table}
% After
\begin{table}
\begin{tabular}{lcc}
\hline
方法 & 准确率 & 速度 \\
\hline
本文方法 & 95.2\% & 10ms \\
\hline
\end{tabular}
\caption{性能对比}
\end{table}Inline Math in Text
Keep math unchanged, translate surrounding text:
% Before
The loss function $\mathcal{L}$ measures the error.
% After
损失函数 $\mathcal{L}$ 用于衡量误差。Acronyms
First mention: provide both English and Chinese
e.g.: English "mixture-of-experts (MoE)" → Chinese "混合专家(Mixture-of-Experts,MoE)"
% Before
Convolutional Neural Networks (CNN) are widely used.
% After
卷积神经网络(Convolutional Neural Networks, CNN)被广泛应用。Subsequent mentions: use acronym
% Before
CNNs achieve high accuracy.
% After
CNN具有很高的准确率。Comments in LaTeX Source
Comments (%-prefixed lines) do not need translation — keep them as-is to save tokens.
% TODO: Add more experiments ← keep original, do not translate
\section{实验}File Organization
Multi-file Projects
1. Main file (e.g., main.tex)
- Translate preamble comments if helpful
- Translate document content
2. Section files (e.g., sections/intro.tex)
- Translate each file independently
- Keep
\input{}or\include{}commands unchanged
3. Non-text files (copy as-is)
- Images:
figures/*.pdf,figures/*.png - Bibliography:
references.bib(optional translation of titles) - Style files:
*.sty,*.cls - Build scripts:
Makefile,latexmkrc
Directory Structure
paper_source/ # Original
├── main.tex
├── sections/
│ ├── intro.tex
│ └── method.tex
├── figures/
│ └── arch.pdf
└── references.bib
paper_cn/ # Translated
├── main.tex # Translated
├── sections/
│ ├── intro.tex # Translated
│ └── method.tex # Translated
├── figures/
│ └── arch.pdf # Copied as-is
└── references.bib # Copied (or optionally translate titles)Translation Quality Checklist
For detailed automated checks (file completeness, command spelling diff, CJK catcode scan, content spot-check), see review_checklist.md.
Chinese Writing Guidelines
Follow these guidelines for better readability:
| 类别 | 规则 | 示例 |
|---|---|---|
| 去冗余词 | 避免"来"、"地"、"的"、"了"等非必要词 | 来表示 → 表示;隐式地 → 隐式 |
| 精简主语 | 削减"我们",用"本文"或无主语句 | 在本工作中,我们提出了X → 本文提出的X |
| 去空洞修饰语 | 删空洞形容词,用数据代替 | 卓越的效率 → 速度快约100倍 |
| 术语标注 | 英文标注统一 Title Case | photometric loss → Photometric Loss |
| 句式精简 | 合并碎句,拆分长定语 | 三个"首先/然后/最后"短句 → 一句带顿号 |
Handling Edge Cases
Custom Macros
If paper defines custom commands:
\newcommand{\ournethod}{ProposedNet}Translate the output, not the command:
% If used in text
We propose \ourmethod{} for classification.
% Translate to
我们提出\ourmethod{}用于分类。
% Keep macro unchanged, it will expand to "ProposedNet"Or redefine macro to Chinese:
\newcommand{\ourmethod}{提出的网络}Theorems and Proofs
Translate theorem content, keep structure:
% Before
\begin{theorem}
For any convex function $f$, the minimum exists.
\end{theorem}
% After
\begin{theorem}
对于任意凸函数 $f$,最小值存在。
\end{theorem}May need to configure theorem environment names:
\newtheorem{theorem}{定理}
\newtheorem{lemma}{引理}
\newtheorem{proof}{证明}Translation Prompt Template
Use this template when dispatching a translation Task.
Task Prompt:
你是一个专业的英中学术翻译专家。你的任务是准确地将 LaTeX 文件从英文翻译为中文。
## Context-Awareness:
Additional Context for translation:
- Paper Title: [填入]
- Abstract: [填入]
- Paper Structure: [填入论文章节概述 + 当前文件对应哪个章节]
- Key Terminologies: [填入术语表,格式 "英文 → 中文" 或 "英文 → (保留)"。严格遵循,保持跨文件一致]
## Task Description:
File: [Path to the .tex file to be translated]
Read the file, translate its content, and write the translated content back to the file.
## Translation Rules:
### 1. 术语处理
- **术语表优先**:严格遵循提供的术语表,确保全文一致
- 标记"(保留)"的术语:保持英文原文(注意首字母大写)(如 Self-teacher)
- 有中文翻译的术语:首次出现写"中文 (English)",之后只写中文
- 例:首次 "自蒸馏 (Self-distillation)",之后 "自蒸馏"
"mixture-of-experts (MoE)" → "混合专家(Mixture-of-Experts, MoE)",之后混合专家或者MoE
- **通用术语**:术语表未涵盖的常见术语,首次出现时同样附英文原文(注意首字母大写)
- **英文缩写**:保持缩写不变,英文原文首次出现时附中文解释,后续用缩写
- "Deep Memory Retrieval (DMR) benchmark" → "深度内存检索(Deep Memory Retrieval, DMR)基准测试",之后用DMR
- "Retrieval-Augmented Generation (RAG)" → "检索增强生成(Retrieval-Augmented Generation, RAG)",之后用RAG
- **首次出现 before/after 示例**:
- Before: `We use reinforcement learning with a policy gradient method.`
- After(首次): `我们使用强化学习(Reinforcement Learning)和策略梯度(Policy Gradient)方法。`
- After(再次): `强化学习在该任务上表现优异。`
### 2. LaTeX 特定规则
- **严禁修改命令拼写**:只翻译文本内容,绝不改动 `\command` 名称
- 正确:`\section{Introduction}` → `\section{引言}`
- 错误:`\secton{...}` → 保持原样(可能是自定义宏不是拼写错误)
- **自定义宏+中文**:宏后紧跟中文必须加 `{}`
- 正确:`\xmax{}概率`、 `本文介绍\ourmodel{},`
- 错误:`\xmax概率`、 `本文介绍\ourmodel,`(xeCJK 会解析失败)
- **代码块不翻译**:`lstlisting`/`minted`/`verbatim` 环境内容保持原文,仅翻译 `caption`
- **表格原始数据不翻译**:
- 不翻译:代码、AI 对话、traceback、用户输入示例(证据/数据类内容)
- 翻译:caption、描述性表头(叙述类内容)
### 3. 格式保持
- **引用格式**:保持不变,如 `(Smith et al., 2020)`
- **单位符号**:保持英文,如 `ms`、`GB`、`°C`、`Hz`
### 4. 中文学术写作
- **调整语序**,符合中文表达习惯,不要逐词翻译
- **使用书面语**,如"本文"而非"这篇文章"
- **动词翻译示例**:
- "This paper introduces/proposes X" → "本文**提出**了X"(核心创新用"提出")
- "Section 2 introduces the background" → "第2节**介绍**了背景"(概述用"介绍")
- "We introduce X, a novel approach to..." → "我们**提出**了X——一种新颖的用于...的方法"
- "achieves/obtains 95% accuracy" → "**达到**了95%的准确率"
- "demonstrates/shows that" → "**表明**了..."
- **名词翻译示例**:
- `agent`(AI相关论文语境下)→ "智能体"(不要译为"代理")
- `agentic` → "自主的"(不要译为"代理的")
- `pipeline` → "流程"、"流水线";
- `mechanism` → "机制"
- `benchmark` → "基准"、"基准测试"
### 5. 译文行文规范
翻译时直接遵循以下规则,产出接近中文母语作者写作习惯的译文,而非先直译:
#### 5.1 去冗余词(非必要时)
- **删"来"**:`来表示` → `表示`、`来渲染` → `渲染`、`来简化` → `简化`
- **删"地"**:`隐式地表示` → `隐式表示`、`天然地定义` → `天然定义`
- **删"的"**:`交点的深度` → `交点深度`、`不透明度值` → `不透明度`
- **删"了"**:`引入了基于` → `引入基于`
- **删冗余连接词**:`此外,`、`其中,`、`同时,`、`值得注意的是,` 非必要时删除
- **删冗余指代**:`它`、`该方法`、`这一` 在上下文明确时删除
- **"从而"多余时删除**:`从而显著提升了` → `显著提升了`
#### 5.2 精简主语
- **削减"我们"开头**:学术论文中"我们"不需要每句都出现
- `我们采用$0.0002$的梯度阈值` → `梯度阈值设为$0.0002$`
- `我们在DTU数据集上评估了方法` → `在DTU数据集上进行评估`
- **"本文"代替"在本工作中,我们"**
- `在本工作中,我们提出了2DGS,一种能够...` → `本文提出的2DGS能够...`
#### 5.3 去修饰语(去评价腔)
- **删空洞修饰**:`令人瞩目的进展` → `这些进展`、`卓越的渲染质量` → `高质量的渲染效果`
- **删"新颖的"**:`两种新颖的正则化损失` → `两个正则化损失项`
- **删"值得注意的是"**:直接陈述结论
- **数据代替形容**:不说"卓越的效率",说"速度快约100倍"
#### 5.4 术语英文标注统一用 Title Case
- `photometric loss` → `Photometric Loss`
- `depth distortion` → `Depth Distortion`
- `normal consistency` → `Normal Consistency`
- `differentiable rendering` → `Differentiable Rendering`
#### 5.5 句式调整
- **合并短句**:`首先...然后...最后...` 可合并为一句带顿号或分号的句子
- `首先,为每个高斯基元计算包围盒。然后,排序。最后,alpha混合。` → `为每个基元计算包围盒,按深度排序并组织到瓦片中,最后用alpha混合积分。`
- **被动改主动**:`NeRF的渲染效率得到了大幅提升` → 保留(被动在此处自然);但 `该问题已经被解决` → `该问题已解决`
- **长定语后置或拆分**:`包含特征匹配、深度预测和融合的模块化流程` → `特征匹配、深度预测和融合等模块化流程`
### 6. Self-Review(翻译完成后、写入文件前必做)
对照以下 checklist 逐项检查,发现问题立即修正,全部通过后再写入文件。
**术语一致性:**
- [ ] 术语表中每个术语的**首次出现**是否写成了"中文(English)"格式?
- [ ] 缩略语首次出现是否写成"中文(Full Name, ABBR)"格式?
- [ ] 术语用词是否与术语表一致(没有用同义词替换)?
- [ ] 术语英文标注统一 Title Case
**行文质量(第5节规则是否已在翻译中落实):**
- [ ] 中文表达自然流畅,无逐词翻译痕迹
- [ ] 使用书面语,无口语化表达
- [ ] 动词选择恰当("提出"vs"介绍"等)
- [ ] 无多余的"来"、"地"、"的"、"了"、"一种"、"一个"等虚词
- [ ] "我们"主语不过度重复,适当用"本文"、无主语句替代
- [ ] 无空洞修饰语("令人瞩目的"、"卓越的")
- [ ] 同一概念全文用词统一
- [ ] 可合并的碎句已合并,长定语已拆分
**内容完整性:**
- [ ] `.sty`/`.cls` 文件中类似 `\renewenvironment{abstract}{...}` 的章节标题已翻译(如适用)
- [ ] `\footnote{}`、`\thanks{}` 等内容已翻译
- [ ] 所有 section/subsection 标题已翻译
- [ ] 图表 caption 已翻译
- [ ] LaTeX 命令、数学公式、`\label`、`\ref`、`\cite` 未被修改
Related skills
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.