summaryrefslogtreecommitdiff
path: root/macros/generic/tracklang/CHANGES
blob: 8725ee915d77966276b1428c932ce21ebb5e4598 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
v1.5 (2020-06-30):

  * Removed redundant code and added debug message to
    \TrackLangAddToHook and \TrackLangRedefHook

  * Bug fix: removed spurious {\fi} from \@tracklang@test@if@file@exists@for@langII
    https://www.dickimaw-books.com/bugtracker.php?action=view&key=165

v1.4 (2019-11-30):

  * tracklang.tex:

    - Changed \TrackLangIfFileExists to also include script and
      variant in file search (search order has changed slightly).

    - Added \TrackLangRedefHook

    - New commands provided to assist integration with language
      packages:

      \TrackLangAddExtraRegionFile
      \TrackLangAddExtraScriptFile
      \TrackLangProvidePredefinedLanguage
      \TrackLangProvidePredefinedDialect

    - New switch \ifTrackLangShowVerbose for debugging

v1.3.9 (2019-11-11):

  * tracklang.tex:

    - added \TrackIfKnownLanguage

v1.3.8 (2019-10-06):

  * tracklang.tex:

   - added undetermined (und) language
   - added 'nil' as a dialect of 'undetermined'

  * tracklang.sty:

   - added \@tracklang@prelangpkgcheck@hook

v1.3.7 (2019-08.31):

  * tracklang.sty: corrected misspelt \AddTrackedLangage (should be
    \AddTrackedLanguage)

v1.3.6 (2018-05-13):

  * \GetTrackedDialectFromLanguageTag now sets
    \TrackedDialectClosestSubMatch.

v1.3.5 (2018-02-21):

  * Added check for polyglossia's \xpg@loaded

v1.3.4 (2017-03-25):

  * Fixed typo in \errhelp command name

  * Added \@tracklang@pkgwarn

  * Added dialects: furlan, kurmanji.

v1.3.3 (2016-11-03):

  * Renamed internal \tracklang@dialectmap@to@...
    and \tracklang@dialectmap@from@... to avoid ambiguity.

  * Fixed incorrect mappings in \SetCurrentTrackedDialect

  * New command \IfHookHasMappingFromTrackedDialect

v1.3.2 (2016-10-11):

  * Added check if \shellescape has been set to \relax
    by something loaded before tracklang.

v1.3.1 (2016-10-08):

  * Added missing files from tracklang.tds.zip

v1.3 (2016-10-07):

  * New files tracklang-scripts.tex, tracklang-scripts.sty
    tracklang-region-codes.tex

  * tracklang.tex:

    - Now sets and restores category code for @ if it's not initially 11
      (no change if it's already 11)

    - New command \TrackLocale{POSIX locale}
      and \TrackLanguageTag{BCP47 language tag}

    - New command \TrackLangFromEnv. (Queries locale environment
      variable using \TrackLangQueryEnv and, if successful,
      then parses and tracks the dialect. Also sets 
      \TrackLangEnvLang, \TrackLangEnvTerritory, 
      \TrackLangEnvCodeSet and \TrackLangEnvModifier.)

    - New command \TrackLangQueryEnv (queries the environment
      variables LC_ALL or LANG, if shell escape or \directlua
      available, and sets \TrackLangEnv)

    - New command \TrackLangQueryOtherEnv (like the above
      but queries an extra environment variable)

    - New command \TrackLangParseFromEnv (parses \TrackLangEnv,
      if defined and not empty, and sets \TrackLangEnvLang, 
      \TrackLangEnvTerritory, \TrackLangEnvCodeSet and
      \TrackLangEnvModifier)

    - Many other new commands. See Changes section of manual.

    - New language and dialect options

    - Bug fix: corrected ISO 639-1 language code in usorbian

v1.2 (2015/03/23):

  * New package options:
    IEirish, ga-IE (Language: Irish Gaelic. Region: Republic of Ireland)
    GBirish, ga-GB (Language: Irish Gaelic. Region: Northern Ireland)
    IEenglish, en-IE (Language: English. Region: Republic of Ireland)

v1.1 (2014/11/21):

  * Added \LetTrackLangOption and \@tracklang@declareoption

  * New package options: 
    en-US, en-AU, en-NZ, fr-BE, pt-BR,
    en-GB, en-CA, fr-CA, nl-BE, france, fr-FR,
    ngermanDE, de-DE, netherlands, nl-NL, de-BE, belgiangerman,
    portugal, pt-PT, spainspanish, es-ES, es-AR, es-BO, es-CL,
    es-CO, es-CR, es-CU, es-DO, es-EC, es-SV, es-GT, es-HN,
    es-MX, es-NI, es-PA, es-PY, es-PE, es-PR, es-UY, es-VE,
    de-CH, fr-CH, it-CH, rm-CH, italy, it-IT, vatican, it-VA,
    sanmarino, it-SM, sloveneistriaitalian, it-SI, slovenia,
    sloveneistriaslovenian, istriacountyitalian, it-HR,
    istriacountycroatian, croatia, maltese, maltamaltese,
    mt-MT, maltaenglish, en-MT, manx, isleofmanenglish, en-IM,
    jerseyenglish, en-JE, jersey-french, fr-JE, guernseyenglish,
    en-GG, guernseyfrench, fr-GG

v1.0 (2014/09/29):

  * Initial release