git.iko.soy/typeable/pandoc
on master help sign in
Options and documentation for backslash tex math options.

Ext_tex_math_single_backslash and Ext_tex_math_double_backslash. Still need to code in reader.

commiteb4d522a56de3455f9b31841a04adf64c8dafa90 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 10 Aug 2012, 21:57 (14 years ago) parent417cde3
2 files changed+12
README+10 src/Text/Pandoc/Options.hs+2
README+10
@@ -2196,6 +2196,16 @@ example, `markdown+hard_line_breaks` is markdown with hard line breaks.
21962196Causes all newlines within a paragraph to be interpreted as hard line
21972197breaks instead of spaces.
21982198
2199+**Extension: `tex_math_single_backslash`**\
2200+Causes anything between `\(` and `\)` to be interpreted as inline
2201+TeX math, and anything between `\[` and `\]` to be interpreted
2202+as display TeX math. Note: a drawback of this extension is that
2203+it precludes escaping `(` and `[`.
2204+
2205+**Extension: `tex_math_double_backslash`**\
2206+Causes anything between `\\(` and `\\)` to be interpreted as inline
2207+TeX math, and anything between `\\[` and `\\]` to be interpreted
2208+as display TeX math.
21992209
22002210Producing slide shows with Pandoc
22012211=================================
src/Text/Pandoc/Options.hs+2
@@ -58,6 +58,8 @@ data Extension = Ext_footnotes
5858 | Ext_citations
5959 | Ext_raw_tex
6060 | Ext_tex_math_dollars
61+ | Ext_tex_math_single_backslash
62+ | Ext_tex_math_double_backslash
6163 | Ext_latex_macros
6264 | Ext_delimited_code_blocks
6365 | Ext_inline_code_attributes