TeX - LaTeX Asked on May 26, 2021
xparse
instructions and enumitem
formatting appear to be lost on pandoc
(inline and {{; }}
in this case). It’s been pointed out conversion from LaTeX to TeX is not possible, so what are the options?
documentclass{article}
usepackage{enumitem}
usepackage{xparse}
newlist{foo}{enumerate*}{1}
setlist[foo]{label=arabic*), itemjoin={{; }}}
ExplSyntaxOn
tl_set:Nng__erw_foo_tl{item textbf{a}item b} %
NewDocumentCommandFoo{}{tl_use:Ng__erw_foo_tl}
NewDocumentCommandBar{}{item textbf{c}item d}
defQux{item textbf{e}item f}
ExplSyntaxOff
begin{document}
begin{foo}
FooBarQux
end{foo}
end{document}
CLI
$ pandoc -f latex -t plain jobname.tex
E
f
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP