aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-04-07 09:24:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-04-07 09:25:52 -0700
commit11df2a3c0f2b1b8e351ad8caaa7cdf583e1b3b2e (patch)
tree38ccac520532c8db49bab1a2c0129c36ef883b06 /test
parent39b742e5ba19641d125c2071b99e74c6a61596b1 (diff)
downloadpandoc-11df2a3c0f2b1b8e351ad8caaa7cdf583e1b3b2e.tar.gz
LaTeX reader: better handling of `\lettrine`.
- SmallCaps instead of Span for the part after the initial capital. - Ensure that both arguments are parsed, so that in Markdown both are treated as raw LateX. (Closes #6258.)
Diffstat (limited to 'test')
-rw-r--r--test/command/lettrine.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command/lettrine.md b/test/command/lettrine.md
index 0c3c64d66..7bbc20080 100644
--- a/test/command/lettrine.md
+++ b/test/command/lettrine.md
@@ -4,6 +4,6 @@
\lettrine[lhang=0.17]{A}{category} is
^D
-[Para [Span ("",["lettrine"],[]) [Str "A"],Span ("",[],[]) [Str "category"],Space,Str "is"]
-,Para [Span ("",["lettrine"],[]) [Str "A"],Span ("",[],[]) [Str "category"],Space,Str "is"]]
+[Para [Span ("",["lettrine"],[]) [Str "A"],SmallCaps [Str "category"],Space,Str "is"]
+,Para [Span ("",["lettrine"],[]) [Str "A"],SmallCaps [Str "category"],Space,Str "is"]]
```