summaryrefslogtreecommitdiff
path: root/test/command/hyphenat.md
diff options
context:
space:
mode:
authorschrieveslaach <schrieveslaach@online.de>2017-04-26 12:05:13 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-04-26 12:05:13 +0200
commita29fa15a7b214ff83efe7b32fe51a55711984ef7 (patch)
tree73ffcd99dbfac955dbff403245e41d5a6c1c3cd3 /test/command/hyphenat.md
parent256e3a6a5d3f91262e8b3304fc2fa8cd1a854038 (diff)
LaTeX reader: Add basic support for hyphenat package (#3603)
Diffstat (limited to 'test/command/hyphenat.md')
-rw-r--r--test/command/hyphenat.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/command/hyphenat.md b/test/command/hyphenat.md
new file mode 100644
index 000000000..3aae85101
--- /dev/null
+++ b/test/command/hyphenat.md
@@ -0,0 +1,49 @@
+```
+% pandoc -f latex -t native
+electromagnetic\hyp{}endioscopy
+^D
+[Para [Str "electromagnetic-endioscopy"]]
+```
+
+```
+% pandoc -f latex -t native
+C\colonhyp\bshyp{}Windows\bshyp
+^D
+[Para [Str "C:\173\\\173Windows\\\173"]]
+```
+
+```
+% pandoc -f latex -t native
+\fshyp{}usr\fshyp{}share\fshyp
+^D
+[Para [Str "/\173usr/\173share/\173"]]
+```
+
+```
+% pandoc -f latex -t native
+\fshyp{}home\fshyp{}schrieveslaach\fshyp\dothyp{}m2
+^D
+[Para [Str "/\173home/\173schrieveslaach/\173.\173m2"]]
+```
+
+```
+% pandoc -f latex -t native
+\nohyphens{Pneumonoultramicroscopicsilicovolcanoconiosis}
+^D
+[Para [Str "Pneumonoultramicroscopicsilicovolcanoconiosis"]]
+```
+
+```
+% pandoc -f latex -t native
+\textnhtt{Pneumonoultramicroscopicsilicovolcanoconiosis}
+^D
+[Para [Code ("",[],[]) "Pneumonoultramicroscopicsilicovolcanoconiosis"]]
+```
+
+```
+% pandoc -f latex -t native
+\nhttfamily{Pneumonoultramicroscopicsilicovolcanoconiosis}
+^D
+[Para [Code ("",[],[]) "Pneumonoultramicroscopicsilicovolcanoconiosis"]]
+```
+