Skip to content

pandoc_raw

Kelli Johnson edited this page Dec 14, 2020 · 1 revision

Raw html/tex

Raw TeX is allowed to preserve the richest formatting as possible and if you desire to keep this formatting specified in the original file, then one would would to allow raw. However, when converting to formats like docx you cannot use raw TeX or HTML. Therefore, one must think deeply about what you want to keep as raw and if you want to turn this functionality off. The raw_tex command to pandoc allows raw LaTeX, TeX, and ConTeXt in the document. This extension can be enabled/disabled for many formats, including markdown. Note that raw TeX will not be tagged in a pdf document because the filters do not know how to handle RawBlocks.

Clone this wiki locally