{"schemaVersion":"1.0","record":{"label":"PreTeXt","description":"Semantic authoring and multi-format publishing system for scholarly and educational documents.","aliases":[],"kind":"software","website":"https://pretextbook.org/","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.","license":"GNU GPL version 2 or version 3, at the user's option","lifecycle":"active","example":false,"features":[{"name":"Single-source publishing","status":"supported","detail":"Structured source can generate HTML, PDF and other supported outputs.","useCase":"Publishing structured textbooks and course materials in multiple formats","platforms":["Local command-line toolchain","Web-based development environment"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://pretextbook.org/","locator":"Scholarly authoring and output formats","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"},{"url":"https://github.com/PreTeXtBook/pretext","locator":"Single source, styling, LaTeX export and no content licensing constraints","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"}]},{"name":"Automatic complete accessibility","status":"limited","detail":"The system supplies semantic markup and math support, but authors must provide meaningful descriptions and other content choices.","useCase":"Publishing structured textbooks and course materials in multiple formats","platforms":["Local command-line toolchain","Web-based development environment"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://pretextbook.org/doc/guide/html/topic-accessibility.html","locator":"HTML semantics, MathJax and author-provided image descriptions","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"}]},{"name":"LaTeX-free PDF pipeline","status":"limited","detail":"The examples describe an experimental, incomplete XSL-FO route using Apache FOP.","useCase":"Publishing structured textbooks and course materials in multiple formats","platforms":["Local command-line toolchain","Web-based development environment"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.pretextbook.org/examples.html","locator":"Experimental XSL-FO/Apache FOP route; Runestone-dependent interaction; slideshow assets","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"}]},{"name":"LaTeX exchange","status":"limited","detail":"Documents can be converted to LaTeX for further work; this does not establish reverse migration or a lossless round trip.","useCase":"Publishing structured textbooks and course materials in multiple formats","platforms":["Local command-line toolchain","Web-based development environment"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/PreTeXtBook/pretext","locator":"Single source, styling, LaTeX export and no content licensing constraints","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"}]}],"alternatives":[],"slug":"pretext","draftAlternatives":[{"targetSlug":"latex","status":"limited","detail":"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.","useCase":"Publishing structured textbooks and course materials in multiple formats","platforms":["Local command-line toolchain","Web-based development environment"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/PreTeXtBook/pretext","locator":"Single source, styling, LaTeX export and no content licensing constraints","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"},{"url":"https://pretextbook.org/","locator":"Scholarly authoring and output formats","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"},{"url":"https://www.latex-project.org/","locator":"Scientific and technical document preparation","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"},{"url":"https://www.pretextbook.org/examples.html","locator":"Experimental XSL-FO/Apache FOP route; Runestone-dependent interaction; slideshow assets","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"}]}],"evidence":[{"url":"https://pretextbook.org/","locator":"Scholarly authoring and output formats","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"},{"url":"https://pretextbook.org/guide.html","locator":"XML vocabulary and RELAX-NG schema","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"},{"url":"https://pretextbook.org/doc/guide/html/topic-accessibility.html","locator":"HTML semantics, MathJax and author-provided image descriptions","retrievedAt":"2026-10-07T13:25:35.853Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://pretextbook.org/","locator":"Scholarly authoring and output formats","retrievedAt":"2026-10-07T13:25:35.853Z","id":"home","title":"PreTeXt overview","kind":"vendor"},{"url":"https://github.com/PreTeXtBook/pretext","locator":"Single source, styling, LaTeX export and no content licensing constraints","retrievedAt":"2026-10-07T13:25:35.853Z","id":"repo","title":"PreTeXt principles","kind":"vendor"},{"url":"https://pretextbook.org/guide.html","locator":"XML vocabulary and RELAX-NG schema","retrievedAt":"2026-10-07T13:25:35.853Z","id":"guide","title":"PreTeXt guide","kind":"vendor"},{"url":"https://pretextbook.org/quick-start.html","locator":"Local CLI/toolchain and separate browser options","retrievedAt":"2026-10-07T13:25:35.853Z","id":"quick","title":"PreTeXt getting started","kind":"vendor"},{"url":"https://pretextbook.org/doc/guide/html/topic-accessibility.html","locator":"HTML semantics, MathJax and author-provided image descriptions","retrievedAt":"2026-10-07T13:25:35.853Z","id":"access","title":"PreTeXt accessibility","kind":"vendor"},{"url":"https://www.pretextbook.org/examples.html","locator":"Experimental XSL-FO/Apache FOP route; Runestone-dependent interaction; slideshow assets","retrievedAt":"2026-10-07T13:25:35.853Z","id":"examples","title":"PreTeXt examples","kind":"vendor"},{"url":"https://github.com/PreTeXtBook/pretext/blob/master/COPYING","locator":"GPL version 2 or version 3 grant","retrievedAt":"2026-10-07T13:25:35.853Z","id":"license","title":"PreTeXt COPYING","kind":"vendor"},{"url":"https://www.latex-project.org/","locator":"Scientific and technical document preparation","retrievedAt":"2026-10-07T13:25:35.853Z","id":"latex","title":"LaTeX project","kind":"vendor"}],"overviewCitations":["home","guide","access"],"licenseCitations":["license"],"sections":[{"id":"structure","heading":"Semantic source and styling","paragraphs":[{"id":"structure-detail","content":[{"text":"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."}],"citations":["guide","repo"]}]},{"id":"teaching","heading":"Educational output and interaction","paragraphs":[{"id":"teaching-detail","content":[{"text":"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."}],"citations":["home","examples"]}]},{"id":"accessibility","heading":"Accessibility responsibilities","paragraphs":[{"id":"accessibility-detail","content":[{"text":"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."}],"citations":["access"]}]},{"id":"pdf","heading":"PDF routes and maturity","paragraphs":[{"id":"pdf-detail","content":[{"text":"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."}],"citations":["examples"]}]},{"id":"operation","heading":"Toolchain and licensing","paragraphs":[{"id":"operation-detail","content":[{"text":"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."}],"citations":["quick","license","repo"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"PreTeXt can substitute for direct "},{"text":"LaTeX","targetSlug":"latex"},{"text":" 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."}],"citations":["repo","home","latex","examples"]}]}]},"id":"Q323","revision":309,"updatedAt":"2026-10-11T19:55:44Z","sourceUrl":"https://substitutefor.net/entities/Q323?revision=309"}}