aboutsummaryrefslogtreecommitdiff
path: root/test/command/7340.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-06-01 13:54:51 -0600
committerJohn MacFarlane <jgm@berkeley.edu>2021-06-01 13:54:51 -0600
commitabb59bd58222c67fd36a8e447c01de3404a7ed1d (patch)
tree2b0a220dda85c9e220ea2ed2c138092d22a2af3c /test/command/7340.md
parent7225d4a612cd79e0027c5b0ea721577ab4df3f49 (diff)
downloadpandoc-abb59bd58222c67fd36a8e447c01de3404a7ed1d.tar.gz
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.
Diffstat (limited to 'test/command/7340.md')
-rw-r--r--test/command/7340.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/7340.md b/test/command/7340.md
new file mode 100644
index 000000000..25decd732
--- /dev/null
+++ b/test/command/7340.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f latex -t native
+\(*\)
+^D
+[Para [Math InlineMath "*"]]
+```