English

LaTeXTrans: Structured LaTeX Translation with Multi-Agent Coordination

Computation and Language 2026-03-12 v3

Abstract

Despite the remarkable progress of modern machine translation (MT) systems on general-domain texts, translating structured LaTeX-formatted documents remains a significant challenge. These documents typically interleave natural language with domain-specific syntax, such as mathematical equations, tables, figures, and cross-references, all of which must be accurately preserved to maintain semantic integrity and compilability. In this paper, we introduce LaTeXTrans, a collaborative multi-agent system designed to address this challenge. LaTeXTrans ensures format preservation, structural fidelity, and terminology consistency through six specialized agents: 1) a Parser that decomposes LaTeX into translation-friendly units via placeholder substitution and syntax filtering; 2) a Translator, Validator, Summarizer, and Terminology Extractor that work collaboratively to ensure context-aware, self-correcting, and terminology-consistent translations; 3) a Generator that reconstructs the translated content into well-structured LaTeX documents. Experimental results show that LaTeXTrans outperforms mainstream MT systems in both translation accuracy and structural preservation. The source code, the online demonstration platform, and a demo video are publicly available.

Keywords

Cite

@article{arxiv.2508.18791,
  title  = {LaTeXTrans: Structured LaTeX Translation with Multi-Agent Coordination},
  author = {Ziming Zhu and Chenglong Wang and Haosong Xv and Shunjie Xing and Yifu Huo and Fengning Tian and Quan Du and Di Yang and Chunliang Zhang and Tong Xiao and Jingbo Zhu},
  journal= {arXiv preprint arXiv:2508.18791},
  year   = {2026}
}
R2 v1 2026-07-01T05:06:00.782Z