substitutefor

software · Q323

PreTeXt

Semantic authoring and multi-format publishing system for scholarly and educational documents.

Suggest a correction

Overview

PreTeXt is an authoring and publishing system for textbooks, course materials and scholarly documents, especially in STEM subjects. Authors describe semantic structure in a source vocabulary that can produce multiple reading formats. Its accessibility-oriented tools depend on both the conversion pipeline and the quality of the material supplied by the author.[1][3][5]

Semantic source and styling

PreTeXt's XML vocabulary describes the organization and meaning of a publication, with a schema defining valid elements and relationships. Output styling is selected separately rather than embedded as repeated visual adjustments. This supports maintaining one source for readers using different delivery formats, though each output still requires an appropriate conversion path and inspection.[2][3]

Educational output and interaction

The system targets material such as textbooks and research articles, with examples showing print, web and electronic-book output. Interactive demonstrations can depend on additional services: the sample book uses Runestone JavaScript and distinguishes a specially hosted version. Likewise, a slideshow example embeds many resources in its HTML file but leaves images alongside it. A generated page is therefore not automatically a wholly self-contained offline publication.[1][6]

Accessibility responsibilities

The guide describes semantic HTML, navigation features and mathematical rendering through MathJax. Authors still need to supply image descriptions that reflect context and intent, rather than expecting the converter to infer them. Accessibility is consequently a supported authoring workflow, not an unconditional guarantee that any imported content or every delivered file meets a standard.[5]

PDF routes and maturity

Traditional examples generate PDF through LaTeX. The project also demonstrates a newer XSL Formatting Objects route rendered by Apache FOP, using MathJax SVG for mathematics. Its example page explicitly calls this path experimental and incomplete. The page's conformance claim about its generated examples should not be generalized into independent certification of all PreTeXt PDFs.[6]

Toolchain and licensing

The getting-started guide separates the local CLI and supporting tools from browser-based options such as PreTeXt.Plus or a development environment. These options have distinct operating requirements. The core COPYING file grants GPL version 2 or version 3, at the user's choice. The project states that using the software does not impose licensing constraints on the documents authored with it.[2][4][7]

Substitution considerations

PreTeXt can substitute for direct LaTeX authoring when a structured textbook or course resource needs several reading formats. This changes the source model and may retain LaTeX as a downstream typesetter. Existing custom macros, layouts and interactive material need migration review. No content was converted, hosted or accessibility-tested during this research.[1][2][6][8]

Capabilities & limitations

Single-source publishing

supported

Structured source can generate HTML, PDF and other supported outputs.[1][2]

Publishing structured textbooks and course materials in multiple formats · Local command-line toolchain, Web-based development environment · Version, build and integration requirements apply

2 sources · check evidence
https://pretextbook.org/

Scholarly authoring and output formats

vendor · checked 2026-10-07
https://github.com/PreTeXtBook/pretext

Single source, styling, LaTeX export and no content licensing constraints

vendor · checked 2026-10-07

Automatic complete accessibility

limited

The system supplies semantic markup and math support, but authors must provide meaningful descriptions and other content choices.[5]

Publishing structured textbooks and course materials in multiple formats · Local command-line toolchain, Web-based development environment · Version, build and integration requirements apply

1 source · check evidence
https://pretextbook.org/doc/guide/html/topic-accessibility.html

HTML semantics, MathJax and author-provided image descriptions

vendor · checked 2026-10-07

LaTeX-free PDF pipeline

limited

The examples describe an experimental, incomplete XSL-FO route using Apache FOP.[6]

Publishing structured textbooks and course materials in multiple formats · Local command-line toolchain, Web-based development environment · Version, build and integration requirements apply

1 source · check evidence
https://www.pretextbook.org/examples.html

Experimental XSL-FO/Apache FOP route; Runestone-dependent interaction; slideshow assets

vendor · checked 2026-10-07

LaTeX exchange

limited

Documents can be converted to LaTeX for further work; this does not establish reverse migration or a lossless round trip.[2]

Publishing structured textbooks and course materials in multiple formats · Local command-line toolchain, Web-based development environment · Version, build and integration requirements apply

1 source · check evidence
https://github.com/PreTeXtBook/pretext

Single source, styling, LaTeX export and no content licensing constraints

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

LaTeX for Publishing structured textbooks and course materials in multiple formats

limited

Can replace direct LaTeX authoring for structured educational publications needing multiple outputs. It introduces a different markup model and may still use LaTeX downstream for PDF.[1][2][6][8]

Local command-line toolchain, Web-based development environment · Version, build and integration requirements apply

References

  1. PreTeXt overview

    Scholarly authoring and output formats

    vendor · retrieved 2026-10-07
  2. PreTeXt principles

    Single source, styling, LaTeX export and no content licensing constraints

    vendor · retrieved 2026-10-07
  3. PreTeXt guide

    XML vocabulary and RELAX-NG schema

    vendor · retrieved 2026-10-07
  4. PreTeXt getting started

    Local CLI/toolchain and separate browser options

    vendor · retrieved 2026-10-07
  5. PreTeXt accessibility

    HTML semantics, MathJax and author-provided image descriptions

    vendor · retrieved 2026-10-07
  6. PreTeXt examples

    Experimental XSL-FO/Apache FOP route; Runestone-dependent interaction; slideshow assets

    vendor · retrieved 2026-10-07
  7. PreTeXt COPYING

    GPL version 2 or version 3 grant

    vendor · retrieved 2026-10-07
  8. LaTeX project

    Scientific and technical document preparation

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
3092026-10-11 19:55:44/* wbeditentity-create-item:0| */ sf:79a037c9-b131-4b38-81b8-a845101e3d11:v1 | Add semantic publishing system with accessibility authoring obligations and experimental XSL-FO PDF route. Core license is specifically GPL version 2 OR 3, not | attribution: /proposals/79a037c9-b131-4b38-81b8-a845101e3d11