Skip to content

Discrepancy in expansion of undefined command sequences #1180

Closed
@dginev

Description

This issue goes towards further parity with the native tex interpretation, towards the 1.0 milestone of latexml.

Minimal example:

\documentclass{article}
\edef\expandedondef{\tricky~\tricky}
\def\tricky{tricky!}

\begin{document}
\expandedondef
\end{document}

In pdflatex this produces an empty document with an error mentioning \tricky is undefined at time of \edef execution. In latexml, no error is ever displayed, and what's worse - the new "late binding" of \tricky is used in the final output, questioning if \edef ever expanded the macro.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions