In cased this post at tex.stackechange was missed, cross-post:

`xparse` instructions and `enumitem` formatting appear to be lost on pandoc. 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:Nn\g__erw_foo_tl{\item \textbf{a}\item b}
\NewDocumentCommand\Foo{}{\tl_use:N\g__erw_foo_tl}
\NewDocumentCommand\Bar{}{\item \textbf{c}\item d}
\def\Qux{\item \textbf{e}\item f}
\ExplSyntaxOff
\begin{document}
\begin{foo} \Foo\Bar\Qux \end{foo}
\end{document}
```
which produces:
Screenshot from 2021-05-10 00-57-35.png
Whereas,
```
$ pandoc -f latex -t plain jobname.tex
E
f
```
fails to render the "inline list" and `{{; }}` features. It's been suggested to do :
```
make4ht LaTeX-292.tex && html2text jobname.html
```

but that comes at a price: `\textbf` ignored, and `Â` inserted at the beginning of each item.


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/28c205b8-5f80-4e79-bb56-3f96d2844c6dn%40googlegroups.com.