Skip to content

Fatal error #878

Description

@nthiery

Dear LaTeXML devs,

Running

latexmlc Cours.tex --dest latexml/cours.html

on the following Cours.tex file:

\documentclass{article}
\makeatletter
\AtBeginPart{\advance\beamer@tempcount by 1}
\makeatother
\begin{document}
  COUCOU
\end{document}

Triggers the following error:

	at /usr/local/share/perl/5.24.1/LaTeXML/Package/TeX.pool.ltxml line 1220, <$IN> line 3.
	In Core::Definition::Primitive[\advance ... from TeX.pool.ltxml line 1220
	 <= Core::Stomach[@0x5579eb02b750] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x5579eb02b750]
3 errors; 1 fatal error; 1 undefined macro[\AtBeginPart]

Conversion complete: 3 errors; 1 fatal error; 1 undefined macro[\AtBeginPart].
Status:conversion:3
3 errors; 1 fatal error; 1 undefined macro[\AtBeginPart]
Error! Did not write file latexml/cours.html

I am running the latest latexml installed by cloning this repo.

That's just for info. I can workaround this by redefining AtBeginPart to do nothing when running under latexmjl.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions