diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-14 00:49:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-14 00:49:48 +0000 |
commit | 38f1b65b196333c6e8c121ff61f22a42e65f421a (patch) | |
tree | 677b403701a48b3bdd8bc235c86a9f15aad78240 /Master/texmf-dist/doc/latex | |
parent | b1138659c146932ccc6e9d3361502e5e85875fa0 (diff) |
magyar update (13sep09)
git-svn-id: svn://tug.org/texlive/trunk@15276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/magyar/magyar.ldf | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf index 0056f93f79e..404a3857287 100644 --- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf +++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf @@ -1939,9 +1939,15 @@ %** Fixes (redefines) the specified macro so postpara= and postsubpara= %** takes effect. It is useful to call this after a `\renewcommand\paragraph' %** in a package. Has no effect if the definition of #1 doesn't look like - %** the one in article.cls (i.e. \@startsection). + %** the one in article.cls (i.e. \@startsection) or if it's not defined + %** (such as in beamer.cls). %** @param #1 \paragraph or \subparagraph \def\magyar@paragraphfix#1{% + \ifx#1\@undefined\else + % Change only if defined. + \expandafter\magyar@paragraphfix@defined\expandafter#1\fi + } + \def\magyar@paragraphfix@defined#1{% \expandafter\magyar@pf@lowd\expandafter#1#1\hfuzz........\vfuzz } \def\magyar@pf@lowd#1#2#3#4#5#6#7#8#9\vfuzz{% @@ -2424,9 +2430,12 @@ \ifx\reserved@a\reserved@b\else \def\reserved@a{utf8}% \ifx\reserved@a\reserved@b\else - \def\reserved@a{cp1250}% + \def\reserved@a{utf8x}% \ifx\reserved@a\reserved@b\else - \magyar@sugg@ie@lowb{#4}% + \def\reserved@a{cp1250}% + \ifx\reserved@a\reserved@b\else + \magyar@sugg@ie@lowb{#4}% + \fi \fi \fi \fi |