b806bff5b4
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527.
36 lines
383 B
Markdown
36 lines
383 B
Markdown
# Raw TeX blocks in CommonMark with and without raw_tex
|
|
|
|
```
|
|
% pandoc -f latex+raw_tex -t commonmark-raw_tex
|
|
\someunknowncommand
|
|
|
|
Hello.
|
|
^D
|
|
Hello.
|
|
```
|
|
|
|
```
|
|
% pandoc -f latex+raw_tex -t commonmark+raw_tex
|
|
\someunknowncommand
|
|
|
|
Hello.
|
|
^D
|
|
\someunknowncommand
|
|
|
|
Hello.
|
|
```
|
|
|
|
```
|
|
% pandoc -f latex -t native
|
|
\maketitle
|
|
^D
|
|
[]
|
|
```
|
|
|
|
```
|
|
% pandoc -f latex -t rst
|
|
\maketitle
|
|
Hello.
|
|
^D
|
|
Hello.
|
|
```
|