LaTeX in Scientific Publishing: Why Researchers Use It and How It Compares to JATS XML

LaTeX in Scientific Publishing: Why Researchers Use It and How It Compares to JATS XML

LaTeX to JATS XML is a common publishing pathway for scientific journals. LaTeX has supported scientific writing for decades because it produces clear layouts and handles complex equations well. Researchers in physics, mathematics, computer science, and other STEM fields often use it to prepare manuscripts.

But here is where things get complicated. When a journal needs to get its articles into indexing systems and full-text archives, LaTeX hits a wall. Converting a paper from LaTeX to a structured format that indexing platforms and archives can process is not a one-click operation. PubMed Central (PMC) recommends JATS (Journal Article Tag Suite) XML for full-text deposits. DOAJ accepts its own native XML and Crossref XML for metadata. None of these platforms accept LaTeX source files as a final deposit format.

This guide explains LaTeX in plain language, shows why researchers use it, explains where JATS XML fits into journal publishing, and outlines how journals can move from a LaTeX manuscript to structured XML.

1. LaTeX as an Authoring and Typesetting Tool

First, understanding why LaTeX dominates scientific writing starts with what it was designed to do: produce publication-quality typeset output, especially for mathematics.

1.1. Content and Presentation Separation

For example, LaTeX separates content from visual formatting. You write \section{Introduction} and LaTeX handles numbering, spacing, and font selection. You write \begin{figure} and LaTeX places it according to publisher-specified rules. This approach mirrors how CSS separates styling from HTML structure, but applies that idea to print documents.

1.2. Mathematics Typesetting

For mathematics, Donald Knuth created TeX in 1978 specifically to typeset formulas beautifully. LaTeX built on this foundation. Syntax like \frac{a}{b}, \sum_{i=1}^{n}, and \int_{0}^{\infty} lets researchers write complex equations quickly and receive sharp, professionally typeset output.

1.3. Reference Management

In addition, BibTeX and BibLaTeX let researchers maintain a separate .bib file for their references. LaTeX formats citations and bibliographies to match the target journal’s style. Switching from one journal’s style to another often means changing a configuration line, although the exact method differs between classic BibTeX and modern BibLaTeX. For papers with 50 or more references, this automation saves significant time.

1.4. Free, Open Source, and Cross-Platform

LaTeX is distributed under the LaTeX Project Public License (LPPL). Distributions like TeX Live (cross-platform) and MiKTeX (Windows) are free to download and use. No license fees, no subscriptions. This accessibility matters for researchers at institutions with limited budgets worldwide.

1.5. Massive Journal Template Ecosystem

CTAN (Comprehensive TeX Archive Network) hosts thousands of packages and official journal templates. Major publishers including Elsevier, Springer, IEEE, ACM, and Cambridge University Press provide LaTeX templates for manuscript submission. Overleaf’s template gallery lets researchers start writing immediately without installing anything locally.

2. Where LaTeX is Used in Academic Work

In practice, LaTeX serves a broad range of academic document types:

  • Papers and preprints.
    arXiv (physics, mathematics, computer science, over 3.1 million total submissions) and bioRxiv (biology) accept LaTeX submissions natively.
  • Theses and dissertations.
    Top universities including MIT, Stanford, Cambridge, and ETH Zurich provide official LaTeX templates for graduate students.
  • Scientific books and textbooks.
    Springer, Elsevier, Cambridge University Press, and Oxford University Press accept LaTeX manuscripts. Many standard STEM textbooks are written directly in LaTeX.
  • Presentation slides.
    The Beamer package lets researchers create presentation slides from the same source files as their papers, eliminating duplicated work.
  • Conference posters.
    Packages like tikzposter and baposter produce professional scientific posters from LaTeX source.
  • Academic CVs.
    LaTeX CV templates like moderncv have become a de facto standard in academia.

3. LaTeX to JATS XML: The Article Exchange Model

JATS (Journal Article Tag Suite) is ANSI/NISO Z39.96-2024, a formal standard for tagging journal articles in XML. Unlike LaTeX, which is designed for typesetting a single output (PDF), JATS is designed for data exchange: a single XML file can be transformed into HTML, PDF, ePUB, or mobile views. JATS defines three article models (Archiving, Publishing, and Authoring) with different levels of tag permissiveness.

What makes JATS different from LaTeX is its semantic richness. A LaTeX document uses \author{Name} and \affiliation{Department}. A JATS document uses structured elements like <contrib contrib-type="author">, <contrib-id contrib-id-type="orcid">, <aff>, <institution-wrap>, and <institution-id institution-id-type="ror">. Machines can read these elements, extract metadata, and route articles to the right indexing services.

