aboutsummaryrefslogtreecommitdiff
path: root/test/command/write18.md
AgeCommit message (Collapse)Author
2018-08-15Markdown reader: Use "tex" instead of "latex" for raw tex-ish content.John MacFarlane
We can't always tell if it's LaTeX, ConTeXt, or plain TeX. Better just to use "tex" always. Also changed: ConTeXt writer: now outputs raw "tex" blocks as well as "context". (Closes #969). RST writer: uses ".. raw:: latex" for "tex" content. (RST doesn't support raw context anyway.) Note that if "context" or "latex" specifically is desired, you can still force that in a markdown document by using the raw attribute (see MANUAL.txt): ```{=latex} \foo ``` Note that this change may affect some filters, if they assume that raw tex parsed by the Markdown reader will be RawBlock (Format "latex"). In most cases it should be trivial to modify the filters to accept "tex" as well.
2017-07-12Make sure \write18 is parsed as raw LaTeX.John MacFarlane
The change is in the LaTeX reader's treatment of raw commands, but it also affects the Markdown reader.