summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index 7fd2f2e499a..c467229fbe4 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -4696,6 +4696,7 @@
% \global\c@page=1. We'll cancel that below.
\let\magyar@@pagestyle@save@thepage\thepage
\edef\magyar@@pagestyle@save@c@page{\the\c@page\space}
+ \edef\magyar@@pagestyle@save@c@tocdepth{\the\c@tocdepth\space}
% Dat: no \paragraphmark or \subparagraphmark
% vvv Dat: already defined in latex.ltx
%\providecommand\sectionmark[1]{\relax}
@@ -4758,6 +4759,7 @@
%\message{BBB \meaning\@@magyar@class@marks}%
\global\let\thepage\magyar@@pagestyle@save@thepage
\global\c@page\magyar@@pagestyle@save@c@page
+ \global\c@tocdepth\magyar@@pagestyle@save@c@tocdepth
\ifx\@@magyar@now@marks\@@magyar@class@marks
\endgroup\expandafter\@firstoftwo
\else