In simple terms, LaTeX is the writing and typesetting tool researchers use to create a polished manuscript, especially when it contains equations. JATS XML is the structured format publishers use to share, archive, and display that article across websites, databases, and indexing services. A journal may need both: LaTeX for authoring and JATS XML for distribution.

4. LaTeX to JATS XML: What Platforms Require

Different platforms ask for different types of files. Some services need full-text JATS XML, while others only need article metadata or a link to the published full text. Understanding this difference helps journals avoid preparing the wrong format.

PubMed Central (PMC)

PMC is a full-text archive of biomedical and life sciences literature with over 10 million articles. PMC recommends JATS XML for full-text deposits and provides a StyleChecker to validate files. However, PMC’s File Submission Specifications allow other DTDs with prior approval. LaTeX source files are not accepted as a final deposit format, but PMC works with publishers and deposit pathways, not individual researchers submitting LaTeX manuscripts directly.

DOAJ

The Directory of Open Access Journals indexes metadata, not full-text articles. For article metadata uploads, DOAJ accepts DOAJ Native XML or Crossref XML. DOAJ does not require JATS XML. Full-text availability is verified through a URL, not a direct XML deposit.

Scopus and Web of Science

Scopus and Web of Science are abstracting and indexing databases. They index article metadata (title, authors, abstract, references) delivered through agreements with publishers. Neither platform requires journals to submit full-text JATS XML for every article to be indexed. Publishers work with these services through established data feeds that follow the platform’s own specifications.

Crossref

Crossref is a DOI registration agency, not a full-text index. It accepts metadata deposits using its own schema, not JATS XML.

Note: JATS XML improves interoperability across many platforms that handle full-text articles, but it is not a universal requirement. Each platform has its own specifications. Journals need to understand the specific format, profile, and validation rules for each target.

5. LaTeX to JATS XML: Where the Formats Diverge

AspectLaTeXJATS XML
Primary purposeTypesetting: producing high-quality PDF outputData exchange: machine-readable article structure
StandardDe facto community standard, LPPL licenseANSI/NISO Z39.96-2024 formal standard
OutputsPDF, DVI; HTML via convertersHTML, PDF, ePUB, mobile views via XSLT
Semantic structureLogical structure via macros and classes (section, figure); output influenced by class designExplicit semantic elements: <contrib-group>, <aff>, <fn-group>, <permissions>
Author metadataManual, unstructuredStructured: <contrib-id contrib-id-type="orcid">, affiliation with institution identifiers
Article metadataScattered across preambleCentralized in <front>/<article-meta>: DOI, history dates, volume, issue, page range, copyright, license
ReferencesSeparate .bib file, formatted at compile time<ref-list> integrated in XML, each reference with <pub-id> for DOI or PMID
MathematicsNative TeX math typesetting engine<tex-math> wrapper for LaTeX notation, <mml:math> for MathML, or images; actual rendering depends on the downstream processor
Images\includegraphics with print positioning<graphic xlink:href="..."> with mimetype and optional alt-text
LicensingManual text in the document<permissions> block with structured <license> (CC BY, etc.)
Data availabilityNo standard approach<sec sec-type="data-availability"> for structured statements
Conversion to webLaTeX2HTML, pandoc (often requires manual fixes)Native HTML/ePUB via XSLT transformation

Overall, LaTeX and JATS XML are not competing formats. They support different stages of the publishing workflow. Researchers usually write the manuscript in LaTeX, while publishers and production teams use JATS XML to structure, exchange, archive, and publish the article. The main challenge is transferring the content accurately from one format to the other.

6. LaTeX to JATS XML for Mathematical Content

Because mathematics is LaTeX’s strongest domain, understanding how formulas transfer between LaTeX and JATS XML is especially important for STEM journals.

JATS can represent mathematical formulas through several mechanisms:

  • <tex-math>: Wraps LaTeX math notation within <inline-formula> (for in-text formulas) or <disp-formula> (for display formulas). This is a notation wrapper, not a typesetting engine. Whether the LaTeX inside <tex-math> renders correctly depends on the downstream processor.
  • <mml:math>: Wraps MathML markup, the W3C standard for mathematical notation on the web. MathML is more machine-readable than TeX notation but harder to author manually.
  • Images: Formulas can be provided as images, though this is the least desirable approach for accessibility, search, and reuse.

For journals converting LaTeX papers to JATS XML, the formula pathway matters. LaTeX math notation inside <tex-math> preserves the author’s original syntax but requires a MathML-aware renderer or TeX engine downstream to produce readable output. Some platforms accept MathML instead, which some conversion tools can generate from LaTeX source.

7. Converting from LaTeX to JATS XML

In a typical workflow, researchers write the manuscript in LaTeX, the journal receives the files, and the production team converts the article into structured XML when the target platform requires it or benefits from it. The journal can then validate the XML, correct conversion issues, and publish the article in the required channel.

