summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel-latin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-24 22:40:16 +0000
committerKarl Berry <karl@freefriends.org>2014-06-24 22:40:16 +0000
commit22323d7c130b0ac0d9f2cc5609b38908e4928ae1 (patch)
tree53e1d4fa3a7bdf901afc58c5f70518a66e598cf2 /Master/texmf-dist/tex/generic/babel-latin
parent30899a0b2f9c153b100471780c2e536fd9653835 (diff)
babel-latin (3jun14)
git-svn-id: svn://tug.org/texlive/trunk@34389 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel-latin')
-rw-r--r--Master/texmf-dist/tex/generic/babel-latin/latin.ldf127
1 files changed, 66 insertions, 61 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-latin/latin.ldf b/Master/texmf-dist/tex/generic/babel-latin/latin.ldf
index 0ba24cc5c66..c99275b4587 100644
--- a/Master/texmf-dist/tex/generic/babel-latin/latin.ldf
+++ b/Master/texmf-dist/tex/generic/babel-latin/latin.ldf
@@ -5,41 +5,20 @@
%% The original source files were:
%%
%% latin.dtx (with options: `code')
+%%
%% This is a generated file.
%%
-%% Copyright 1989-2008 Johannes L. Braams and any individual authors
+%% Copyright 1989-2000 Johannes L. Braams and any individual authors
%% listed elsewhere in this file. All rights reserved.
%%
-%% This file was generated from file(s) of the Babel system.
-%% ---------------------------------------------------------
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2003/12/01 or later.
-%%
-%% This work has the LPPL maintenance status "maintained".
-%%
-%% The Current Maintainer of this work is Johannes Braams.
-%%
-%% This file may only be distributed together with a copy of the Babel
-%% system. You may however distribute the Babel system without
-%% such generated files.
-%%
-%% The list of all files belonging to the Babel distribution is
-%% given in the file `manifest.bbl'. See also `legal.bbl for additional
-%% information.
+%% This file is part of the Babel system release 3.7.
+%% --------------------------------------------------
%%
-%% The list of derived (unpacked) files belonging to the distribution
-%% and covered by LPPL is defined by the unpacking scripts (with
-%% extension .ins) which are part of the distribution.
-%%
-%% Copyright 1999-2007 Claudio Beccari All rights reserved.
+%% It may be distributed under the terms of the LaTeX Project Public
+%% License, as described in lppl.txt in the base LaTeX distribution.
+%% Either version 1.1 or, at your option, any later version.
\ProvidesFile{latin.ldf}
- [2008/07/06 v2.0l Latin support from the babel system]
+ [2014/06/01 v.3.0 Latin support from the babel system]
%% File `latin.dtx'
%% Babel package for LaTeX version 2e
%% Copyright (C) 1989 - 2008
@@ -54,7 +33,6 @@
\adddialect\l@latin0\fi
\bbl@declare@ttribute{latin}{medieval}{%
\addto\captionslatin{\def\prefacename{Pr{\ae}fatio}}%
- \def\november{Nouembris}%
\expandafter\addto\expandafter\extraslatin
\expandafter{\extrasmedievallatin}%
}
@@ -62,6 +40,19 @@
\expandafter\addto\expandafter\extraslatin
\expandafter{\extraswithprosodicmarks}%
}
+\bbl@declare@ttribute{latin}{classic}{%
+ \expandafter\addto\expandafter\extraslatin
+ \expandafter{\extrasclassic}%
+ }
+\ifx\l@classiclatin\undefined
+ \let\l@classiclatin\l@latin
+ \PackageWarningNoLine{babel}{%
+ Attention: hyphenation patterns for language\MessageBreak
+ classiclatin have not been loaded\MessageBreak
+ I go on using the modern Latin hyphenation patterns.\MessageBreak
+ Please, load the suitable patterns or upgrade your TeX distribution}
+\fi
+\addto\extrasclassic{\let\l@latin\l@classiclatin}
\@namedef{captionslatin}{%
\def\prefacename{Praefatio}%
\def\refname{Conspectus librorum}%
@@ -85,8 +76,10 @@
\def\proofname{Demonstratio}%
\def\glossaryname{Glossarium}%
}
+\addto\extraslatin{\def\november{Novembris}}
+\addto\extrasmedievallatin{\def\november{Nouembris}}
+\addto\extrasclassiclatin{\def\november{Nouembris}}
\def\datelatin{%
- \def\november{Novembris}%
\def\today{%
{\check@mathfonts\fontsize\sf@size\z@\math@fontsfalse\selectfont
\uppercase\expandafter{\romannumeral\day}}~\ifcase\month\or
@@ -104,9 +97,13 @@
\babel@savevariable\finalhyphendemerits
\finalhyphendemerits50000000}
\addto\extrasmedievallatin{%
- \babel@savevariable{\lccode`\V}%
- \babel@savevariable{\uccode`\u}%
- \lccode`\V=`\u \uccode`\u=`\V}
+\babel@savevariable{\lccode`\V}%
+\babel@savevariable{\uccode`\u}%
+\lccode`\V=`\u \uccode`\u=`\V}
+\addto\extrasclassiclatin{%
+\babel@savevariable{\lccode`\V}%
+\babel@savevariable{\uccode`\u}%
+\lccode`\V=`\u \uccode`\u=`\V}
\addto\extrasmedievallatin{%
\babel@savevariable{\lccode`\^^e6}% T1 \ae
\babel@savevariable{\uccode`\^^e6}% T1 \ae
@@ -121,6 +118,7 @@
\babel@savevariable{\uccode`\^^1b}% OT1 \OE
\babel@savevariable{\lccode`\^^1e}% OT1 \OE
\SetLatinLigatures}
+
\providecommand\SetLatinLigatures{%
\def\@tempA{T1}\ifx\@tempA\f@encoding
\catcode`\^^e6=11 \lccode`\^^e6=`\^^e6 \uccode`\^^e6=`\^^c6 % \ae
@@ -129,14 +127,14 @@
\catcode`\^^d7=11 \lccode`\^^d7=`\^^f7 % \OE
\else
\catcode`\^^1a=11 \lccode`\^^1a=`\^^1a \uccode`\^^1a=`\^^1d % \ae
- \catcode`\^^1d=11 \lccode`\^^1d=`\^^1a % \AE (^^])
+ \catcode`\^^1d=11 \lccode`\^^1d=`\^^1a % \AE
\catcode`\^^1b=11 \lccode`\^^1b=`\^^1b \uccode`\^^1b=`\^^1e % \oe
- \catcode`\^^1e=11 \lccode`\^^1e=`\^^1b % \OE (^^^)
+ \catcode`\^^1e=11 \lccode`\^^1e=`\^^1b % \OE
\fi
\let\@tempA\@undefined
}
\addto\extraslatin{\def\ProsodicMarksOn{%
- \GenericError{(latin)\@spaces\@spaces\@spaces\@spaces}%
+\GenericError{(latin)\@spaces\@spaces\@spaces\@spaces}%
{Latin language error: \string\ProsodicMarksOn\space
is defined by setting the\MessageBreak
language attribute to `withprosodicmarks'\MessageBreak
@@ -145,8 +143,6 @@
{See the Latin language description in the babel
documentation for explanation}{\@ehd}}}
\addto\extraslatin{\let\ProsodicMarksOff\relax}
-\@tempcnta=\catcode`\=
-\@tempcntb=\catcode`\^
\catcode`\= \active
\catcode`\^ \active
\addto\extraslatin{\languageshorthands{latin}}%
@@ -156,35 +152,36 @@
\addto\noextraswithprosodicmarks{\bbl@deactivate{=}}%
\addto\extraswithprosodicmarks{\ProsodicMarks}
\def\ProsodicMarks{%
- \def\ProsodicMarksOn{\catcode`\^ \active\catcode`\= \active}%
- \def\ProsodicMarksOff{\catcode`\^ 7\catcode`\= 12\relax}%
- \initiate@active@char{^}%
- \initiate@active@char{=}%
- \declare@shorthand{latin}{^a}{%
+\def\ProsodicMarksOn{\catcode`\^ 13\catcode`\= 13\relax}%
+\def\ProsodicMarksOff{\catcode`\^ 7\catcode`\= 12\relax}%
+}
+\initiate@active@char{^}%
+\initiate@active@char{=}%
+\declare@shorthand{latin}{^a}{%
\textormath{\u{a}\bbl@allowhyphens}{\hat{a}}}%
- \declare@shorthand{latin}{^e}{%
+\declare@shorthand{latin}{^e}{%
\textormath{\u{e}\bbl@allowhyphens}{\hat{e}}}%
- \declare@shorthand{latin}{^i}{%
+\declare@shorthand{latin}{^i}{%
\textormath{\u{\i}\bbl@allowhyphens}{\hat{\imath}}}%
- \declare@shorthand{latin}{^o}{%
+\declare@shorthand{latin}{^o}{%
\textormath{\u{o}\bbl@allowhyphens}{\hat{o}}}%
- \declare@shorthand{latin}{^u}{%
+\declare@shorthand{latin}{^u}{%
\textormath{\u{u}\bbl@allowhyphens}{\hat{u}}}%
- \declare@shorthand{latin}{=a}{%
+\declare@shorthand{latin}{=a}{%
\textormath{\={a}\bbl@allowhyphens}{\bar{a}}}%
- \declare@shorthand{latin}{=e}{%
+\declare@shorthand{latin}{=e}{%
\textormath{\={e}\bbl@allowhyphens}{\bar{e}}}%
- \declare@shorthand{latin}{=i}{%
+\declare@shorthand{latin}{=i}{%
\textormath{\={\i}\bbl@allowhyphens}{\bar{\imath}}}%
- \declare@shorthand{latin}{=o}{%
+\declare@shorthand{latin}{=o}{%
\textormath{\={o}\bbl@allowhyphens}{\bar{o}}}%
- \declare@shorthand{latin}{=u}{%
+\declare@shorthand{latin}{=u}{%
\textormath{\={u}\bbl@allowhyphens}{\bar{u}}}%
-}
-\catcode`\= \@tempcnta
-\catcode`\^ \@tempcntb
-\addto\extraswithprosodicmarks{\let\LatinMarksOn\ProsodicMarksOn}
-\addto\extraswithprosodicmarks{\let\LatinMarksOff\ProsodicMarksOff}
+\catcode`\= 12\relax
+\catcode`\^ 7\relax
+\addto\extraslatin{\def\LatinMarksOn{\shorthandon{^}\shorthandon{=}}}
+\addto\extraslatin{\def\LatinMarksOff{\shorthandoff{^}\shorthandoff{=}}}
+
\initiate@active@char{"}%
\addto\extraslatin{\bbl@activate{"}%
}
@@ -196,13 +193,21 @@
\fi
\lt@@next
}%
-\def\lt@allowhyphens{\nobreak\discretionary{-}{}{}\nobreak\hskip\z@skip}
+\def\lt@allowhyphens{\bbl@allowhyphens\discretionary{-}{}{}\bbl@allowhyphens}
\newcommand*{\lt@cwm}{\let\lt@n@xt\relax
\ifcat\noexpand\lt@temp a%
\let\lt@n@xt\lt@allowhyphens
\else
- \if\noexpand\lt@temp\string|%
- \def\lt@n@xt{\lt@allowhyphens\@gobble}%
+ \ifx\lt@temp\ae
+ \let\lt@n@xt\lt@allowhyphens
+ \else
+ \ifx\lt@temp\oe
+ \let\lt@n@xt\lt@allowhyphens
+ \else
+ \if\noexpand\lt@temp\string|%
+ \def\lt@n@xt{\lt@allowhyphens\@gobble}%
+ \fi
+ \fi
\fi
\fi
\lt@n@xt}%