summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-15 22:57:51 +0000
committerKarl Berry <karl@freefriends.org>2016-10-15 22:57:51 +0000
commit05ecdc1151efd8d8a94016b2985013b1ef868ce4 (patch)
tree5de7b74970f1f39bf9ff4bfa13f9fbe3cf5134f3 /Master/texmf-dist/source/latex
parent70b5b233e9f5c4693bed63cb0e0e5d7bdb0d280e (diff)
tracklang (11oct16)
git-svn-id: svn://tug.org/texlive/trunk@42277 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/tracklang/tracklang.dtx106
-rw-r--r--Master/texmf-dist/source/latex/tracklang/tracklang.ins2
2 files changed, 64 insertions, 44 deletions
diff --git a/Master/texmf-dist/source/latex/tracklang/tracklang.dtx b/Master/texmf-dist/source/latex/tracklang/tracklang.dtx
index af62e33d90d..98a2e09362a 100644
--- a/Master/texmf-dist/source/latex/tracklang/tracklang.dtx
+++ b/Master/texmf-dist/source/latex/tracklang/tracklang.dtx
@@ -1,16 +1,16 @@
%\iffalse
% tracklang.dtx generated using makedtx version 1.1 (c) Nicola Talbot
% Command line args:
-% -section "chapter"
% -author "Nicola Talbot"
+% -section "chapter"
+% -doc "tracklang-manual.tex"
% -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"
-% -doc "tracklang-manual.tex"
% tracklang
-% Created on 2016/10/8 12:58
+% Created on 2016/10/11 9:50
%\fi
%\iffalse
%<*package>
@@ -59,7 +59,7 @@
pdfauthor={Nicola L.C. Talbot},
pdftitle={tracklang: tracking language options}]{hyperref}
-\CheckSum{3861}
+\CheckSum{3870}
\appto\MacroFont{\scriptsize}
\renewcommand*{\usage}[1]{\textit{\hyperpage{#1}}}
@@ -278,11 +278,11 @@ and~\ref{tab:nonisoopts}}
%
%\MakeShortVerb{"}
%
-%\title{tracklang v1.3.1:
+%\title{tracklang v1.3.2:
%tracking language options}
%\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}}
%
-%\date{2016-10-08}
+%\date{2016-10-11}
%\maketitle
%
%\begin{abstract}
@@ -3191,7 +3191,7 @@ and~\ref{tab:nonisoopts}}
% packages such as \styfmt{etoolbox}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang}[2016/10/08 v1.3.1 (NLCT) Track Languages]
+\ProvidesPackage{tracklang}[2016/10/11 v1.3.2 (NLCT) Track Languages]
% \end{macrocode}
%\begin{macro}{\@tracklang@declareoption}
% Set up package options.
@@ -3444,7 +3444,7 @@ and~\ref{tab:nonisoopts}}
% \end{macrocode}
% Version info.
% \begin{macrocode}
-\expandafter\def\csname ver@tracklang.tex\endcsname{2016/10/08 v1.3.1
+\expandafter\def\csname ver@tracklang.tex\endcsname{2016/10/11 v1.3.2
(NLCT) Track Languages Generic Code}
% \end{macrocode}
% Define a long command for determining the existence of a control
@@ -3766,9 +3766,27 @@ and~\ref{tab:nonisoopts}}
% \end{macrocode}
%We can't use Lua, so we'll have to use the shell escape if it's
%enabled. First determine if the shell escape is available.
+%\begin{macro}{\@tracklang@tryshellescape}
+%No shell escape.
% \begin{macrocode}
- \ifx\shellescape\undefined
- \ifx\pdfshellescape\undefined
+ \def\@tracklang@tryshellescape#1{%
+ \def\TrackLangQueryEnv{%
+ \@tracklang@warn{\string\TrackLangQueryEnv\space
+ non-operational as shell escape has been disabled}%
+ \def\TrackLangEnv{}%
+ }%
+ \def\TrackLangQueryOtherEnv##1{%
+ \@tracklang@warn{\string\TrackLangQueryOtherEnv{##1}\space
+ non-operational as shell escape has been disabled}%
+ \def\TrackLangEnv{}%
+ }%
+ }%
+% \end{macrocode}
+%\changes{1.3.2}{2016-10-11}{added check if \cs{shellescape} has
+%been set to \cs{relax}}
+% \begin{macrocode}
+ \ifx\pdfshellescape\undefined
+ \ifx\shellescape\undefined
% \end{macrocode}
% Can't determine if the shell escape has been enabled.
% \begin{macrocode}
@@ -3790,47 +3808,49 @@ and~\ref{tab:nonisoopts}}
}%
\else
% \end{macrocode}
-%\cs{pdfshellescape} is defined
+%\cs{shellescape} is defined. Check no one's been messing around
+%with it and set it to \cs{relax}.
% \begin{macrocode}
- \ifnum\pdfshellescape=0\relax
- \def\@tracklang@tryshellescape#1{%
- \def\TrackLangQueryEnv{%
- \@tracklang@warn{\string\TrackLangQueryEnv\space
- non-operational as shell escape has been disabled}%
- \def\TrackLangEnv{}%
- }%
- \def\TrackLangQueryOtherEnv##1{%
- \@tracklang@warn{\string\TrackLangQueryOtherEnv{##1}\space
- non-operational as shell escape has been disabled}%
- \def\TrackLangEnv{}%
- }%
- }%
+ \ifx\shellescape\relax
\else
- \def\@tracklang@tryshellescape#1{#1}%
+ \ifnum\shellescape=0\relax
+ \else
+ \def\@tracklang@tryshellescape#1{#1}%
+ \fi
\fi
\fi
\else
% \end{macrocode}
-% \cs{shellescape} is defined
+%\cs{pdfshellescape} is defined. Check no one's been messing around
+%with it and set it to \cs{relax}. (Default no-op already set.)
% \begin{macrocode}
- \ifnum\shellescape=0\relax
- \def\@tracklang@tryshellescape#1{%
- \def\TrackLangQueryEnv{%
- \@tracklang@warn{\string\TrackLangQueryEnv\space
- non-operational as shell escape has been disabled}%
- \def\TrackLangEnv{}%
- }%
- \def\TrackLangQueryOtherEnv##1{%
- \@tracklang@warn{\string\TrackLangQueryOtherEnv{##1}\space
- non-operational as shell escape has been disabled}%
- \def\TrackLangEnv{}%
- }%
- }%
+ \ifx\pdfshellescape\relax
+% \end{macrocode}
+%\cs{pdfshellescape} has been set to \cs{relax}. Is it possible that
+%\cs{shellescape} is available?
+% \begin{macrocode}
+ \ifx\shellescape\undefined
+ \else
+ \ifx\shellescape\relax
+ \else
+% \end{macrocode}
+%\cs{shellescape} is available.
+% \begin{macrocode}
+ \ifnum\shellescape=0\relax
+ \else
+ \def\@tracklang@tryshellescape#1{#1}%
+ \fi
+ \fi
+ \fi
\else
- \def\@tracklang@tryshellescape#1{#1}%
+ \ifnum\pdfshellescape=0\relax
+ \else
+ \def\@tracklang@tryshellescape#1{#1}%
+ \fi
\fi
\fi
% \end{macrocode}
+%\end{macro}
% Try the shell escape:
% \begin{macrocode}
\@tracklang@tryshellescape
@@ -9806,7 +9826,7 @@ and~\ref{tab:nonisoopts}}
% \end{macrocode}
% Version info.
% \begin{macrocode}
-\expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{2016/10/08 v1.3.1
+\expandafter\def\csname ver@tracklang-region-codes.tex\endcsname{2016/10/11 v1.3.2
(NLCT) Track Languages Regions}%
% \end{macrocode}
%
@@ -10196,7 +10216,7 @@ and~\ref{tab:nonisoopts}}
%\changes{1.3}{2016-10-07}{added tracklang-scripts.sty}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tracklang-scripts}[2016/10/08 v1.3.1 (NLCT) Track
+\ProvidesPackage{tracklang-scripts}[2016/10/11 v1.3.2 (NLCT) Track
Language Scripts (LaTeX)]
\RequirePackage{tracklang}
\input{tracklang-scripts}
@@ -10237,7 +10257,7 @@ Language Scripts (LaTeX)]
% \end{macrocode}
% Version info.
% \begin{macrocode}
-\expandafter\def\csname ver@tracklang-scripts.tex\endcsname{2016/10/08 v1.3.1
+\expandafter\def\csname ver@tracklang-scripts.tex\endcsname{2016/10/11 v1.3.2
(NLCT) Track Languages Scripts (Generic)}%
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/tracklang/tracklang.ins b/Master/texmf-dist/source/latex/tracklang/tracklang.ins
index 4f65a244e0f..95d515ac560 100644
--- a/Master/texmf-dist/source/latex/tracklang/tracklang.ins
+++ b/Master/texmf-dist/source/latex/tracklang/tracklang.ins
@@ -1,4 +1,4 @@
-% tracklang.ins generated using makedtx version 1.1 2016/10/8 12:58
+% tracklang.ins generated using makedtx version 1.1 2016/10/11 9:50
\input docstrip
\preamble