aboutsummaryrefslogtreecommitdiff
path: root/test/command/3681.md
diff options
context:
space:
mode:
authorschrieveslaach <schrieveslaach@online.de>2017-07-13 20:56:59 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-07-13 20:56:59 +0200
commit911b63dfc371541700ea16708dc66725b02393f1 (patch)
treef428bb2ca91b30fb2d975c19f3eb89a9a3ad1656 /test/command/3681.md
parent8b502dd50ff842bdbbf346a67a607d1a7905bda3 (diff)
downloadpandoc-911b63dfc371541700ea16708dc66725b02393f1.tar.gz
Add LaTeX xspace support (#3797)
Diffstat (limited to 'test/command/3681.md')
-rw-r--r--test/command/3681.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/command/3681.md b/test/command/3681.md
new file mode 100644
index 000000000..d0805e820
--- /dev/null
+++ b/test/command/3681.md
@@ -0,0 +1,27 @@
+```
+% pandoc -f latex -t native
+\newcommand{\cicd}{CI/CD\xspace}
+
+Software developers create \cicd pipelines to… Following issue can be resolved by \cicd:
+^D
+[Para [Str "Software",Space,Str "developers",Space,Str "create",Space,Str "CI/CD",Space,Str "pipelines",Space,Str "to\8230",Space,Str "Following",Space,Str "issue",Space,Str "can",Space,Str "be",Space,Str "resolved",Space,Str "by",Space,Str "CI/CD:"]]
+```
+
+```
+% pandoc -f latex -t native
+\newcommand{\cicd}{CI/CD\xspace}
+
+\cicd\footnote{\url{https://en.wikipedia.org/wiki/CI/CD}} is awesome.
+^D
+[Para [Str "CI/CD",Note [Para [Link ("",[],[]) [Str "https://en.wikipedia.org/wiki/CI/CD"] ("https://en.wikipedia.org/wiki/CI/CD","")]],Space,Str "is",Space,Str "awesome."]]
+```
+
+```
+% pandoc -f latex -t native
+\newcommand{\cicd}{CI/CD\xspace}
+\newcommand{\pipeline}{pipeline\xspace}
+
+\cicd\pipeline.
+^D
+[Para [Str "CI/CD",Space,Str "pipeline."]]
+```