doc/epub.md: use the -F gladtex filter form for math#11659
Closed
adv0r wants to merge 1 commit into
Closed
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11290
What
In the Math section of
doc/epub.md(the source ofhttps://pandoc.org/epub.html#math), replace the suggestion to use the
--gladtexHTML option — which does not work for EPUB output — with thefilter form
-F gladtex, which is the supported invocation for embeddingGladTeX-rendered SVG math into an EPUB.
A
[GladTeX]link reference is added to the existing reference list atthe bottom of the file so the new link resolves.
Why
--gladtexonly sets the HTML math method (<eq>tags expected to bepost-processed by the standalone
gladtexbinary on a.htexfile); itis not wired up for the EPUB writer. Users following the EPUB docs hit
errors. Running
gladtexas a pandoc filter (-F gladtex) is thesupported way to embed SVG math in EPUB today.
The
--gladtexflag itself is left untouched inMANUAL.txt, since itremains valid for HTML output.
AI disclosure
Per project norms — this PR is AI-generated and unattended, written by a
Cursor Anthropic Claude Opus 4.7 agent under @adv0r as a personal
token-burn initiative before my Cursor billing cycle ends. Opened as
draft for review. Happy to iterate on phrasing or scope.
Made with Cursor