summaryrefslogtreecommitdiff
path: root/macros/generic
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-07 03:00:39 +0000
committerNorbert Preining <norbert@preining.info>2019-10-07 03:00:39 +0000
commitba86549c94b1e8b6b19bc82b01e85a7e513e7586 (patch)
treea4a96c454b6e5f38834823746dde14a1101aa4a6 /macros/generic
parent37778869d20a42439b123bb0c553953f716886b1 (diff)
CTAN sync 201910070300
Diffstat (limited to 'macros/generic')
-rw-r--r--macros/generic/tracklang/CHANGES11
-rw-r--r--macros/generic/tracklang/README4
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-babel.pdfbin14855 -> 14855 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdfbin3859 -> 3820 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-de.pdfbin13625 -> 13625 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals-poly.pdfbin3593 -> 3559 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals.pdfbin12656 -> 12656 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de.pdfbin13625 -> 13625 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de2.pdfbin13625 -> 13625 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de3.pdfbin13607 -> 13607 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-de4.pdfbin3859 -> 3822 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2-poly.pdfbin3595 -> 3558 bytes
-rw-r--r--macros/generic/tracklang/samples/animals/sample-animals2.pdfbin12656 -> 12656 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions.pdfbin13161 -> 13161 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-manx.pdfbin19785 -> 19785 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-map.pdfbin26000 -> 26000 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-map2.pdfbin25852 -> 25852 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-map3.pdfbin24924 -> 24924 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdfbin25468 -> 25468 bytes
-rw-r--r--macros/generic/tracklang/samples/regions/sample-regions2.pdfbin14716 -> 14716 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang.pdfbin19552 -> 19552 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang2.pdfbin19802 -> 19802 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang3.pdfbin19814 -> 19814 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang4.pdfbin6241 -> 6202 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang5.pdfbin16914 -> 16914 bytes
-rw-r--r--macros/generic/tracklang/samples/sample-tracklang6.pdfbin19897 -> 19897 bytes
-rw-r--r--macros/generic/tracklang/tracklang.dtx75
-rw-r--r--macros/generic/tracklang/tracklang.ins2
-rw-r--r--macros/generic/tracklang/tracklang.pdfbin672797 -> 676481 bytes
29 files changed, 73 insertions, 19 deletions
diff --git a/macros/generic/tracklang/CHANGES b/macros/generic/tracklang/CHANGES
index 219eab6023..416116d3ee 100644
--- a/macros/generic/tracklang/CHANGES
+++ b/macros/generic/tracklang/CHANGES
@@ -1,3 +1,14 @@
+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
diff --git a/macros/generic/tracklang/README b/macros/generic/tracklang/README
index 6c314c6c46..bdbfd53bed 100644
--- a/macros/generic/tracklang/README
+++ b/macros/generic/tracklang/README
@@ -1,6 +1,6 @@
-Generic TeX Bundle : tracklang v1.3.7
+Generic TeX Bundle : tracklang v1.3.8
-Last Modified : 2019-08-31
+Last Modified : 2019-10-06
Author : Nicola Talbot
diff --git a/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf b/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf
index 526fd1af52..135162fdda 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 d29a53d2ef..b041feba54 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 778e6e0e21..0fd701147b 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 8fb67bafc1..7c14bbe47f 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.pdf b/macros/generic/tracklang/samples/animals/sample-animals.pdf
index cac9466213..f3b1cc7ba8 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 fcfa3e82ea..b2d5afa233 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 73fe437538..40a16a442a 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 0db2008c60..c90e064f31 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 e09a02d474..6ff1942239 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 9fe91c3e1a..78d5ec39e0 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 ca98c4a150..f6e3e8525a 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 126660e534..2adf3b9d03 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 d969f2992f..e3fdc40f47 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 1a12bd1f4d..badfd23383 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 2d1dc20f20..6d659b6bc5 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 b2591931bf..690bbf07de 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 3d44db0cf3..5d9a7c1c5c 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 5d140fe792..a2f66edfa4 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 f8b99abdca..1f5c6ea8c1 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 f0d8a57457..258262f906 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 175e007831..2609984b35 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 7e2f14ba1b..894b62d507 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 84acb9ee4e..1253e87c1b 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 9f2e19cc58..e8462de248 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 1768bcc3ce..b3415f2e22 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"
% -section "chapter"
+% -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"
% tracklang
-% Created on 2019/8/31 16:29
+% Created on 2019/10/6 15:08
%\fi
%\iffalse
%<*package>
@@ -59,7 +59,7 @@
pdfauthor={Nicola L.C. Talbot},
pdftitle={tracklang: tracking language options}]{hyperref}
-\CheckSum{3961}
+\CheckSum{3965}
\appto\MacroFont{\scriptsize}
\renewcommand*{\usage}[1]{\textit{\hyperpage{#1}}}
@@ -278,11 +278,11 @@ and~\ref{tab:nonisoopts}}
%
%\MakeShortVerb{"}
%
-%\title{tracklang v1.3.7:
+%\title{tracklang v1.3.8:
%tracking language options}
%\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}}
%
-%\date{2019-08-31}
+%\date{2019-10-06}
%\maketitle
%
%\begin{abstract}
@@ -321,7 +321,10 @@ and~\ref{tab:nonisoopts}}
%\styfmt{tracklang} to pick up this information, which is entirely up
%to the package authors, but at the moment there's no standard method
%for packages to detect the required language and region. The aim of
-%\styfmt{tracklang} is to provide that method.
+%\styfmt{tracklang} is to provide that method. In particular, the
+%emphasis is on using ISO language and region codes rather than
+%hard-coding the various language labels used by different language
+%packages.
%
%Related article: \qt{Localisation of \TeX\ documents:
%\styfmt{tracklang}.} TUGBoat, Volume~37 (2016), No.~3
@@ -2892,13 +2895,24 @@ and~\ref{tab:nonisoopts}}
%The first case prevents \styfmt{tracklang} from picking up
%the document class options but skips the check for known
%language packages. This check is redundant since this is
-%the language package, so the thing to decide is whether or
+%the language package, so you need to decide is whether or
%not to allow the user to set up the localisation information
%through the document class options.
%
-%(If you just use \cs{input}, there's a test at the start of
+%If you prefer \cs{RequirePackage} over \cs{input} but you want to make
+%\texttt{tracklang.sty} skip the check for known
+%language packages then (as from v1.3.8) define the pre-language
+%package check hook as follows:
+%\begin{verbatim}
+%\providecommand\@tracklang@prelangpkgcheck@hook{\endinput}
+%\RequirePackage{tracklang}[2019/10/06]
+%\end{verbatim}
+%This will still pick up languages supplied through the
+%document class options.
+%
+%If you just use \cs{input}, there's a test at the start of
%\texttt{tracklang.tex} to determine if it's already been loaded, so
-%you don't need to worry if the user has already loaded it.)
+%you don't need to worry if the user has already loaded it.
%
%When the language is set (using commands like \cs{selectlanguage}
%)
@@ -3250,7 +3264,7 @@ and~\ref{tab:nonisoopts}}
% packages such as \styfmt{etoolbox}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang}[2019/08/31 v1.3.7 (NLCT) Track Languages]
+\ProvidesPackage{tracklang}[2019/10/06 v1.3.8 (NLCT) Track Languages]
% \end{macrocode}
%\begin{macro}{\@tracklang@declareoption}
% Set up package options.
@@ -3290,6 +3304,18 @@ and~\ref{tab:nonisoopts}}
% provide a reliable user interface to determine which languages
% (and variants) have been loaded.
%
+%\begin{macro}{\@tracklang@prelangpkgcheck@hook}
+%In the event that any of the language packages choose to load this
+%package and use \texttt{tracklang.tex}'s commands to identify the
+%tracked languages and regions, then they can first define
+%\cs{@tracklang@prelangpkgcheck@hook} to do \cs{endinput} which will
+%skip the checks.
+%\changes{1.3.8}{2019-10-06}{new}
+% \begin{macrocode}
+\csname @tracklang@prelangpkgcheck@hook\endcsname
+% \end{macrocode}
+%\end{macro}
+%
% \begin{macrocode}
\ifx\@tracklang@languages\@empty
% \end{macrocode}
@@ -3534,7 +3560,7 @@ and~\ref{tab:nonisoopts}}
% Version info.
% \begin{macrocode}
\expandafter\def\csname ver@tracklang.tex\endcsname{%
- 2019/08/31 v1.3.7 (NLCT) Track Languages Generic Code}
+ 2019/10/06 v1.3.8 (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.)
@@ -5273,7 +5299,7 @@ and~\ref{tab:nonisoopts}}
%\begin{definition}
%\cs{AddTrackedLanguageIsoCodes}\marg{language}
%\end{definition}
-%Adds the ISO 639-1 and 639-2 ISO codes for the given language,
+%Adds the ISO 639-1, 639-2 and 639-3 ISO codes for the given language,
%which must have previously been declared using
%\cs{TrackLangNewLanguage}.
% \begin{macrocode}
@@ -7714,6 +7740,15 @@ and~\ref{tab:nonisoopts}}
% \end{macrocode}
%\end{macro}
%
+%\begin{macro}{\@tracklang@add@undetermined}
+%\changes{1.3.8}{2019-10-06}{new}
+%Undetermined language (ISO~636-2 code `und') for unknown languages.
+%There's no ISO 639-1 language code for this language.
+% \begin{macrocode}
+\TrackLangDeclareLanguageOption{undetermined}{}{und}{}{}{}{Latn}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\@tracklang@add@urdu}
% \begin{macrocode}
\TrackLangDeclareLanguageOption{urdu}{ur}{urd}{}{}{}{Arab}
@@ -8714,6 +8749,14 @@ and~\ref{tab:nonisoopts}}
\TrackLangDeclareDialectOption{GBwelsh}{welsh}{GB}{}{}{}{}
% \end{macrocode}
%\end{macro}
+%\begin{macro}{\@tracklang@add@nil}
+%\changes{1.3.8}{2019-10-06}{new}
+%Add \sty{babel}'s \texttt{nil} as a dialect of undetermined
+%language.
+% \begin{macrocode}
+\TrackLangDeclareDialectOption{nil}{undetermined}{}{}{}{}{}
+% \end{macrocode}
+%\end{macro}
%
%\subsection{Dialect Option Synonyms}
%\label{sec:dialectsyns}
@@ -10066,7 +10109,7 @@ and~\ref{tab:nonisoopts}}
% Version info.
% \begin{macrocode}
\expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{%
- 2019/08/31 v1.3.7 (NLCT) Track Languages Regions}%
+ 2019/10/06 v1.3.8 (NLCT) Track Languages Regions}%
% \end{macrocode}
%
%\begin{macro}{\TrackLangRegionMap}
@@ -10455,7 +10498,7 @@ and~\ref{tab:nonisoopts}}
%\changes{1.3}{2016-10-07}{added tracklang-scripts.sty}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang-scripts}[2019/08/31 v1.3.7 (NLCT) Track
+\ProvidesPackage{tracklang-scripts}[2019/10/06 v1.3.8 (NLCT) Track
Language Scripts (LaTeX)]
\RequirePackage{tracklang}
\input{tracklang-scripts}
@@ -10497,7 +10540,7 @@ Language Scripts (LaTeX)]
% Version info.
% \begin{macrocode}
\expandafter\def\csname ver@tracklang-scripts.tex\endcsname{%
- 2019/08/31 v1.3.7 (NLCT) Track Languages Scripts (Generic)}%
+ 2019/10/06 v1.3.8 (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 3158d53211..ae7dc0eb5a 100644
--- a/macros/generic/tracklang/tracklang.ins
+++ b/macros/generic/tracklang/tracklang.ins
@@ -1,4 +1,4 @@
-% tracklang.ins generated using makedtx version 1.2 2019/8/31 16:29
+% tracklang.ins generated using makedtx version 1.2 2019/10/6 15:08
\input docstrip
\preamble
diff --git a/macros/generic/tracklang/tracklang.pdf b/macros/generic/tracklang/tracklang.pdf
index 5c33ac8fac..c7e9645d51 100644
--- a/macros/generic/tracklang/tracklang.pdf
+++ b/macros/generic/tracklang/tracklang.pdf
Binary files differ