authorea-scripts icon indicating copy to clipboard operation
authorea-scripts copied to clipboard

support for \newcommand and \renewcommand conversion

Open sylvchev opened this issue 8 years ago • 0 comments

pdflatex macros defined with \newcommand{}[]{} or \renewcommand are converted by Authorea into latexml syntax : \newcommand{}[][]{}. This syntax is not supported by pdflatex and it is thus not possible to compile locally.

This code revert the conversion back to the pdflatex format for the macro.

sylvchev avatar Jul 11 '16 21:07 sylvchev