Every page on this site is also published as plain Markdown, and two text files at the site root index those pages for language models. Point a coding assistant or agent at them instead of the HTML pages: they carry the same content without navigation or scripts, and formulas appear as LaTeX source rather than rendered images.
Markdown pages#
Append .md to a page URL to get its Markdown version. The home page is the one exception: its Markdown version is /index.md.
| Page | Markdown version |
|---|---|
https://texform.dev/ | https://texform.dev/index.md |
https://texform.dev/docs | https://texform.dev/docs.md |
https://texform.dev/docs/transforms | https://texform.dev/docs/transforms.md |
https://texform.dev/api/python | https://texform.dev/api/python.md |
https://texform.dev/latex/commands/frac | https://texform.dev/latex/commands/frac.md |
https://texform.dev/rules | https://texform.dev/rules.md |
On documentation and reference pages, Copy page next to the breadcrumbs copies the Markdown version to the clipboard, and View Markdown below the table of contents opens it. Each HTML page also names its Markdown version in a <link rel="alternate" type="text/markdown"> element, so tools that read the page head can find it.
Each Markdown page starts with the page title, its one-line description, and the URL of the HTML page. Links to other pages on the site are absolute URLs. The rest depends on the page:
- Documentation: the page text. Tabs, cards, and callouts are written out as plain Markdown, diagrams as a sentence or a Mermaid code block. The changelog and the renderer coverage tables are included as Markdown.
- API reference: each class, function, and method with its signature, parameters, return value, raised errors, and examples.
- LaTeX math reference: for a command or environment, its packages and allowed mode, the argument specification in each package, examples, renderer support in MathJax, KaTeX, and XeTeX, related rewrite rules, and renderer test cases. Symbol pages give the glyph and Unicode code point; package pages list their commands and environments with signatures and renderer support.
- Rewrite rules: level, fidelity, enabling packages, profiles, rewrite patterns, before-and-after examples, the LaTeX entries the rule triggers on, eliminates, and produces, and code to disable it.
- Index pages:
/latex/commands.md,/latex/environments.md,/latex/symbols.md,/latex/packages.md, and/rules.mdlist every entry with a link to its page.
llms.txt#
/llms.txt follows the llms.txt convention. It opens with a short description of TeXForm, the install commands, the four normalization profiles, and where to start reading, then links to the Markdown version of the site's pages in these sections:
- Get started, Concepts, Guides, and Project: the documentation pages in sidebar order, with the documentation overview first under Get started.
- API Reference: the overview, then every Python and JavaScript page.
- LaTeX Math Reference: the section overview, the command, environment, symbol, and package indexes, and renderer support. Individual entries are not listed; the Markdown index pages link to each of them.
- Rewrite Rules: the rule index, which gives every rule with its level and fidelity.
- Optional: the Internals pages and a text version of the home page.
llms-full.txt#
/llms-full.txt is a single file with the same opening as llms.txt, followed by the Markdown of every documentation page in sidebar order and then the whole API reference: the overview, the Python pages, and the JavaScript pages. Pages are separated by horizontal rules.
It does not include the LaTeX math reference or the rewrite rules; fetch those pages individually. The file is large, so when context is limited, start from llms.txt and fetch only the pages a task needs.
Point an assistant at the docs#
For a single question in a chat, use Copy page on the relevant page and paste it with your question.
For an agent that can fetch URLs, give it llms.txt as the starting point:
Read https://texform.dev/llms.txt and fetch the Markdown pages you need.
Then show how to normalize a list of formulas with the corpus profile in Python.The files are plain HTTP resources, so scripts can fetch them directly:
curl -s https://texform.dev/latex/commands/frac.mdThe Markdown and text files are generated in the same build as the HTML pages and describe the same TeXForm version, the latest release. If you use an older version, check the changelog for differences.