You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.4 KiB
89 lines
2.4 KiB
\ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for icelandic]
|
|
\PolyglossiaSetup{icelandic}{
|
|
bcp47=is,
|
|
hyphennames={icelandic},
|
|
hyphenmins={2,2},
|
|
langtag=ISL,
|
|
fontsetup=true,
|
|
}
|
|
|
|
% BCP-47 compliant aliases
|
|
\setlanguagealias*{icelandic}{is}
|
|
|
|
\def\captionsicelandic{%
|
|
\def\refname{Heimildir}%
|
|
\def\abstractname{Útdráttur}%
|
|
\def\bibname{Heimildir}%
|
|
\def\prefacename{Formáli}%
|
|
\def\chaptername{Kafli}%
|
|
\def\appendixname{Viðauki}%
|
|
\def\contentsname{Efnisyfirlit}%
|
|
\def\listfigurename{Myndaskrá}%
|
|
\def\listtablename{Töfluskrá}%
|
|
\def\indexname{Atriðisorðaskrá}%
|
|
\def\figurename{Mynd}%
|
|
\def\tablename{Tafla}%
|
|
%\def\thepart{}%
|
|
\def\partname{Hluti}%
|
|
\def\pagename{Blaðsíða}%
|
|
\def\seename{Sjá}%
|
|
\def\alsoname{Sjá einnig}%
|
|
\def\enclname{Hjálagt}%
|
|
\def\ccname{Samrit}%
|
|
\def\headtoname{Til:}%
|
|
\def\proofname{Sönnun}%
|
|
\def\glossaryname{Orðalisti}%
|
|
}
|
|
|
|
\def\dateicelandic{%
|
|
\def\today{\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}%
|
|
}
|
|
|
|
\endinput
|
|
|
|
|
|
%%TODO: 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}
|
|
|