summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf b/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf
index 8ac16341d8f..3d2d7df0674 100644
--- a/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf
+++ b/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf
@@ -927,8 +927,9 @@
\fi
\def\magyar@hunumbers@noclassmod{%
\@@magyar@error{unsupported \string\documentclass,\MessageBreak
- hunumbers=yes,chapternumber=,partnumber= disabled}%
+ hunumbers=yes,chapternumber=...,partnumber=... disabled}%
}%
+ % This may get redefined to \@empty later.
\def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}%
\AtBeginDocument\magyar@hunumbers@errmsg
\fi
@@ -4833,6 +4834,7 @@
%
\def\magyar@gobbleopt[##1]{}%
% Dat: \newcommand etc. are not \global. Good.
+ \let\@onlypreamble\@gobble % In letter.cls .
\let\newdimen\@gobble
\let\newif\@gobble
\let\newskip\@gobble
@@ -5286,6 +5288,7 @@
}{}
\@@magyar@ifclassloaded{article}{%
+ % article.cls has no \chapter. We'll hook \part below though.
\let\magyar@hunumbers@errmsg\@empty
% Headings: inserting dots
% In order for this to take effect, \pagestyle{plain} should be put below
@@ -5346,7 +5349,10 @@
}{}
\@@magyar@ifclassloaded{letter}{%
- % Dat: no: \let\magyar@hunumbers@errmsg\@empty here
+ % letter.cls has no \part or \chapter. No need to hook anything here, but
+ % we make \magyar@hunumbers@errmsg just to pacify
+ % `\PassOptionsToPackage{defaults=prettiest}{magyar.ldf}'.
+ \let\magyar@hunumbers@errmsg\@empty
% Headings: inserting dots
% In order for this to take effect, \pagestyle{plain} should be put below
% \begin{document}.