aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-05-09 11:29:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-05-09 11:29:20 -0700
commitb7356d3ddf788d83b41b1100d718087bd83a7506 (patch)
treee3d8147a349999937dfc60d55179b6aab0649b46 /MANUAL.txt
parentd3be567a73478298485f66b2d2af5ca066eae052 (diff)
downloadpandoc-b7356d3ddf788d83b41b1100d718087bd83a7506.tar.gz
Restored and undeprecated gladtex for HTML math.
- Added `GladTeX` constructor to `Text.Pandoc.Options.HTMLMathMethod` [API change, reverts removal in v2.2] - Restored and undeprecated `--gladtex` option, removed in v2.2. Closes #4607.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 42b658af9..7a9871d8f 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1217,9 +1217,21 @@ of the following options.
not specified, a link to the KaTeX CDN will be inserted. Note that this
option does not imply `--katex`.
+`--gladtex`
+
+: Enclose TeX math in `<eq>` tags in HTML output. The resulting HTML
+ can then be processed by [GladTeX] to produce images of the typeset
+ formulas and an HTML file with links to these images.
+ So, the procedure is:
+
+ pandoc -s --gladtex input.md -o myfile.htex
+ gladtex -d myfile-images myfile.htex
+ # produces myfile.html and images in myfile-images
+
[MathML]: http://www.w3.org/Math/
[MathJax]: https://www.mathjax.org
[KaTeX]: https://github.com/Khan/KaTeX
+[GladTeX]: http://humenda.github.io/GladTeX/
Options for wrapper scripts
---------------------------