From 4a68164a544897aa6fc54b5eb61b23135e44d4df Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 14 Dec 2022 03:01:10 +0000
Subject: CTAN sync 202212140301

---
 macros/generic/tracklang/tracklang.dtx | 37 +++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 12 deletions(-)

(limited to 'macros/generic/tracklang/tracklang.dtx')

diff --git a/macros/generic/tracklang/tracklang.dtx b/macros/generic/tracklang/tracklang.dtx
index a36ec15205..aabaed5f12 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-codedoc.tex"
-%   -author "Nicola Talbot"
-%   -codetitle "Main Package Code"
 %   -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-codedoc.tex"
+%   -codetitle "Main Package Code"
 %   tracklang
-% Created on 2022/10/29 18:01
+% Created on 2022/12/13 11:26
 %\fi
 %\iffalse
 %<*package>
@@ -45,7 +45,7 @@ tracklang.dtx
 \documentclass{article}
 \usepackage{doc}
 
-\CheckSum{6236}
+\CheckSum{6246}
 
 \RecordChanges
 \PageIndex
@@ -87,12 +87,12 @@ tracklang.dtx
 %</driver>
 %\fi
 %
-% \title{Documented Code For tracklang v1.6}
+% \title{Documented Code For tracklang v1.6.1}
 % \author{Nicola L.C. Talbot\\[10pt]
 %Dickimaw Books\\
 %\url{http://www.dickimaw-books.com/}}
 %
-% \date{2022-10-29}
+% \date{2022-12-13}
 % \maketitle
 %
 %\tableofcontents
@@ -119,7 +119,7 @@ tracklang.dtx
 % packages such as \styfmt{etoolbox}.
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang}[2022/10/29 v1.6 (NLCT) Track Languages]
+\ProvidesPackage{tracklang}[2022/12/13 v1.6.1 (NLCT) Track Languages]
 %    \end{macrocode}
 %\begin{macro}{\@tracklang@declareoption}
 % Set up package options.
@@ -460,7 +460,7 @@ tracklang.dtx
 % Version info.
 %    \begin{macrocode}
 \expandafter\def\csname ver@tracklang.tex\endcsname{%
- 2022/10/29 v1.6 (NLCT) Track Languages Generic Code}
+ 2022/12/13 v1.6.1 (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.)
@@ -777,6 +777,19 @@ tracklang.dtx
 %    \end{macrocode}
 %\end{macro}
 %
+%\begin{macro}{\TrackLangEncodingName}
+%\changes{1.6.1}{2022-12-13}{new}
+%Provide a default encoding name to avoid repeated tests to determine whether or not
+%\cs{inputencodingname} has been defined.
+%    \begin{macrocode}
+\ifx\inputencodingname\undefined
+  \def\TrackLangEncodingName{utf8}
+\else
+  \def\TrackLangEncodingName{\inputencodingname}
+\fi
+%    \end{macrocode}
+%\end{macro}
+%
 %Provide a way to query the environment variables \envvar{LC\_ALL}
 %or \envvar{LANG} to determine the region and language. The result
 % is stored in \cs{TrackLangEnv} if it can be obtained. If
@@ -9020,7 +9033,7 @@ tracklang.dtx
 % Version info.
 %    \begin{macrocode}
 \expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{%
- 2022/10/29 v1.6 (NLCT) Track Languages Regions}%
+ 2022/12/13 v1.6.1 (NLCT) Track Languages Regions}%
 %    \end{macrocode}
 %
 %\begin{macro}{\TrackLangRegionMap}
@@ -9413,7 +9426,7 @@ tracklang.dtx
 %\changes{1.3}{2016-10-07}{added tracklang-scripts.sty}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang-scripts}[2022/10/29 v1.6 (NLCT) Track
+\ProvidesPackage{tracklang-scripts}[2022/12/13 v1.6.1 (NLCT) Track
 Language Scripts (LaTeX)]
 \RequirePackage{tracklang}
 \input{tracklang-scripts}
@@ -9455,7 +9468,7 @@ Language Scripts (LaTeX)]
 % Version info.
 %    \begin{macrocode}
 \expandafter\def\csname ver@tracklang-scripts.tex\endcsname{%
- 2022/10/29 v1.6 (NLCT) Track Languages Scripts (Generic)}%
+ 2022/12/13 v1.6.1 (NLCT) Track Languages Scripts (Generic)}%
 %    \end{macrocode}
 %
 %\begin{macro}{\TrackLangScriptMap}
-- 
cgit v1.2.3

