• No results found

1 The Scottish language

N/A
N/A
Protected

Academic year: 2021

Share "1 The Scottish language"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

1 The Scottish language

The file scottish.dtx 1 defines all the language definition macros for the Scottish language.

For this language currently no special definitions are needed or available.

The macro \LdfInit takes care of preventing that this file is loaded more than once, checking the category code of the @ sign, etc.

1 h∗codei

2 \LdfInit{scottish}\captionsscottish

When this file is read as an option, i.e. by the \usepackage command, scottish could be an ‘unknown’ language in which case we have to make it known. So we check for the existence of \l@scottish to see whether we have to do something here.

3 \ifx\l@scottish\@undefined

4 \@nopatterns{scottish}

5 \adddialect\l@scottish0\fi

The next step consists of defining commands to switch to (and from) the Scottish language.

\captionsscottish The macro \captionsscottish defines all strings used in the four standard doc- umentclasses provided with L A TEX.

6 \addto\captionsscottish{%

7 \def\prefacename{Preface}% <-- needs translation

8 \def\refname{Iomraidh}%

9 \def\abstractname{Br\‘{\i}gh}%

10 \def\bibname{Leabhraichean}%

11 \def\chaptername{Caibideil}%

12 \def\appendixname{Ath-sgr‘{\i}obhadh}%

13 \def\contentsname{Cl\‘ar-obrach}%

14 \def\listfigurename{Liosta Dhealbh }%

15 \def\listtablename{Liosta Chl\‘ar}%

16 \def\indexname{Cl\‘ar-innse}%

17 \def\figurename{Dealbh}%

18 \def\tablename{Cl\‘ar}%

19 \def\partname{Cuid}%

20 \def\enclname{a-staigh}%

21 \def\ccname{lethbhreac gu}%

22 \def\headtoname{gu}%

23 \def\pagename{t.d.}% abrv. ‘taobh duilleag’

24 \def\seename{see}% <-- needs translation

25 \def\alsoname{see also}% <-- needs translation

26 \def\proofname{Proof}% <-- needs translation

27 \def\glossaryname{Glossary}% <-- Needs translation

28 }

1

The file described in this section has version number v1.0g and was last revised on 2005/03/31. A contribution was made by Fraser Grant (FRASER@CERNVM).

1

(2)

\datescottish The macro \datescottish redefines the command \today to produce Scottish dates.

29 \def\datescottish{%

30 \def\today{%

31 \number\day\space \ifcase\month\or

32 am Faoilteach\or an Gearran\or am M\‘art\or an Giblean\or

33 an C\‘eitean\or an t-\‘Og mhios\or an t-Iuchar\or

34 L\‘unasdal\or an Sultuine\or an D\‘amhar\or

35 an t-Samhainn\or an Dubhlachd\fi

36 \space \number\year}}

\extrasscottish

\noextrasscottish

The macro \extrasscottish will perform all the extra definitions needed for the Scottish language. The macro \noextrasscottish is used to cancel the actions of

\extrasscottish. For the moment these macros are empty but they are defined for compatibility with the other language definition files.

37 \addto\extrasscottish{}

38 \addto\noextrasscottish{}

The macro \ldf@finish takes care of looking for a configuration file, setting the main language to be switched on at \begin{document} and resetting the category code of @ to its original value.

39 \ldf@finish{scottish}

40 h/codei

2

Referenties

GERELATEERDE DOCUMENTEN

The macro \ldf@finish takes care of looking for a configuration file, setting the main language to be switched on at \begin{document} and resetting the category code of @ to

We check the encoding and if not using T1, we make the accents expand but enabling hyphenation beyond the accent. If this is the case, not all break positions will be found in

The macro \ldf@finish takes care of looking for a configuration file, setting the main language to be switched on at \begin{document} and resetting the category code of @ to

The macro \ldf@finish takes care of looking for a configuration file, setting the main language to be switched on at \begin{document} and resetting the category code of @ to

The file english.dtx 1 defines all the language definition macros for the English language as well as for the American and Australian version of this language.. For the

10 Ιανουαρίου 2020 10 Φεβρουαρίου 2020 10 Μαρτίου 2020 10 Απριλίου 2020 10 Μαΐου 2020 10 Ιουνίου 2020 10 Ιουλίου 2020 10 Αυγούστου 2020 10 Σεπτεμβρίου

The macro \ldf@finish takes care of looking for a configuration file, setting the main language to be switched on at \begin{document} and resetting the category code of @ to

The macro \ldf@finish takes care of looking for a configuration file, setting the main language to be switched on at \begin{document} and resetting the category code of @ to