summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/tex/platex/config/hyphen.cfg40
1 files changed, 24 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/platex/config/hyphen.cfg b/Master/texmf-dist/tex/platex/config/hyphen.cfg
index 64480d823a1..c026220a10a 100644
--- a/Master/texmf-dist/tex/platex/config/hyphen.cfg
+++ b/Master/texmf-dist/tex/platex/config/hyphen.cfg
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2013/05/16 v3.9f The Babel package]
+%%\ProvidesFile{babel.dtx}[2013/10/10 v3.9g The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989 -- 2008 by Johannes Braams,
%% TeXniek
@@ -47,19 +47,24 @@
%% TeXniek
%% by Javier Bezos
%% all rights reserved.
-\xdef\bbl@format{\jobname}
\ifx\ProvidesFile\@undefined
\def\ProvidesFile#1[#2 #3 #4]{%
\wlog{File: #1 #4 #3 <#2>}%
- \let\ProvidesFile\@undefined
- }
+ \let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{hyphen.cfg}
- [2013/05/16 v3.9f %
- Babel language switching mechanism]
+\ProvidesFile{hyphen.cfg}[2013/10/10 3.9g Babel hyphens]
+\xdef\bbl@format{\jobname}
\ifx\AtBeginDocument\@undefined
+ \def\@empty{}
\let\orig@dump\dump
- \input plain.def\relax
+ \def\dump{%
+ \ifx\@ztryfc\@undefined
+ \else
+ \toks0=\expandafter{\@preamblecmds}%
+ \edef\@preamblecmds{\noexpand\@begindocumenthook\the\toks0}%
+ \def\@begindocumenthook{}%
+ \fi
+ \let\dump\orig@dump\let\orig@dump\@undefined\dump}
\fi
\ifx\language\@undefined
\csname newcount\endcsname\language
@@ -78,7 +83,7 @@
\countdef\last@language=19
\def\addlanguage{\alloc@9\language\chardef\@cclvi}
\fi
-\toks8{Babel <3.9f> and hyphenation patterns for }%
+\toks8{Babel <3.9g> and hyphenation patterns for }%
\def\process@line#1#2 #3 #4 {%
\ifx=#1%
\process@synonym{#2}%
@@ -191,13 +196,16 @@
\errhelp{language.dat loads no language, only synonyms}
\errmessage{Orphan language synonym}
\fi
-\ifx\addto@hook\@undefined
-\else
- \edef\bbl@tempa{%
- \noexpand\typeout{\the\toks8 \the\last@language\space languages
- loaded.}}%
- \expandafter\addto@hook\expandafter\everyjob\expandafter{\bbl@tempa}
-\fi
+\edef\bbl@tempa{%
+ \everyjob{%
+ \the\everyjob
+ \ifx\typeout\@undefined
+ \immediate\write16%
+ \else
+ \noexpand\typeout
+ \fi
+ {\the\toks8 \the\last@language\space languages loaded.}}}
+\bbl@tempa
\let\bbl@line\@undefined
\let\process@line\@undefined
\let\process@synonym\@undefined