summaryrefslogtreecommitdiff
path: root/macros/generic
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic')
-rw-r--r--macros/generic/tracklang/CHANGES8
-rw-r--r--macros/generic/tracklang/README27
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-babel.pdfbin14843 -> 14855 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdfbin3821 -> 3820 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-de.pdfbin13613 -> 13625 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-poly.pdfbin3556 -> 3556 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-sr-poly.pdfbin0 -> 7547 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals.pdfbin12644 -> 12656 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de.pdfbin13613 -> 13625 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de2.pdfbin13613 -> 13625 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de3.pdfbin13595 -> 13607 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de4.pdfbin3817 -> 3820 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-poly.pdfbin3556 -> 3560 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2.pdfbin12644 -> 12656 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions.pdfbin13148 -> 13161 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-manx.pdfbin19773 -> 21945 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-map.pdfbin25988 -> 26000 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-map2.pdfbin25840 -> 25852 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-map3.pdfbin24912 -> 24924 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdfbin25456 -> 25468 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2.pdfbin14704 -> 14716 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang.pdfbin19540 -> 19552 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang2.pdfbin19790 -> 19802 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang3.pdfbin19802 -> 19814 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang4.pdfbin6198 -> 6202 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang5.pdfbin16902 -> 16914 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang6.pdfbin19885 -> 19897 bytes
-rw-r--r--macros/generic/tracklang/tracklang.dtx69
-rw-r--r--macros/generic/tracklang/tracklang.ins4
-rw-r--r--macros/generic/tracklang/tracklang.pdfbin738081 -> 742279 bytes
30 files changed, 75 insertions, 33 deletions
diff --git a/macros/generic/tracklang/CHANGES b/macros/generic/tracklang/CHANGES
index 452a7d0727..8725ee915d 100644
--- a/macros/generic/tracklang/CHANGES
+++ b/macros/generic/tracklang/CHANGES
@@ -1,3 +1,11 @@
+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:
diff --git a/macros/generic/tracklang/README b/macros/generic/tracklang/README
index b3e7de27b1..caac438bc4 100644
--- a/macros/generic/tracklang/README
+++ b/macros/generic/tracklang/README
@@ -1,14 +1,17 @@
-Generic TeX Bundle : tracklang v1.4
+Generic TeX Bundle : tracklang v1.5
-Last Modified : 2019-11-30
+Last Modified : 2020-06-30
-Author : Nicola Talbot
+Author : Nicola Talbot (dickimaw-books.com/contact)
-LaTeX usage: \usepackage{tracklang}
+Licence:
-TeX usage: \input tracklang
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/license/lppl1.3 for the details of that license.
-LaTeX code is in tracklang.sty. Generic TeX code is in tracklang.tex.
+Copyright 2014-2020 Nicola Talbot
+
+Description:
The tracklang package is provided for package developers who want a
simple interface to find out which languages the user has requested
@@ -16,12 +19,12 @@ through packages such as babel and polyglossia. *This package
doesn't provide any translations.* Its purpose is simply to track
which languages have been requested by the user.
-Related article: "Localisation of TeX documents: tracklang."
-TUGBoat, Volume 37 (2016), No. 3.
-http://www.tug.org/TUGboat/tb37-3/tb117talbot.pdf
+LaTeX usage: \usepackage{tracklang}
-This material is subject to the LaTeX Project Public License.
-See http://www.ctan.org/license/lppl1.3 for the details of that license.
+TeX usage: \input tracklang
-http://www.dickimaw-books.com/
+LaTeX code is in tracklang.sty. Generic TeX code is in tracklang.tex.
+Related article: "Localisation of TeX documents: tracklang."
+TUGBoat, Volume 37 (2016), No. 3.
+http://www.tug.org/TUGboat/tb37-3/tb117talbot.pdf
diff --git a/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf b/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf
index 2485ee53c7..35cb126385 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdf b/macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdf
index 88669915f9..73ce65645d 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals-de.pdf b/macros/generic/tracklang/samples/animals/sample-animals-de.pdf
index 07962fd91a..6ee9ea4efa 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals-de.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals-de.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals-poly.pdf b/macros/generic/tracklang/samples/animals/sample-animals-poly.pdf
index 476f2f418d..19144645ce 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals-poly.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals-poly.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals-sr-poly.pdf b/macros/generic/tracklang/samples/animals/sample-animals-sr-poly.pdf
new file mode 100644
index 0000000000..7e746cba6a
--- /dev/null
+++ b/macros/generic/tracklang/samples/animals/sample-animals-sr-poly.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals.pdf b/macros/generic/tracklang/samples/animals/sample-animals.pdf
index 3ec9a8145c..89632f165a 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals2-de.pdf b/macros/generic/tracklang/samples/animals/sample-animals2-de.pdf
index a509e00866..5f22dca624 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals2-de.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals2-de.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals2-de2.pdf b/macros/generic/tracklang/samples/animals/sample-animals2-de2.pdf
index c6a6e94de9..b2277b8b98 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals2-de2.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals2-de2.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals2-de3.pdf b/macros/generic/tracklang/samples/animals/sample-animals2-de3.pdf
index 09f9b2eb4d..069a48e10c 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals2-de3.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals2-de3.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals2-de4.pdf b/macros/generic/tracklang/samples/animals/sample-animals2-de4.pdf
index 271acfcba4..ce6a514e5c 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals2-de4.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals2-de4.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals2-poly.pdf b/macros/generic/tracklang/samples/animals/sample-animals2-poly.pdf
index 5f1807767c..8809c66b85 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals2-poly.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals2-poly.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/animals/sample-animals2.pdf b/macros/generic/tracklang/samples/animals/sample-animals2.pdf
index 8ef941783a..fbd7a234d6 100644
--- a/macros/generic/tracklang/samples/animals/sample-animals2.pdf
+++ b/macros/generic/tracklang/samples/animals/sample-animals2.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions.pdf b/macros/generic/tracklang/samples/regions/sample-regions.pdf
index 78c1c87385..fab8f6977b 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions2-manx.pdf b/macros/generic/tracklang/samples/regions/sample-regions2-manx.pdf
index 83340a0ce7..93f3428fb3 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions2-manx.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions2-manx.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions2-map.pdf b/macros/generic/tracklang/samples/regions/sample-regions2-map.pdf
index 635f2c1f79..db87696734 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions2-map.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions2-map.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions2-map2.pdf b/macros/generic/tracklang/samples/regions/sample-regions2-map2.pdf
index e664c00877..4784228ed8 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions2-map2.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions2-map2.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions2-map3.pdf b/macros/generic/tracklang/samples/regions/sample-regions2-map3.pdf
index aac08c391d..90546af2b0 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions2-map3.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions2-map3.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdf b/macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdf
index df2d0bc468..167a38fcf7 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/regions/sample-regions2.pdf b/macros/generic/tracklang/samples/regions/sample-regions2.pdf
index 0b26023e24..d7393715ff 100644
--- a/macros/generic/tracklang/samples/regions/sample-regions2.pdf
+++ b/macros/generic/tracklang/samples/regions/sample-regions2.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/sample-tracklang.pdf b/macros/generic/tracklang/samples/sample-tracklang.pdf
index aca2dd6c84..6d5a7dbf53 100644
--- a/macros/generic/tracklang/samples/sample-tracklang.pdf
+++ b/macros/generic/tracklang/samples/sample-tracklang.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/sample-tracklang2.pdf b/macros/generic/tracklang/samples/sample-tracklang2.pdf
index ef391b9912..d2f16a3e3e 100644
--- a/macros/generic/tracklang/samples/sample-tracklang2.pdf
+++ b/macros/generic/tracklang/samples/sample-tracklang2.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/sample-tracklang3.pdf b/macros/generic/tracklang/samples/sample-tracklang3.pdf
index fa54737ec5..8966ec23fa 100644
--- a/macros/generic/tracklang/samples/sample-tracklang3.pdf
+++ b/macros/generic/tracklang/samples/sample-tracklang3.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/sample-tracklang4.pdf b/macros/generic/tracklang/samples/sample-tracklang4.pdf
index ec3ffb3d4d..b65563f2fd 100644
--- a/macros/generic/tracklang/samples/sample-tracklang4.pdf
+++ b/macros/generic/tracklang/samples/sample-tracklang4.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/sample-tracklang5.pdf b/macros/generic/tracklang/samples/sample-tracklang5.pdf
index 48c0ad786b..3446d96ec5 100644
--- a/macros/generic/tracklang/samples/sample-tracklang5.pdf
+++ b/macros/generic/tracklang/samples/sample-tracklang5.pdf
Binary files differ
diff --git a/macros/generic/tracklang/samples/sample-tracklang6.pdf b/macros/generic/tracklang/samples/sample-tracklang6.pdf
index 037e2dade1..1f3cce82ec 100644
--- a/macros/generic/tracklang/samples/sample-tracklang6.pdf
+++ b/macros/generic/tracklang/samples/sample-tracklang6.pdf
Binary files differ
diff --git a/macros/generic/tracklang/tracklang.dtx b/macros/generic/tracklang/tracklang.dtx
index e071563fe3..22dd36860e 100644
--- a/macros/generic/tracklang/tracklang.dtx
+++ b/macros/generic/tracklang/tracklang.dtx
@@ -1,16 +1,16 @@
%\iffalse
% tracklang.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
-% -doc "tracklang-manual.tex"
-% -author "Nicola Talbot"
% -src "tracklang.sty\Z=>tracklang.sty"
% -src "tracklang.tex\Z=>tracklang.tex"
% -src "tracklang-region-codes.tex\Z=>tracklang-region-codes.tex"
% -src "tracklang-scripts.sty\Z=>tracklang-scripts.sty"
% -src "tracklang-scripts.tex\Z=>tracklang-scripts.tex"
+% -author "Nicola Talbot"
+% -doc "tracklang-manual.tex"
% -section "chapter"
% tracklang
-% Created on 2019/12/1 17:41
+% Created on 2020/6/30 11:55
%\fi
%\iffalse
%<*package>
@@ -33,7 +33,7 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2019 Nicola Talbot, all rights reserved.
+% Copyright (C) 2020 Nicola Talbot, all rights reserved.
% \fi
% \iffalse
%<*driver>
@@ -59,7 +59,7 @@
pdfauthor={Nicola L.C. Talbot},
pdftitle={tracklang: tracking language options}]{hyperref}
-\CheckSum{6156}
+\CheckSum{6210}
\appto\MacroFont{\scriptsize}
\renewcommand*{\usage}[1]{\textit{\hyperpage{#1}}}
@@ -278,11 +278,11 @@ and~\ref{tab:nonisoopts}}
%
%\MakeShortVerb{"}
%
-%\title{tracklang v1.4:
+%\title{tracklang v1.5:
%tracking language options}
%\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}}
%
-%\date{2019-11-30}
+%\date{2020-06-30}
%\maketitle
%
%\begin{abstract}
@@ -3583,7 +3583,7 @@ and~\ref{tab:nonisoopts}}
% packages such as \styfmt{etoolbox}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang}[2019/11/30 v1.4 (NLCT) Track Languages]
+\ProvidesPackage{tracklang}[2020/06/30 v1.5 (NLCT) Track Languages]
% \end{macrocode}
%\begin{macro}{\@tracklang@declareoption}
% Set up package options.
@@ -3879,7 +3879,7 @@ and~\ref{tab:nonisoopts}}
% Version info.
% \begin{macrocode}
\expandafter\def\csname ver@tracklang.tex\endcsname{%
- 2019/11/30 v1.4 (NLCT) Track Languages Generic Code}
+ 2020/06/30 v1.5 (NLCT) Track Languages Generic Code}
% \end{macrocode}
% Define a long command for determining the existence of a control
% sequence by its name. (\cs{relax} is considered undefined.)
@@ -11374,9 +11374,9 @@ and~\ref{tab:nonisoopts}}
}%
\fi
}%
- {%
- \fi
- }%
+% \end{macrocode}
+%\changes{1.5}{2020-06-30}{removed spurious code block}
+% \begin{macrocode}
}%
{%
\let\@tracklang@test@if@file@exists@next\@tracklang@test@if@file@exists@for@langIII
@@ -11597,16 +11597,19 @@ and~\ref{tab:nonisoopts}}
%
%\begin{macro}{\IfTrackedLanguageFileExists@orig}
%\changes{1.4}{2019-11-30}{new}
+%\changes{1.5}{2020-06-30}{added verbose messages}
%The new definition of \cs{IfTrackedLanguageFileExists} has a
%different order of priority. If the original behaviour is
%specifically required, this has the pre version 1.4 definition.
% \begin{macrocode}
\long\def\IfTrackedLanguageFileExists@orig#1#2#3#4#5{%
+ \@tracklang@verbose{Finding file for dialect `#1' (pre-v1.4)}%
\def\CurrentTrackedTag{}%
\SetCurrentTrackedDialect{#1}%
\IfTrackedDialect{#1}%
{%
\edef\CurrentTrackedTag{#1}%
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
@@ -11618,6 +11621,7 @@ and~\ref{tab:nonisoopts}}
{639-1}{\CurrentTrackedLanguage}}%
\ifx\CurrentTrackedRegion\empty
\let\CurrentTrackedTag\CurrentTrackedIsoCode
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}
{%
@@ -11628,21 +11632,25 @@ and~\ref{tab:nonisoopts}}
\TrackedIsoCodeFromLanguage
{639-2}{\CurrentTrackedLanguage}}%
\let\CurrentTrackedTag\CurrentTrackedIsoCode
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
}%
\else
\edef\CurrentTrackedTag{%
\CurrentTrackedIsoCode-\CurrentTrackedRegion}%
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}
{%
@@ -11655,25 +11663,30 @@ and~\ref{tab:nonisoopts}}
{639-2}{\CurrentTrackedLanguage}}%
\edef\CurrentTrackedTag{%
\CurrentTrackedIsoCode-\CurrentTrackedRegion}%
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\org@currenttrackedisocode
\let\org@currenttrackedisocode\CurrentTrackedIsoCode
\let\CurrentTrackedIsoCode\CurrentTrackedTag
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}
{%
\let\CurrentTrackedIsoCode\org@currenttrackedisocode
\let\CurrentTrackedTag\CurrentTrackedIsoCode
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedRegion
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
}%
@@ -11682,14 +11695,17 @@ and~\ref{tab:nonisoopts}}
}%
{%
\let\CurrentTrackedTag\CurrentTrackedIsoCode
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedRegion
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
}%
@@ -11720,40 +11736,49 @@ and~\ref{tab:nonisoopts}}
\ifx\CurrentTrackedIsoCode\empty
\ifx\CurrentTrackedRegion\empty
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
\else
\let\CurrentTrackedTag\CurrentTrackedRegion
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
\fi
\else
\ifx\CurrentTrackedRegion\empty
\let\CurrentTrackedTag\CurrentTrackedIsoCode
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
\else
\edef\CurrentTrackedTag{%
\CurrentTrackedIsoCode-\CurrentTrackedRegion}%
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedIsoCode
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedRegion
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}%
{#4}%
{%
\let\CurrentTrackedTag\CurrentTrackedLanguage
+ \@tracklang@verbose{Testing tag `\CurrentTrackedTag'}%
\@tracklang@IfFileExists{#2\CurrentTrackedTag#3}{#4}{#5}%
}%
}%
@@ -11890,9 +11915,11 @@ and~\ref{tab:nonisoopts}}
\@tracklang@ifundef{#2\CurrentTrackedLanguage}%
{%
% \end{macrocode}
-% No captions hook. Do the code now.
+% No captions hook. Do nothing (it's possible no language package
+% has been loaded).
+%\changes{1.5}{2020-06-30}{removed redundant code and added verbose message}
% \begin{macrocode}
- #1%
+ \@tracklang@verbose{no hook found for \CurrentTrackedDialect}%
}%
{%
\@tracklang@addtohook{#2}{\CurrentTrackedLanguage}{#1}%
@@ -11911,6 +11938,7 @@ and~\ref{tab:nonisoopts}}
% \end{macrocode}
% No captions hook.
% \begin{macrocode}
+ \@tracklang@verbose{no hook found for \CurrentTrackedDialect}%
}%
{%
\@tracklang@addtohook{#2}{\CurrentTrackedLanguage}{#1}%
@@ -12001,9 +12029,11 @@ and~\ref{tab:nonisoopts}}
\@tracklang@ifundef{#2\CurrentTrackedLanguage}%
{%
% \end{macrocode}
-% No captions hook. Do the code now.
+% No captions hook. Do nothing (it's possible no language package
+% has been loaded).
+%\changes{1.5}{2020-06-30}{removed redundant code and added verbose message}
% \begin{macrocode}
- #1%
+ \@tracklang@verbose{no hook found for \CurrentTrackedDialect}%
}%
{%
\@tracklang@redefhook{#2}{\CurrentTrackedLanguage}{#1}%
@@ -12022,6 +12052,7 @@ and~\ref{tab:nonisoopts}}
% \end{macrocode}
% No captions hook.
% \begin{macrocode}
+ \@tracklang@verbose{no hook found for \CurrentTrackedDialect}%
}%
{%
\@tracklang@redefhook{#2}{\CurrentTrackedLanguage}{#1}%
@@ -12406,7 +12437,7 @@ and~\ref{tab:nonisoopts}}
% Version info.
% \begin{macrocode}
\expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{%
- 2019/11/30 v1.4 (NLCT) Track Languages Regions}%
+ 2020/06/30 v1.5 (NLCT) Track Languages Regions}%
% \end{macrocode}
%
%\begin{macro}{\TrackLangRegionMap}
@@ -12799,7 +12830,7 @@ and~\ref{tab:nonisoopts}}
%\changes{1.3}{2016-10-07}{added tracklang-scripts.sty}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang-scripts}[2019/11/30 v1.4 (NLCT) Track
+\ProvidesPackage{tracklang-scripts}[2020/06/30 v1.5 (NLCT) Track
Language Scripts (LaTeX)]
\RequirePackage{tracklang}
\input{tracklang-scripts}
@@ -12841,7 +12872,7 @@ Language Scripts (LaTeX)]
% Version info.
% \begin{macrocode}
\expandafter\def\csname ver@tracklang-scripts.tex\endcsname{%
- 2019/11/30 v1.4 (NLCT) Track Languages Scripts (Generic)}%
+ 2020/06/30 v1.5 (NLCT) Track Languages Scripts (Generic)}%
% \end{macrocode}
%
%\begin{macro}{\TrackLangScriptsMap}
diff --git a/macros/generic/tracklang/tracklang.ins b/macros/generic/tracklang/tracklang.ins
index 019b391cd1..4b7bca1dde 100644
--- a/macros/generic/tracklang/tracklang.ins
+++ b/macros/generic/tracklang/tracklang.ins
@@ -1,10 +1,10 @@
-% tracklang.ins generated using makedtx version 1.2 2019/12/1 17:41
+% tracklang.ins generated using makedtx version 1.2 2020/6/30 11:55
\input docstrip
\preamble
tracklang.dtx
- Copyright 2019 Nicola Talbot
+ Copyright 2020 Nicola Talbot
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/generic/tracklang/tracklang.pdf b/macros/generic/tracklang/tracklang.pdf
index 8f0aeee5fc..a498800ab0 100644
--- a/macros/generic/tracklang/tracklang.pdf
+++ b/macros/generic/tracklang/tracklang.pdf
Binary files differ