aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-08-17 15:22:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-17 15:22:47 -0700
commit1b668657632c58964e8d7df42ea88e5ea6abfb1e (patch)
tree15321183db834685650bc881686a8edf4919182e /test
parent723b60b42ed875011a73975ac1d4b9e7d780ea8f (diff)
downloadpandoc-1b668657632c58964e8d7df42ea88e5ea6abfb1e.tar.gz
LaTeX reader: fix siunitx unit commands...
...they should only be recognized in siunitx contexts. For example, `\l` outside of an siunitx context should be l-slash, not l (for liter)! Closes #4842.
Diffstat (limited to 'test')
-rw-r--r--test/command/4842.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/4842.md b/test/command/4842.md
new file mode 100644
index 000000000..a311739b7
--- /dev/null
+++ b/test/command/4842.md
@@ -0,0 +1,6 @@
+```
+pandoc -f latex -t native
+\l
+^D
+[Para [Str "\322"]]
+```