blob: 0d7b39f291b7f440114b18c9e2d8df5743d51fc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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}
|