diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf new file mode 100644 index 00000000000..0d7b39f291b --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf @@ -0,0 +1,89 @@ +\ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for icelandic] +\makeatletter +\def\icelandic@font{\normalfontlatin} + +\ifx\l@icelandic\@undefined% + \xpg@nopatterns{Icelandic}% + \adddialect\l@icelandic0% +\fi + +\def\captionsicelandic{% + \def\refname{\texticelandic{Heimildir}}% + \def\abstractname{\texticelandic{Útdráttur}}% + \def\bibname{\texticelandic{Heimildir}}% + \def\prefacename{\texticelandic{Formáli}}% + \def\chaptername{\texticelandic{Kafli}}% + \def\appendixname{\texticelandic{Viðauki}}% + \def\contentsname{\texticelandic{Efnisyfirlit}}% + \def\listfigurename{\texticelandic{Myndaskrá}}% + \def\listtablename{\texticelandic{Töfluskrá}}% + \def\indexname{\texticelandic{Atriðisorðaskrá}}% + \def\figurename{\texticelandic{Mynd}}% + \def\tablename{\texticelandic{Tafla}}% + %\def\thepart{\texticelandic{}}% + \def\partname{\texticelandic{Hluti}}% + \def\pagename{\texticelandic{Blaðsíða}}% + \def\seename{\texticelandic{Sjá}}% + \def\alsoname{\texticelandic{Sjá einnig}}% + \def\enclname{\texticelandic{Hjálagt}}% + \def\ccname{\texticelandic{Samrit}}% + \def\headtoname{\texticelandic{Til:}}% + \def\proofname{\texticelandic{Sönnun}}% + \def\glossaryname{\texticelandic{Orðalisti}}% + } +\def\dateicelandic{% + \def\today{\texticelandic{\number\day.~\ifcase\month\or + janúar\or febrúar\or mars\or apríl\or maí\or + júní\or júlí\or ágúst\or september\or + október\or nóvember\or desember\fi + \space\number\year}}% + } + +\def\icelandic@language{\protect\language=\l@icelandic} + +\setlocalhyphenmins{icelandic}{2}{2}% + +\endinput + + +%% implement this as a separate module ? +%\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@} +% +%\newcommand{\tala}[2][\decimalsep]{% +% \def\@decimalsep{#1}\@tala#2\@empty,\@empty,\@nil} +%\def\@tala#1,#2,#3\@nil{% +% \ifx\@empty#2% +% \@integerpart{#1}% +% \else +% \@integerpart{#1}\@decimalsep\@decimalpart{#2}% +% \fi} +%\def\@decimalpart#1{\@@decimalpart#1\@empty\@empty\@empty} +%\def\@@decimalpart#1#2#3#4{#1#2#3% +% \ifx\@empty#4% +% \else +% \thousandsep\expandafter\@@decimalpart\expandafter#4% +% \fi} +%\def\@integerpart#1{\@@integerpart{}#1\@empty\@empty\@empty} +%\def\@@integerpart#1#2#3#4{% +% \ifx\@empty#2% +% \@addthousandsep#1\relax +% \else +% \ifx\@empty#3% +% \@addthousandsep\@empty\@empty#1#2\relax +% \else +% \ifx\@empty#4% +% \@addthousandsep\@empty#1#2#3\relax +% \else +% \@@integerpartafterfi{#1#2#3#4}% +% \fi +% \fi +% \fi} +%\def\@@integerpartafterfi#1\fi\fi\fi{\fi\fi\fi\@@integerpart{#1}} +%\def\@addthousandsep#1#2#3#4{#1#2#3% +% \if#4\relax +% \else +% \thousandsep\expandafter\@addthousandsep\expandafter#4% +% \fi} |