LaTeX to JATS XML Conversion Approaches

  • Pandoc.
    Pandoc (pandoc -f latex -t jats) is free and open source. It handles straightforward documents reasonably well. Complex LaTeX with custom commands, intricate tables, or non-standard packages often produces output that requires manual cleanup to pass JATS validation.
  • Dedicated conversion tools.
    Tools like JATS Editor provide visual editing and JATS XML export with built-in validation. They support LaTeX formula notation inside a rich text environment, allowing researchers to use familiar math syntax while producing structured XML output.
  • Manual conversion.
    For journals with in-house XML expertise, manual conversion gives the most control but requires deep knowledge of JATS tagging conventions and the target platform’s specific profile.

Limitations of Automation

No automated LaTeX-to-JATS converter handles every edge case perfectly. Custom LaTeX macros, complicated table structures, and non-standard bibliography styles can all cause conversion errors. Validation against the target platform’s requirements (such as the PMC StyleChecker) is essential regardless of the conversion method used.

8. LaTeX to JATS XML: Advantages and Limitations

What LaTeX Excels At

  • Mathematics typesetting.
    LaTeX produces clean, professional mathematical notation that has been the gold standard in STEM publishing for decades.
  • Template ecosystem.
    Thousands of journal-specific templates on CTAN and Overleaf let researchers start writing immediately.
  • Cloud collaboration.
    Overleaf provides real-time collaborative editing, track changes, and direct submission to journals and preprint servers.
  • Build reproducibility.
    When source files, the TeX distribution, and all dependencies are locked together in a controlled environment, LaTeX output can be consistently reproduced across builds.
  • Free and open.
    No license fees, no vendor lock-in. Supported by the TeX Users Group and community donations.

Where LaTeX Falls Short

  • Not a final deposit format for archives or indexes.
    PMC and similar platforms require structured XML, not LaTeX source. LaTeX is an authoring format. It needs an additional step to become a machine-readable exchange format.
  • Limited structured metadata.
    Author identifiers (ORCID), affiliation identifiers (ROR), funding statements, and license information in LaTeX documents are typically free text. They are not structured in a way that indexing systems can automatically extract and process.
  • Challenging web conversion.
    Converting LaTeX to HTML with full fidelity for complex documents remains difficult. Tools like latex2html and pandoc often require manual post-processing.
  • Steep error messages.
    LaTeX error messages like “Undefined control sequence” can be cryptic for new users, often without clear pointers to the exact location of the problem.

What JATS XML Enables

  • Platform-ready structured content.
    JATS XML can be validated against platform-specific schemas before submission, reducing rejection risk.
  • Machine-readable metadata.
    Author ORCIDs, affiliation ROR IDs, funding statements, license types, and data availability are all structured in semantically meaningful XML elements that indexing systems and aggregators can process.
  • Multi-format output.
    One JATS XML file can be transformed into HTML, PDF, ePUB, or mobile views through XSLT processing.
  • Structure that supports accessibility.
    JATS provides elements like <alt-text> for images and semantic heading levels. When combined with proper tagging practices and compatible rendering, these structures help produce accessible outputs.

Where JATS XML Requires Effort

  • Complexity.
    JATS defines a large element set. Manual authoring requires understanding XML, DTD rules, and the target platform’s profile.
  • Not a typesetting engine.
    JATS is a data format. Producing publication-quality PDF from JATS requires additional processing through XSL-FO or other rendering pipelines.
  • Tool dependency.
    Creating valid JATS XML without a specialized editor is technically demanding and time-consuming for teams without XML expertise.

Conclusion

In short, LaTeX and JATS XML solve different parts of the same publishing workflow. Researchers use LaTeX to write formula-rich manuscripts, while publishers use JATS XML to structure, exchange, and preserve article content.

However, moving between these formats still requires care. Custom commands, references, tables, figures, and equations can lose their structure during conversion, so journal teams often need to review and correct the resulting files.

JATS Editor is being developed to make this workflow easier. Upcoming LaTeX support is planned to include both import and export capabilities, creating a more direct bridge between LaTeX manuscripts and structured JATS XML. With LaTeX import, users will be able to bring .tex manuscripts into JATS Editor for structured editing and conversion. The goal is to preserve core content, metadata, references, and mathematical expressions wherever possible. With LaTeX export, users will be able to generate .tex output from structured article content. This will support workflows that still require LaTeX for collaboration, journal templates, typesetting, or downstream production.

In the meantime, JATS Editor provides a visual environment for creating and editing structured JATS XML. Try the JATS Editor and follow product updates for the upcoming LaTeX import and export workflow.

Scroll to Top