summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tracklang/tracklang-region-codes.tex8
-rw-r--r--Master/texmf-dist/tex/generic/tracklang/tracklang-scripts.tex8
-rw-r--r--Master/texmf-dist/tex/generic/tracklang/tracklang.tex8
-rw-r--r--Master/texmf-dist/tex/latex/tracklang/tracklang-scripts.sty6
-rw-r--r--Master/texmf-dist/tex/latex/tracklang/tracklang.sty31
5 files changed, 39 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/generic/tracklang/tracklang-region-codes.tex b/Master/texmf-dist/tex/generic/tracklang/tracklang-region-codes.tex
index ccc19438da0..e48f468e588 100644
--- a/Master/texmf-dist/tex/generic/tracklang/tracklang-region-codes.tex
+++ b/Master/texmf-dist/tex/generic/tracklang/tracklang-region-codes.tex
@@ -7,11 +7,11 @@
%% tracklang.dtx (with options: `tracklang-region-codes.tex,package')
%%
%% tracklang.dtx
-%% Copyright 2017 Nicola Talbot
+%% Copyright 2018 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
+%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -63,8 +63,8 @@
\@tracklang@regions@restore@at
\expandafter\endinput
\fi
-\expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{2016/11/03 v1.3.3
-(NLCT) Track Languages Regions}%
+\expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{%
+ 2018/02/21 v1.3.5 (NLCT) Track Languages Regions}%
\def\TrackLangRegionMap#1#2#3{%
\@tracklang@enamedef{@tracklang@region@numtoalphaii@#1}{#2}%
\@tracklang@enamedef{@tracklang@region@numtoalphaiii@#1}{#3}%
diff --git a/Master/texmf-dist/tex/generic/tracklang/tracklang-scripts.tex b/Master/texmf-dist/tex/generic/tracklang/tracklang-scripts.tex
index 0bd6ac34557..47e4aa43caa 100644
--- a/Master/texmf-dist/tex/generic/tracklang/tracklang-scripts.tex
+++ b/Master/texmf-dist/tex/generic/tracklang/tracklang-scripts.tex
@@ -7,11 +7,11 @@
%% tracklang.dtx (with options: `tracklang-scripts.tex,package')
%%
%% tracklang.dtx
-%% Copyright 2017 Nicola Talbot
+%% Copyright 2018 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
+%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -63,8 +63,8 @@
\@tracklang@scripts@restore@at
\expandafter\endinput
\fi
-\expandafter\def\csname ver@tracklang-scripts.tex\endcsname{2016/11/03 v1.3.3
-(NLCT) Track Languages Scripts (Generic)}%
+\expandafter\def\csname ver@tracklang-scripts.tex\endcsname{%
+ 2018/02/21 v1.3.5 (NLCT) Track Languages Scripts (Generic)}%
\def\TrackLangScriptMap#1#2#3#4#5{%
\@tracklang@enamedef{TrackLangScript#1}{#1}%
\@tracklang@enamedef{@tracklang@script@numtoalpha@#2}{#1}%
diff --git a/Master/texmf-dist/tex/generic/tracklang/tracklang.tex b/Master/texmf-dist/tex/generic/tracklang/tracklang.tex
index 415885b6f7c..58ec8f19946 100644
--- a/Master/texmf-dist/tex/generic/tracklang/tracklang.tex
+++ b/Master/texmf-dist/tex/generic/tracklang/tracklang.tex
@@ -7,11 +7,11 @@
%% tracklang.dtx (with options: `tracklang.tex,package')
%%
%% tracklang.dtx
-%% Copyright 2017 Nicola Talbot
+%% Copyright 2018 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
+%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -63,8 +63,8 @@
\@tracklang@restore@at
\expandafter\endinput
\fi
-\expandafter\def\csname ver@tracklang.tex\endcsname{2017/03/25 v1.3.4
-(NLCT) Track Languages Generic Code}
+\expandafter\def\csname ver@tracklang.tex\endcsname{%
+ 2018/02/21 v1.3.5 (NLCT) Track Languages Generic Code}
\long\def\@tracklang@ifundef#1#2#3{%
\ifcsname#1\endcsname
\expandafter\ifx\csname #1\endcsname\relax
diff --git a/Master/texmf-dist/tex/latex/tracklang/tracklang-scripts.sty b/Master/texmf-dist/tex/latex/tracklang/tracklang-scripts.sty
index 9c1df878c3e..7d192dddddb 100644
--- a/Master/texmf-dist/tex/latex/tracklang/tracklang-scripts.sty
+++ b/Master/texmf-dist/tex/latex/tracklang/tracklang-scripts.sty
@@ -7,11 +7,11 @@
%% tracklang.dtx (with options: `tracklang-scripts.sty,package')
%%
%% tracklang.dtx
-%% Copyright 2017 Nicola Talbot
+%% Copyright 2018 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
+%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -51,7 +51,7 @@
%% do code now to initialise
%% Pass all options to tracklang:
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang-scripts}[2016/11/03 v1.3.3 (NLCT) Track
+\ProvidesPackage{tracklang-scripts}[2018/02/21 v1.3.5 (NLCT) Track
Language Scripts (LaTeX)]
\RequirePackage{tracklang}
\input{tracklang-scripts}
diff --git a/Master/texmf-dist/tex/latex/tracklang/tracklang.sty b/Master/texmf-dist/tex/latex/tracklang/tracklang.sty
index 949543cc732..24949e85efd 100644
--- a/Master/texmf-dist/tex/latex/tracklang/tracklang.sty
+++ b/Master/texmf-dist/tex/latex/tracklang/tracklang.sty
@@ -7,11 +7,11 @@
%% tracklang.dtx (with options: `tracklang.sty,package')
%%
%% tracklang.dtx
-%% Copyright 2017 Nicola Talbot
+%% Copyright 2018 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
+%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -51,7 +51,7 @@
%% do code now to initialise
%% Pass all options to tracklang:
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang}[2017/03/25 v1.3.4 (NLCT) Track Languages]
+\ProvidesPackage{tracklang}[2018/02/21 v1.3.5 (NLCT) Track Languages]
\providecommand*{\@tracklang@declareoption}[1]{%
\DeclareOption{#1}{\TrackPredefinedDialect{#1}}%
}
@@ -76,10 +76,27 @@
{%
\@ifpackageloaded{polyglossia}
{%
- \@for\this@language:=\@tracklang@declaredoptions\do{%
- \@ifundefined{\this@language @loaded}%
- {}%
- {\@nameuse{@tracklang@add@\this@language}}%
+ \@ifundefined{xpg@loaded}%
+ {%
+ \PackageInfo{tracklang}{polyglossia loaded but
+ \string\xpg@loaded\space not defined. Will attempt
+ to track known languages.}%
+ \@for\this@language:=\@tracklang@declaredoptions\do{%
+ \@ifundefined{\this@language @loaded}%
+ {}%
+ {\@nameuse{@tracklang@add@\this@language}}%
+ }%
+ }%
+ {%
+ \@for\this@language:=\xpg@loaded\do{%
+ \@ifundefined{@tracklang@add@\this@language}%
+ {%
+ \PackageWarning{tracklang}%
+ {Adding unknown polyglossia language `\this@language'}%
+ \AddTrackedLangage{\this@language}%
+ }%
+ {\@nameuse{@tracklang@add@\this@language}}%
+ }%
}%
}%
{%