From ba86549c94b1e8b6b19bc82b01e85a7e513e7586 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 7 Oct 2019 03:00:39 +0000 Subject: CTAN sync 201910070300 --- macros/generic/tracklang/CHANGES | 11 +++ macros/generic/tracklang/README | 4 +- .../samples/animals/sample-animals-babel.pdf | Bin 14855 -> 14855 bytes .../samples/animals/sample-animals-de-poly.pdf | Bin 3859 -> 3820 bytes .../samples/animals/sample-animals-de.pdf | Bin 13625 -> 13625 bytes .../samples/animals/sample-animals-poly.pdf | Bin 3593 -> 3559 bytes .../tracklang/samples/animals/sample-animals.pdf | Bin 12656 -> 12656 bytes .../samples/animals/sample-animals2-de.pdf | Bin 13625 -> 13625 bytes .../samples/animals/sample-animals2-de2.pdf | Bin 13625 -> 13625 bytes .../samples/animals/sample-animals2-de3.pdf | Bin 13607 -> 13607 bytes .../samples/animals/sample-animals2-de4.pdf | Bin 3859 -> 3822 bytes .../samples/animals/sample-animals2-poly.pdf | Bin 3595 -> 3558 bytes .../tracklang/samples/animals/sample-animals2.pdf | Bin 12656 -> 12656 bytes .../tracklang/samples/regions/sample-regions.pdf | Bin 13161 -> 13161 bytes .../samples/regions/sample-regions2-manx.pdf | Bin 19785 -> 19785 bytes .../samples/regions/sample-regions2-map.pdf | Bin 26000 -> 26000 bytes .../samples/regions/sample-regions2-map2.pdf | Bin 25852 -> 25852 bytes .../samples/regions/sample-regions2-map3.pdf | Bin 24924 -> 24924 bytes .../samples/regions/sample-regions2-nomap.pdf | Bin 25468 -> 25468 bytes .../tracklang/samples/regions/sample-regions2.pdf | Bin 14716 -> 14716 bytes .../generic/tracklang/samples/sample-tracklang.pdf | Bin 19552 -> 19552 bytes .../tracklang/samples/sample-tracklang2.pdf | Bin 19802 -> 19802 bytes .../tracklang/samples/sample-tracklang3.pdf | Bin 19814 -> 19814 bytes .../tracklang/samples/sample-tracklang4.pdf | Bin 6241 -> 6202 bytes .../tracklang/samples/sample-tracklang5.pdf | Bin 16914 -> 16914 bytes .../tracklang/samples/sample-tracklang6.pdf | Bin 19897 -> 19897 bytes macros/generic/tracklang/tracklang.dtx | 75 ++++++++++++++++----- macros/generic/tracklang/tracklang.ins | 2 +- macros/generic/tracklang/tracklang.pdf | Bin 672797 -> 676481 bytes 29 files changed, 73 insertions(+), 19 deletions(-) (limited to 'macros/generic') 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf and b/macros/generic/tracklang/samples/animals/sample-animals-babel.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdf and b/macros/generic/tracklang/samples/animals/sample-animals-de-poly.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals-de.pdf and b/macros/generic/tracklang/samples/animals/sample-animals-de.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals-poly.pdf and b/macros/generic/tracklang/samples/animals/sample-animals-poly.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals.pdf and b/macros/generic/tracklang/samples/animals/sample-animals.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals2-de.pdf and b/macros/generic/tracklang/samples/animals/sample-animals2-de.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals2-de2.pdf and b/macros/generic/tracklang/samples/animals/sample-animals2-de2.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals2-de3.pdf and b/macros/generic/tracklang/samples/animals/sample-animals2-de3.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals2-de4.pdf and b/macros/generic/tracklang/samples/animals/sample-animals2-de4.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals2-poly.pdf and b/macros/generic/tracklang/samples/animals/sample-animals2-poly.pdf 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 Binary files a/macros/generic/tracklang/samples/animals/sample-animals2.pdf and b/macros/generic/tracklang/samples/animals/sample-animals2.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions.pdf and b/macros/generic/tracklang/samples/regions/sample-regions.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions2-manx.pdf and b/macros/generic/tracklang/samples/regions/sample-regions2-manx.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions2-map.pdf and b/macros/generic/tracklang/samples/regions/sample-regions2-map.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions2-map2.pdf and b/macros/generic/tracklang/samples/regions/sample-regions2-map2.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions2-map3.pdf and b/macros/generic/tracklang/samples/regions/sample-regions2-map3.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdf and b/macros/generic/tracklang/samples/regions/sample-regions2-nomap.pdf 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 Binary files a/macros/generic/tracklang/samples/regions/sample-regions2.pdf and b/macros/generic/tracklang/samples/regions/sample-regions2.pdf differ diff --git a/macros/generic/tracklang/samples/sample-tracklang.pdf b/macros/generic/tracklang/samples/sample-tracklang.pdf index f8b99abdca..1f5c6ea8c1 100644 Binary files a/macros/generic/tracklang/samples/sample-tracklang.pdf and b/macros/generic/tracklang/samples/sample-tracklang.pdf differ diff --git a/macros/generic/tracklang/samples/sample-tracklang2.pdf b/macros/generic/tracklang/samples/sample-tracklang2.pdf index f0d8a57457..258262f906 100644 Binary files a/macros/generic/tracklang/samples/sample-tracklang2.pdf and b/macros/generic/tracklang/samples/sample-tracklang2.pdf differ diff --git a/macros/generic/tracklang/samples/sample-tracklang3.pdf b/macros/generic/tracklang/samples/sample-tracklang3.pdf index 175e007831..2609984b35 100644 Binary files a/macros/generic/tracklang/samples/sample-tracklang3.pdf and b/macros/generic/tracklang/samples/sample-tracklang3.pdf differ diff --git a/macros/generic/tracklang/samples/sample-tracklang4.pdf b/macros/generic/tracklang/samples/sample-tracklang4.pdf index 7e2f14ba1b..894b62d507 100644 Binary files a/macros/generic/tracklang/samples/sample-tracklang4.pdf and b/macros/generic/tracklang/samples/sample-tracklang4.pdf differ diff --git a/macros/generic/tracklang/samples/sample-tracklang5.pdf b/macros/generic/tracklang/samples/sample-tracklang5.pdf index 84acb9ee4e..1253e87c1b 100644 Binary files a/macros/generic/tracklang/samples/sample-tracklang5.pdf and b/macros/generic/tracklang/samples/sample-tracklang5.pdf differ diff --git a/macros/generic/tracklang/samples/sample-tracklang6.pdf b/macros/generic/tracklang/samples/sample-tracklang6.pdf index 9f2e19cc58..e8462de248 100644 Binary files a/macros/generic/tracklang/samples/sample-tracklang6.pdf and b/macros/generic/tracklang/samples/sample-tracklang6.pdf 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 Binary files a/macros/generic/tracklang/tracklang.pdf and b/macros/generic/tracklang/tracklang.pdf differ -- cgit v1.2.3