summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/magyar
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-20 01:07:46 +0000
committerKarl Berry <karl@freefriends.org>2012-11-20 01:07:46 +0000
commitb2c83036fa4b19847dadd3e0c34560ede262a99c (patch)
tree30deacdfd737f2a0898b563c4fad38e6caf1ace3 /Master/texmf-dist/doc/latex/magyar
parent93227a8a3bca9a4c4c9cd2a4514c5582c0c2cc9c (diff)
magyar (19nov12)
git-svn-id: svn://tug.org/texlive/trunk@28301 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/magyar')
-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{%