From 3399f9bd642efb2e14d5175d693a0b844873747f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Dec 2015 23:23:26 +0000 Subject: babel-icelandic (29dec15) git-svn-id: svn://tug.org/texlive/trunk@39234 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/generic/babel-icelandic/icelandic.ldf | 164 ++++++++++++++------- 1 file changed, 108 insertions(+), 56 deletions(-) (limited to 'Master/texmf-dist/tex/generic/babel-icelandic') diff --git a/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf b/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf index 037c786a84a..5653be7c5f7 100644 --- a/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf +++ b/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf @@ -37,19 +37,13 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{icelandic} - [2005/03/30 v1.1g Icelandic support from the babel system] + [2015/12/29 v1.2a Icelandic support from the babel system] %% File iceland.dtx -%% Babel package for LaTeX version 2e -%% Copyright (C) 1989--2005 -%% by Johannes Braams, TeXniek %% Icelandic Language Definition File -%% Copyright (C) 1996--2005 +%% Copyright (C) 1996--2015 %% by Einar \'Arnason %% Johannes Braams, TeXniek -%% Please report errors to: Einar \'Arnason -%% einar at lif.hi.is -%% or to: J.L. Braams -%% babel at braams.cistron.nl +%% Javier Bezos (1.2a) %% \def\bbl@tempa{icelandic} \ifx\CurrentOption\bbl@tempa @@ -67,42 +61,56 @@ \else \if@compatibility \@Two@Efalse \fi \@FI@ -\initiate@active@char{"} -\@namedef{extras\CurrentOption}{% - \languageshorthands{icelandic}} -\expandafter\addto\csname extras\CurrentOption\endcsname{% - \bbl@activate{"}} -\addto\noextrasicelandic{\bbl@deactivate{"}} \providehyphenmins{\CurrentOption}{\tw@\tw@} -\@namedef{captions\CurrentOption}{% - \def\prefacename{Form\'{a}li}% - \def\refname{Heimildir}% - \def\abstractname{\'{U}tdr\'{a}ttur}% - \def\bibname{Heimildir}% - \def\chaptername{Kafli}% - \def\appendixname{Vi{\dh}auki}% - \def\contentsname{Efnisyfirlit}% - \def\listfigurename{Myndaskr\'{a}}% - \def\listtablename{T\"{o}fluskr\'{a}}% - \def\indexname{Atri{\dh}isor{\dh}askr\'{a}}% - \def\figurename{Mynd}% - \def\tablename{Tafla}% - \def\partname{Hluti}% - \def\enclname{Hj\'{a}lagt}% - \def\ccname{Samrit}% - \def\headtoname{Til:}% in letter - \def\pagename{Bla{\dh}s\'{\i}{\dh}a}% - \def\seename{Sj\'{a}}% - \def\alsoname{Sj\'{a} einnig}% - \def\proofname{S\"{o}nnun}% - \def\glossaryname{Or{\dh}alisti}% - } -\def\dateicelandic{% - \def\today{\number\day.~\ifcase\month\or - jan\'{u}ar\or febr\'{u}ar\or mars\or apr\'{\i}l\or ma\'{\i}\or - j\'{u}n\'{\i}\or j\'{u}l\'{\i}\or \'{a}g\'{u}st\or september\or - okt\'{o}ber\or n\'{o}vember\or desember\fi - \space\number\year}} +\StartBabelCommands*{icelandic}{captions} + [unicode, charset=utf8, fontenc=EU1 EU2] + \SetString{\prefacename}{Formáli} + \SetString{\abstractname}{Útdráttur} + \SetString{\appendixname}{Viðauki} + \SetString{\listfigurename}{Myndaskrá} + \SetString{\listtablename}{Töfluskrá} + \SetString{\indexname}{Atriðisorðaskrá} + \SetString{\enclname}{Hjálagt} + \SetString{\pagename}{Blaðsíða} + \SetString{\seename}{Sjá} + \SetString{\alsoname}{Sjá einnig} + \SetString{\proofname}{Sönnun} + \SetString{\glossaryname}{Orðalisti} +\StartBabelCommands*{icelandic}{date} + [unicode, charset=utf8, fontenc=EU1 EU2] + \SetStringLoop{month#1name}{% + janúar,febrúar,mars,apríl,maí,júní, + júlí,ágúst,september,október,nóvember,desember} +\StartBabelCommands*{icelandic}{captions} + \SetString{\prefacename}{Form\'{a}li} + \SetString{\refname}{Heimildir} + \SetString{\abstractname}{\'{U}tdr\'{a}ttur} + \SetString{\bibname}{Heimildir} + \SetString{\chaptername}{Kafli} + \SetString{\appendixname}{Vi{\dh}auki} + \SetString{\contentsname}{Efnisyfirlit} + \SetString{\listfigurename}{Myndaskr\'{a}} + \SetString{\listtablename}{T\"{o}fluskr\'{a}} + \SetString{\indexname}{Atri{\dh}isor{\dh}askr\'{a}} + \SetString{\figurename}{Mynd} + \SetString{\tablename}{Tafla} + \SetString{\partname}{Hluti} + \SetString{\enclname}{Hj\'{a}lagt} + \SetString{\ccname}{Samrit} + \SetString{\headtoname}{Til:} % in letter + \SetString{\pagename}{Bla{\dh}s\'{\i}{\dh}a} + \SetString{\seename}{Sj\'{a}} + \SetString{\alsoname}{Sj\'{a} einnig} + \SetString{\proofname}{S\"{o}nnun} + \SetString{\glossaryname}{Or{\dh}alisti} +\StartBabelCommands*{icelandic}{date} + \SetStringLoop{month#1name}{% + jan\'{u}ar,febr\'{u}ar,mars,apr\'{\i}l,ma\'{\i},j\'{u}n\'{\i},% + j\'{u}l\'{\i},\'{a}g\'{u}st,september,okt\'{o}ber,n\'{o}vember,desember} + \SetString\today{% + {\number\day}.~\@nameuse{month\romannumeral\month name} + {\number\year}} +\EndBabelCommands \begingroup \catcode`\"12 \def\x{\endgroup \def\@SS{\mathchar"7019 } @@ -116,6 +124,7 @@ \let\irqq\grqq \let\iflqq\frqq \let\ifrqq\flqq +\initiate@active@char{"} \declare@shorthand{icelandic}{"`}{\glqq} \declare@shorthand{icelandic}{"'}{\grqq} \declare@shorthand{icelandic}{">}{\frqq} @@ -139,22 +148,65 @@ \pl@temp=-\pl@down \advance\pl@temp by\dp2 \dp1=\pl@temp \leavevmode \kern\pl@right\lower\pl@down\box1\kern-\pl@left #1} -\DeclareTextCommand{\oob}{T1}{\sob {o}{.85}{0}{.04}{0}} -\DeclareTextCommand{\Oob}{T1}{\sob {O}{.7}{0}{0}{0}} -\DeclareTextCommand{\ooob}{T1}{\sob {ó}{.85}{0}{.04}{0}} -\DeclareTextCommand{\OOob}{T1}{\sob {Ó}{.7}{0}{0}{0}} -\DeclareTextCommand{\eob}{T1}{\sob {e}{1}{0}{.04}{0}} -\DeclareTextCommand{\Eob}{T1}{\sob {E}{1}{0}{.04}{0}} -\DeclareTextCommand{\eeob}{T1}{\sob {é}{1}{0}{.04}{0}} -\DeclareTextCommand{\EEob}{T1}{\sob {É}{1}{0}{.04}{0}} +\DeclareTextCommandDefault{\oob}{\sob{o}{.85}{0}{.04}{0}} +\DeclareTextCommandDefault{\Oob}{\sob{O}{.7}{0}{0}{0}} +\DeclareTextCommandDefault{\ooob}{\sob{\'{o}}{.85}{0}{.04}{0}} +\DeclareTextCommandDefault{\OOob}{\sob{\'{O}}{.7}{0}{0}{0}} +\DeclareTextCommandDefault{\eob}{\sob{e}{1}{0}{.04}{0}} +\DeclareTextCommandDefault{\Eob}{\sob{E}{1}{0}{.04}{0}} +\DeclareTextCommandDefault{\eeob}{\sob{\'{e}}{1}{0}{.04}{0}} +\DeclareTextCommandDefault{\EEob}{\sob{\'{E}}{1}{0}{.04}{0}} \declare@shorthand{icelandic}{"o}{\oob} \declare@shorthand{icelandic}{"O}{\Oob} -\declare@shorthand{icelandic}{"ó}{\ooob} -\declare@shorthand{icelandic}{"Ó}{\OOob} \declare@shorthand{icelandic}{"e}{\eob} \declare@shorthand{icelandic}{"E}{\Eob} -\declare@shorthand{icelandic}{"é}{\eeob} -\declare@shorthand{icelandic}{"É}{\EEob} +\StartBabelCommands*{icelandic}{captions} + [unicode, charset=utf8, fontenc=EU1 EU2] + \AfterBabelCommands{% + \newcommand\icelandic@og{% + \edef\icelandic@tempa##1{% + \noexpand\DeclareTextCommand + {##1}{\ifcase\bbl@engine\or EU2\or EU1\fi}}% + \icelandic@tempa{\oob}{Ç«}% + \icelandic@tempa{\Oob}{Ǫ}% + \icelandic@tempa{\ooob}{\'{Ç«}}% + \icelandic@tempa{\OOob}{\'{Ǫ}}% + \icelandic@tempa{\eob}{Ä™}% + \icelandic@tempa{\Eob}{Ę}% + \icelandic@tempa{\eeob}{\'{Ä™}}% + \icelandic@tempa{\EEob}{\'{Ę}}% + \declare@shorthand{icelandic}{"ó}{\ooob}% + \declare@shorthand{icelandic}{"Ó}{\OOob}% + \declare@shorthand{icelandic}{"é}{\eeob}% + \declare@shorthand{icelandic}{"É}{\EEob}}} +\StartBabelCommands*{icelandic}{captions} + \AfterBabelCommands{% + \providecommand\icelandic@og{% + \declare@shorthand{icelandic}{"^^db}{\OOob}% + \declare@shorthand{icelandic}{"^^e9}{\eeob}% + \declare@shorthand{icelandic}{"^^c9}{\EEob}% + \declare@shorthand{icelandic}{"^^fb}{\ooob}% + \@expandtwoargs\in@{,utf8old,}{,\BabelModifiers,}% + \ifin@ + \declare@shorthand{icelandic}{"^^c3}{\icelandic@preq}% + \@namedef{icelandic@preq@^^b3}{\ooob}% + \@namedef{icelandic@preq@^^93}{\OOob}% + \@namedef{icelandic@preq@^^a9}{\eeob}% + \@namedef{icelandic@preq@^^89}{\EEob}% + \def\icelandic@preq##1{% + \@ifundefined{icelandic@preq@\string##1}% + {"{}\UTFviii@two@octets ^^c3##1}% + {\@nameuse{icelandic@preq@\string##1}}}% + \fi}% + \icelandic@og + \let\icelandic@og\relax} +\EndBabelCommands + +\@namedef{extras\CurrentOption}{% + \languageshorthands{icelandic}} +\expandafter\addto\csname extras\CurrentOption\endcsname{% + \bbl@activate{"}} +\addto\noextrasicelandic{\bbl@deactivate{"}} \mathchardef\m@comma="013B \def\@comma@{\ifmmode\m@comma\else,\fi} \def\f@thousandsep{\ifmmode\mskip5.5mu\else\penalty\@M\kern.3em\fi} \newcommand{\decimalsep}{.} \newcommand{\thousandsep}{\@comma@} -- cgit v1.2.3