5736b331d8
Previously we only supported it in inline contexts; now we support it in all contexts, including math. Partially addresses #7299.
229 B
229 B
% pandoc -f latex -t plain
$1-{\ensuremath{r}\xspace}$
^D
1 − r
% pandoc -f latex -t plain
\newcommand{\foo}{Foo\xspace}
$\text{\foo bar}$
^D
Foo bar
% pandoc -f latex -t plain
a\xspace b
^D
a b