summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/magyar/magyar.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-07 00:52:39 +0000
committerKarl Berry <karl@freefriends.org>2010-05-07 00:52:39 +0000
commit6cc30c797670923267fcfc3cecb62cae4bb5b9c1 (patch)
tree3ea3046d5111b92d9a065631faedbbdc15b41532 /Master/texmf-dist/doc/latex/magyar/magyar.ldf
parent2412d89f83994d4e268c35225026bf4740be79d3 (diff)
magyar update (6may10)
git-svn-id: svn://tug.org/texlive/trunk@18135 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/magyar/magyar.ldf')
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf14
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index c467229fbe4..471e5642380 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -625,12 +625,12 @@
\def\magyar@opt@hunnewlabel@@yes{\def\magyar@opt@@hunnewlabel{2}}
\let\magyar@opt@hunnewlabel\magyar@enumarg
\def\magyar@opt@partnumber@@unchanged{\def\magyar@opt@@partnumber{0}}
-\def\magyar@opt@partnumber@@huordinal{\def\magyar@opt@@partnumber{1}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}}
-\def\magyar@opt@partnumber@@Huordinal{\def\magyar@opt@@partnumber{2}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}}
+\def\magyar@opt@partnumber@@huordinal{\def\magyar@opt@@partnumber{1}}
+\def\magyar@opt@partnumber@@Huordinal{\def\magyar@opt@@partnumber{2}}
\let\magyar@opt@partnumber\magyar@enumarg
\def\magyar@opt@chapternumber@@unchanged{\def\magyar@opt@@chapternumber{0}}
-\def\magyar@opt@chapternumber@@huordinal{\def\magyar@opt@@chapternumber{1}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}}
-\def\magyar@opt@chapternumber@@Huordinal{\def\magyar@opt@@chapternumber{2}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}}
+\def\magyar@opt@chapternumber@@huordinal{\def\magyar@opt@@chapternumber{1}}
+\def\magyar@opt@chapternumber@@Huordinal{\def\magyar@opt@@chapternumber{2}}
\let\magyar@opt@chapternumber\magyar@enumarg
\def\magyar@opt@accents@@high{\def\magyar@opt@@umlaut{\umlauthigh}}
\def\magyar@opt@accents@@low{\def\magyar@opt@@umlaut{\umlautlow\umlautelow}}
@@ -840,14 +840,18 @@
\def\magyar@opt@@openqq{2}% =down
\fi
\fi
+\ifnum\magyar@opt@@partnumber >0 \let\magyar@needopt@hunumbers\@empty \fi
+\ifnum\magyar@opt@@chapternumber>0 \let\magyar@needopt@hunumbers\@empty \fi
\expandafter\ifx\csname magyar@needopt@hunumbers\endcsname\relax\else
\ifnum\magyar@opt@@hunumbers=0
\@@magyar@error{(chapter|part)number=... needs hunumbers=yes}%
\magyar@opt@@hunumbers1
\fi
\def\magyar@hunumbers@noclassmod{%
- \@@magyar@error{unsupported \string\documentclass,\MessageBreak (chapter|part)number=... disabled}%
+ \@@magyar@error{unsupported \string\documentclass,\MessageBreak
+ hunumbers=yes,chapternumber=,partnumber= disabled}%
}%
+ \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}%
\AtBeginDocument\magyar@hunumbers@errmsg
\fi
\if0\magyar@opt@@shorthandcs\else