jgm / pandoc

Universal markup converter
https://pandoc.org
Other
34k stars 3.35k forks source link

Add support for LaTeX3 macros #7540

Open jmigual opened 3 years ago

jmigual commented 3 years ago

Describe your proposed improvement and the problem it solves.

In my documents I create a lot of macros by using the \NewDocumentCommand macro from LaTeX3 but these macros do not seem to be picked up by pandoc and I could not find another issue related to this.

Describe alternatives you've considered.

An alternative could be to rewrite most of my macros using the \newcommand macro but this does not work in all cases as NewDocumentCommand is usually more robust.

jgm commented 3 years ago

I don't know anything about this command. Where is the syntax reference for this?

jmigual commented 3 years ago

It comes from this document New LATEX methods for authors (starting 2020)

jmigual commented 3 years ago

You can also find more info about it in the xparse package that backports it to LaTeX2e

jgm commented 3 years ago

OK, I see. A pretty big project to support all of that.