aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6844.md27
-rw-r--r--test/command/siunitx-negative-numbers.md15
2 files changed, 27 insertions, 15 deletions
diff --git a/test/command/6844.md b/test/command/6844.md
new file mode 100644
index 000000000..0431cfed8
--- /dev/null
+++ b/test/command/6844.md
@@ -0,0 +1,27 @@
+Negative numbers with siunitx
+
+```
+% pandoc -f latex -t native
+\SI{123}{\celsius}
+
+^D
+[Para [Str "123\160\176C"]]
+```
+
+```
+% pandoc -f latex -t native
+\SI{-123}{\celsius}
+
+^D
+[Para [Str "\8722\&123\160\176C"]]
+```
+
+```
+% pandoc -f latex -t native
+\SI{+123}{\celsius}
+
+^D
+[Para [Str "123\160\176C"]]
+```
+
+
diff --git a/test/command/siunitx-negative-numbers.md b/test/command/siunitx-negative-numbers.md
deleted file mode 100644
index 56cdbe31d..000000000
--- a/test/command/siunitx-negative-numbers.md
+++ /dev/null
@@ -1,15 +0,0 @@
-```
-% pandoc -f latex
-\SI{+33.3}{\m}
-
-\num{+5}
-
-\SI{-33.3}{\m}
-
-\num{-33}
-^D
-<p>33.3 m</p>
-<p>5</p>
-<p>-33.3 m</p>
-<p>-33</p>
-```