Skip to content

Commit

Permalink
re-lock \maketitle
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Jan 22, 2025
1 parent f6a8b31 commit 255bdd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LaTeXML/Engine/LaTeX.pool.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ DefMacro('\@add@conversion@date', '\@add@frontmatter{ltx:date}[role=creation]{\t
# Doesn't produce anything (we're already inserting frontmatter),
# But, it does make the various frontmatter macros into no-ops.
DefMacroI('\maketitle', undef,
'\lx@frontmatterhere\@startsection@hook\lx@deactivate@frontmatter');
'\lx@frontmatterhere\@startsection@hook\lx@deactivate@frontmatter', locked => 1);
DefPrimitive('\lx@deactivate@frontmatter', sub {
Let('\maketitle', '\relax', 'global');
Let('\@maketitle', '\relax', 'global');
Expand Down

0 comments on commit 255bdd0

Please sign in to comment.