Skip to content

Commit

Permalink
[macros] Fix LaTeX build on MacOS with newer memoir class
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer committed Mar 23, 2024
1 parent 9ec133c commit 5e19412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
% Set the xref label for a clause to be "Clause n", not just "n".
\makeatletter
\newcommand{\customlabel}[2]{%
\@bsphack \begingroup \protected@edef \@currentlabel {\protect \M@TitleReference{#2}{\M@currentTitle}}\MNR@label{#1}\endgroup \@esphack%
\@bsphack \protected@write\@auxout{}{\string\newlabel{#1}{{#2}{\thepage}}} \@esphack%
}
\makeatother
\newcommand{\clauselabel}[1]{\customlabel{#1}{Clause \thechapter}}
Expand Down

0 comments on commit 5e19412

Please sign in to comment.