summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/magyar/magyar.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/magyar/magyar.ldf')
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index a9a9cd15789..62215bbffaa 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -2385,7 +2385,7 @@
% \AtBeginDocument or similar.
\ifnum\magyar@opt@@toclang=0 \@@magyar@skiplong\fi
- \ifnum\magyar@opt@@toclang>1
+ \ifnum\magyar@opt@@toclang>1 % toclang=good
% Solve problems (2) and (4). Timing is critical. \select@language must
% be called after \AtBeginDocument, so \catcode{}s won't be \activated
% too early. (Because some code in \AtBeginDocument might issue an
@@ -4840,6 +4840,8 @@
\let\newlaunguage\@gobble
\let\newlength\@gobble
\def\newcounter##1{\@ifnextchar[\magyar@gobbleopt{}}%
+ \def\setcounter##1##2{\@ifundefined{c@##1}{\@nocounterr{##1}}%
+ {\csname c@##1\endcsname##2\relax}}
%** Like \newcommand, but always overrides old values.
\def\magyar@defcommand{\@star@or@long\magyar@defcommand@low}
\def\magyar@defcommand@low##1{%