From 39afd4297ff9d03b3c70eec0d99a43ed5c05ab34 Mon Sep 17 00:00:00 2001 From: Sebastian Humenda Date: Sun, 30 May 2021 19:03:04 +0200 Subject: Mention GladTeX for EPUB export This updates the manual and the web site about the GladTeX usage. --- doc/epub.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/epub.md b/doc/epub.md index 82c26dcef..c05faf80c 100644 --- a/doc/epub.md +++ b/doc/epub.md @@ -141,8 +141,15 @@ Pandoc has an EPUB3 writer. It renders LaTeX math into MathML, which EPUB3 readers are supposed to support (but unfortunately few do). Of course, this isn't much help if you want EPUB2 output (`pandoc -t epub2`) -or target readers that don't support MathML. Then you should try using the -`--webtex` option, which will use a web service to convert the TeX to an image. +or target readers that don't support MathML. Then you have two options: + +1. Use the [`--webtex`](https://pandoc.org/MANUAL.html#option--webtex) option, + which will use a web service to convert the TeX to an image. +2. Use the [`--gladtex`](https://pandoc.org/MANUAL.html#option--gladtex) option + to convert maths into SVG images on your local machine. + +Both GladTeX and WebTeX add the LaTeX source of the formula as alternative text +of the image, increasing accessibility for blind users. [KindleGen]: https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211 [EPUB]: https://en.wikipedia.org/wiki/EPUB -- cgit v1.2.3