blob: 8cbea2d488dcd14d28f9c258033b2005e9890def (
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
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{regions}[2014/09/29 v1.0 (NLCT) Sample package to test tracklang.sty]
\RequirePackage{tracklang}
\newcommand*{\weightunit}{kg}
\newcommand*{\lengthunit}{mm}
\newcommand*{\currencyunit}{}
\newcommand*{\unitname}{units}
\AnyTrackedLanguages
{%
\ForEachTrackedDialect{\this@dialect}{%
\IfTrackedLanguageFileExists{\this@dialect}%
{regions-}% prefix
{.ldf}%
{%
\PackageInfo{regions}{Loading `regions-\CurrentTrackedTag.ldf'
for language `\this@dialect'}%
\input{regions-\CurrentTrackedTag.ldf}%
\InputIfFileExists{regions-\CurrentTrackedLanguage.ldf}%
{}%
{%
\PackageWarning{regions}{No support for language
`\CurrentTrackedLanguage'}%
}%
}%
{%
\PackageWarning{regions}%
{No support for language `\this@dialect'}%
}%
}%
}
{% no tracked languages, default already set up
}
\endinput
|