LaTeX reader: Add support for \vdots (#3607)

This commit is contained in:
schrieveslaach 2017-04-26 12:03:07 +02:00 committed by John MacFarlane
parent 66b08391b3
commit 81548960d5
2 changed files with 13 additions and 0 deletions

View file

@ -528,6 +528,7 @@ inlineCommands = M.fromList $
, ("textbf", extractSpaces strong <$> tok)
, ("textnormal", extractSpaces (spanWith ("",["nodecor"],[])) <$> tok)
, ("ldots", lit "")
, ("vdots", lit "\8942")
, ("dots", lit "")
, ("mdots", lit "")
, ("sim", lit "~")

12
test/command/dots.md Normal file
View file

@ -0,0 +1,12 @@
```
% pandoc -f latex -t native
\dots
\ldots
\vdots
^D
[Para [Str "\8230"]
,Para [Str "\8230"]
,Para [Str "\8942"]]
```