summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel/estonian.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/estonian.ldf')
-rw-r--r--Master/texmf-dist/tex/generic/babel/estonian.ldf90
1 files changed, 47 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/estonian.ldf b/Master/texmf-dist/tex/generic/babel/estonian.ldf
index 889c01e0549..e6d95b898ba 100644
--- a/Master/texmf-dist/tex/generic/babel/estonian.ldf
+++ b/Master/texmf-dist/tex/generic/babel/estonian.ldf
@@ -7,7 +7,7 @@
%% estonian.dtx (with options: `code')
%% This is a generated file.
%%
-%% Copyright 1989-2005 Johannes L. Braams and any individual authors
+%% Copyright 1989-2009 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.
@@ -37,16 +37,17 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
\ProvidesLanguage{estonian}
- [2008/07/07 v1.0j Estonian support from the babel system]
+ [2009/03/08 v1.0k Estonian support from the babel system]
%% File `estonian.dtx'
%% Babel package for LaTeX version 2e
-%% Copyright (C) 1989 - 2005
+%% Copyright (C) 1989 - 2009
%% by Johannes Braams, TeXniek
%% Estonian language Definition File
-%% Copyright (C) 1991 - 2005
+%% Copyright (C) 1991 - 2009
%% by Enn Saar, Tartu Astrophysical Observatory
-%% Please report errors to: Enn Saar saar at aai.ee
-%% (or J.L. Braams babel atbraams.cistron.nl
+%% Please report errors to: Jaan Vajakas jv at ut.ee
+%% (or Enn Saar saar at aai.ee
+%% or J. L. Braams babel at braams.xs4all.nl)
\LdfInit{estonian}\captionsestonian
\ifx\l@estonian\@undefined
\@nopatterns{Estonian}
@@ -70,15 +71,15 @@
\def\pagename{Lk.}%
\def\seename{vt.}%
\def\alsoname{vt. ka}%
- \def\proofname{T~oestus}%
- \def\glossaryname{Glossary}% <-- Needs translation
}
\begingroup \catcode`\"\active
\def\x{\endgroup
\addto\captionsestonian{%
\def\abstractname{Kokkuv~ote}%
- \def\chaptername{Peat"ukk}}}
-\x
+ \def\chaptername{Peat"ukk}%
+ \def\proofname{T~oestus}%
+ \def\glossaryname{S~onastik}%
+}}\x
\begingroup \catcode`\"\active
\def\x{\endgroup
\def\month@estonian{\ifcase\month\or
@@ -89,38 +90,43 @@
\def\dateestonian{%
\def\today{\number\day.\space\month@estonian
\space\number\year.\space a.}}
+\def\et@sdef#1{\babel@save#1\def#1}
+
+\@ifundefined{documentclass}
+ {\let\ifet@latex\iffalse}
+ {\let\ifet@latex\iftrue}
\initiate@active@char{"}
\initiate@active@char{~}
\addto\extrasestonian{\languageshorthands{estonian}}
\addto\extrasestonian{\bbl@activate{"}\bbl@activate{~}}
-\addto\extrasestonian{\babel@save\"\umlautlow\babel@save\~\tildelow}
\addto\extrasestonian{\bbl@frenchspacing}
\addto\noextrasestonian{\bbl@nonfrenchspacing}
\providehyphenmins{\CurrentOption}{\tw@\tw@}
-\def\tildelow{\def\~{\protect\gentilde}}
-\def\gentilde#1{\if#1o\newtilde{#1}\else\if#1O\newtilde{#1}%
- \else\newcheck{#1}%
- \fi\fi}
-\def\newtilde#1{\leavevmode\allowhyphens
- {\U@D 1ex%
- {\setbox\z@\hbox{\char126}\dimen@ -.45ex\advance\dimen@\ht\z@
- \ifdim 1ex<\dimen@ \fontdimen5\font\dimen@ \fi}%
- \accent126\fontdimen5\font\U@D #1}\allowhyphens}
-\def\newcheck#1{\leavevmode\allowhyphens
- {\U@D 1ex%
- {\setbox\z@\hbox{\char20}\dimen@ -.45ex\advance\dimen@\ht\z@
- \ifdim 1ex<\dimen@ \fontdimen5\font\dimen@ \fi}%
- \accent20\fontdimen5\font\U@D #1}\allowhyphens}
+\addto\extrasestonian{\umlautlow}
+\addto\noextrasestonian{\umlauthigh}
+\ifet@latex
+ \addto\extrasestonian{%
+ \expandafter\et@sdef\csname OT1\string\~\endcsname{\et@gentilde}}
+\else
+ \addto\extrasestonian{\et@sdef\~{\et@gentilde}}
+\fi
+\def\et@gentilde#1{%
+ \if#1s\v{#1}\else\if#1S\v{#1}\else%
+ \if#1z\v{#1}\else\if#1Z\v{#1}\else%
+ \et@newtilde{#1}%
+ \fi\fi\fi\fi}
+\def\et@newtilde#1{%
+ \leavevmode\bgroup\U@D 1ex%
+ {\setbox\z@\hbox{\char126}\dimen@ -.45ex\advance\dimen@\ht\z@
+ \ifdim 1ex<\dimen@ \fontdimen5\font\dimen@ \fi}%
+ \accent126\fontdimen5\font\U@D #1%
+ \egroup}
\begingroup \catcode`\"12
\edef\x{\endgroup
\def\noexpand\dq{"}
\def\noexpand\til{~}}
\x
-\let\dieresis\"
-\let\texttilde\~
\ifx\f@encoding\bbl@t@one
- \let\@umlaut\dieresis
- \let\@tilde\texttilde
\DeclareTextComposite{\~}{T1}{s}{178}
\DeclareTextComposite{\~}{T1}{S}{146}
\DeclareTextComposite{\~}{T1}{z}{186}
@@ -131,15 +137,13 @@
\DeclareTextComposite{\"}{T1}{>}{20}
\else
\wlog{Warning: Hyphenation would work better for the T1 encoding.}
- \let\@umlaut\newumlaut
- \let\@tilde\gentilde
\fi
-\declare@shorthand{estonian}{"a}{\textormath{\"{a}}{\ddot a}}
-\declare@shorthand{estonian}{"A}{\textormath{\"{A}}{\ddot A}}
-\declare@shorthand{estonian}{"o}{\textormath{\"{o}}{\ddot o}}
-\declare@shorthand{estonian}{"O}{\textormath{\"{O}}{\ddot O}}
-\declare@shorthand{estonian}{"u}{\textormath{\"{u}}{\ddot u}}
-\declare@shorthand{estonian}{"U}{\textormath{\"{U}}{\ddot U}}
+\declare@shorthand{estonian}{"a}{\textormath{\"{a}\allowhyphens}{\ddot a}}
+\declare@shorthand{estonian}{"A}{\textormath{\"{A}\allowhyphens}{\ddot A}}
+\declare@shorthand{estonian}{"o}{\textormath{\"{o}\allowhyphens}{\ddot o}}
+\declare@shorthand{estonian}{"O}{\textormath{\"{O}\allowhyphens}{\ddot O}}
+\declare@shorthand{estonian}{"u}{\textormath{\"{u}\allowhyphens}{\ddot u}}
+\declare@shorthand{estonian}{"U}{\textormath{\"{U}\allowhyphens}{\ddot U}}
\declare@shorthand{estonian}{"`}{%
\textormath{\quotedblbase}{\mbox{\quotedblbase}}}
\declare@shorthand{estonian}{"'}{%
@@ -148,12 +152,12 @@
\textormath{\guillemotleft}{\mbox{\guillemotleft}}}
\declare@shorthand{estonian}{">}{%
\textormath{\guillemotright}{\mbox{\guillemotright}}}
-\declare@shorthand{estonian}{~o}{\textormath{\@tilde o}{\tilde o}}
-\declare@shorthand{estonian}{~O}{\textormath{\@tilde O}{\tilde O}}
-\declare@shorthand{estonian}{~s}{\textormath{\@tilde s}{\check s}}
-\declare@shorthand{estonian}{~S}{\textormath{\@tilde S}{\check S}}
-\declare@shorthand{estonian}{~z}{\textormath{\@tilde z}{\check z}}
-\declare@shorthand{estonian}{~Z}{\textormath{\@tilde Z}{\check Z}}
+\declare@shorthand{estonian}{~o}{\textormath{\~{o}\allowhyphens}{\tilde o}}
+\declare@shorthand{estonian}{~O}{\textormath{\~{O}\allowhyphens}{\tilde O}}
+\declare@shorthand{estonian}{~s}{\textormath{\v{s}\allowhyphens}{\check s}}
+\declare@shorthand{estonian}{~S}{\textormath{\v{S}\allowhyphens}{\check S}}
+\declare@shorthand{estonian}{~z}{\textormath{\v{z}\allowhyphens}{\check z}}
+\declare@shorthand{estonian}{~Z}{\textormath{\v{Z}\allowhyphens}{\check Z}}
\declare@shorthand{estonian}{"-}{\nobreak\-\bbl@allowhyphens}
\declare@shorthand{estonian}{"|}{%
\textormath{\nobreak\discretionary{-}{}{\kern.03em}%