This website requires JavaScript.
Explore
Help
Sign in
Tissevert
/
pandoc
Watch
1
Star
0
Fork
You've already forked pandoc
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1
45bcd7d3f1
pandoc
/
test
/
command
/
7340.md
7 lines
78 B
Markdown
Raw
Normal View
History
Unescape
Escape
LaTeX reader: don't allow optional * on symbol control sequences. Generally we allow optional starred variants of LaTeX commands (since many allow them, and if we don't accept these explicitly, ignoring the star usually gives acceptable results). But we don't want to do this for `\(*\)` and similar cases. Closes #7340.
2021-06-01 21:54:51 +02:00
```
% pandoc -f latex -t native
\(*\)
^D
Use pretty-simple to format native output. Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2021-09-19 21:09:51 +02:00
[ Para [ Math InlineMath "*" ] ]
LaTeX reader: don't allow optional * on symbol control sequences. Generally we allow optional starred variants of LaTeX commands (since many allow them, and if we don't accept these explicitly, ignoring the star usually gives acceptable results). But we don't want to do this for `\(*\)` and similar cases. Closes #7340.
2021-06-01 21:54:51 +02:00
```
Reference in a new issue
Copy permalink