Agent skill

latex-translation-guide

Translate LaTeX documents preserving math formulas and structure

brycew6m4,252★ · +31/wk · 3 repos on radarProfile →
claude-codeNOASSERTION
Install
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-translation-guide --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/43-wentorai-research-plugins/skills/tools/ocr-translate/latex-translation-guide/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,244
Language: Stata
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LaTeX Document Translation Guide ## Overview Translating LaTeX academic documents requires preserving mathematical formulas, cross-references, citations, and formatting while converting the text between languages. This guide covers tools and techniques for translating LaTeX papers — from command-line utilities to full document pipelines. Particularly useful for making research accessible across language barriers. ## LaTeXTrans Approach ```bash # Install LaTeXTrans pip install latextrans # Translate a LaTeX file latextrans translate paper.tex --from en --to zh --output paper_zh.tex ``` ### How It Works 1. **Parse**: Extract text segments while preserving LaTeX commands 2. **Protect**: Shield math environments (`$...$`, `\[...\]`, equations) 3. **Translate**: Send text segments to translation API 4. **Reconstruct**: Reassemble with original LaTeX structure ### Python Usage ```python from latextrans import LatexTranslator translator = LatexTranslator( source_lang="en", target_lang="zh", engine="google", # or "deepl", "openai" ) # Translate a file translator.translate_file("paper.tex", "paper_zh.tex") # Translate a string result = translator.translate( r"The loss function $\mathcal{L

What's inside
Steps it walks through
  1. Overview
  2. LaTeXTrans Approach
  3. How It Works
  4. Python Usage
  5. MathTranslate Tool
  6. MathTranslate Features
  7. Manual Translation Tips
  8. Protecting Math Environments
  9. Commands to Protect
  10. Bilingual Output
  11. Translation Backends
  12. References
Commands it runs
Install LaTeXTrans
pip install latextrans
Translate a LaTeX file
latextrans translate paper.tex --from en --to zh --output paper_zh.tex
Install MathTranslate (specialized for math-heavy papers)
pip install mathtranslate
Translate arXiv paper directly
translate_arxiv 2301.00001 -o translated.tex
Translate local file
translate_tex paper.tex -o paper_translated.tex
More from Auto-Empirical-Research-Skills
All skills →
About this skill
What does the latex-translation-guide skill do?

Translate LaTeX documents preserving math formulas and structure

How do I install it?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-translation-guide --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going