git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Add support for \vdots (#3607)
commit81548960d52d6c3ca34aa5fa041e5aa8bae9481b authorschrieveslaach <schrieveslaach@online.de> dateWed 26 Apr 2017, 12:03 (10 years ago) parent66b0839
2 files changed+13
src/Text/Pandoc/Readers/LaTeX.hs+1 test/command/dots.md+12
src/Text/Pandoc/Readers/LaTeX.hs+1
@@ -528,6 +528,7 @@ inlineCommands = M.fromList $
528528 , ("textbf", extractSpaces strong <$> tok)
529529 , ("textnormal", extractSpaces (spanWith ("",["nodecor"],[])) <$> tok)
530530 , ("ldots", lit "…")
531+ , ("vdots", lit "\8942")
531532 , ("dots", lit "…")
532533 , ("mdots", lit "…")
533534 , ("sim", lit "~")
test/command/dots.mdnew file+12
@@ -0,0 +1,12 @@
1+```
2+% pandoc -f latex -t native
3+\dots
4+
5+\ldots
6+
7+\vdots
8+^D
9+[Para [Str "\8230"]
10+,Para [Str "\8230"]
11+,Para [Str "\8942"]]
12+```