From 06dfd0dc9ed518e23ce205cd3c37c30a70b65549 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 9 Jul 2016 15:41:20 +0000 Subject: texosquery.tex in runtime git-svn-id: svn://tug.org/texlive/trunk@41667 c570f23f-e606-0410-a88d-b1316a301751 --- .../texk/texlive/linked_scripts/texlive/tlmgr.pl | 8 +- .../doc/support/texosquery/texosquery.tex | 138 --------------------- .../texmf-dist/tex/latex/texosquery/texosquery.tex | 138 +++++++++++++++++++++ Master/tlpkg/libexec/ctan2tds | 1 + 4 files changed, 143 insertions(+), 142 deletions(-) delete mode 100644 Master/texmf-dist/doc/support/texosquery/texosquery.tex create mode 100644 Master/texmf-dist/tex/latex/texosquery/texosquery.tex diff --git a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl index ddefd2433d4..3400035e48a 100755 --- a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl +++ b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl @@ -6929,10 +6929,10 @@ specifies to be disabled, and finally appending the local file. (Historical note: The formerly supported C and C are no longer read, since C and C -now reads and supports multiple configuration files. Thus, -local additions can and should be put into an C of C -file in C. The C and C actions -no longer exist.) +now reads and supports multiple configuration files. Thus, local +additions can and should be put into an C +resp. C file in C. The C and +C actions no longer exist.) Local files specify entries to be disabled with a comment line, namely one of these: diff --git a/Master/texmf-dist/doc/support/texosquery/texosquery.tex b/Master/texmf-dist/doc/support/texosquery/texosquery.tex deleted file mode 100644 index b95300ac20d..00000000000 --- a/Master/texmf-dist/doc/support/texosquery/texosquery.tex +++ /dev/null @@ -1,138 +0,0 @@ -%% -%% This is file `texosquery.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% texosquery.dtx (with options: `texosquery.tex,package') -%% -%% texosquery -%% Copyright 2016 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. -%% 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 -%% version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status `maintained'. -%% -%% The Current Maintainer of this work is Nicola Talbot. -%% -%% This work consists of the files texosquery.dtx and texosquery.ins -%% and the derived files texosquery.sty, texosquery.tex. -%% Additionally, the Java application texosquery.jar and bash script -%% texosquery -%% \CharacterTable -%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z -%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} -\ifnum\catcode`\@=11\relax - \def\@texosquery@restore@at{}% -\else - \expandafter\edef\csname @texosquery@restore@at\endcsname{% - \noexpand\catcode`\noexpand\@=\number\catcode`\@\relax - }% - \catcode`\@=11\relax -\fi -\ifx\TeXOSQuery\undefined -\else - \@texosquery@restore@at - \expandafter\endinput -\fi -\def\TeXOSInvokerName{texosquery} -\ifx\@@input\undefined - \def\TeXOSQueryInvoker#1{\input|"\TeXOSInvokerName\space#1" } -\else - \def\TeXOSQueryInvoker#1{\@@input|"\TeXOSInvokerName\space#1" } -\fi -\newif\ifTeXOSQueryDryRun -\TeXOSQueryDryRunfalse -\ifx\shellescape\undefined - \ifx\pdfshellescape\undefined - \else - \ifnum\pdfshellescape=0\relax - \TeXOSQueryDryRuntrue - \fi - \fi -\else - \ifnum\shellescape=0\relax - \TeXOSQueryDryRuntrue - \fi -\fi -\def\TeXOSQuery#1#2{% - \ifTeXOSQueryDryRun - \begingroup - \newlinechar=`\^^J - \message{^^JTeXOSQuery: \TeXOSInvokerName\space#2^^J}% - \endgroup - \def#1{}% - \else - \begingroup - \endlinechar=-1\relax - \catcode`\-=12\relax - \catcode`\_=12\relax - \catcode`\^=12\relax - \catcode`\~=12\relax - \catcode`\$=12\relax - \catcode`\&=12\relax - \catcode`\"=12\relax - \catcode`\'=12\relax - \catcode`\.=12\relax - \catcode`\/=12\relax - \catcode`\:=12\relax - \catcode`\;=12\relax - \catcode`\%=12\relax - \everyeof{\noexpand}\relax - \edef\x{\endgroup\def\noexpand#1{\TeXOSQueryInvoker{#2}}}\x - \fi -} -\def\TeXOSQueryLocale#1{\TeXOSQuery{#1}{\string-l}} -\def\TeXOSQueryCwd#1{\TeXOSQuery{#1}{\string-c}} -\def\TeXOSQueryHome#1{\TeXOSQuery{#1}{\string-m}} -\def\TeXOSQueryTmpDir#1{\TeXOSQuery{#1}{\string-t}} -\def\TeXOSQueryVersion#1{\TeXOSQuery{#1}{\string-r}} -\def\TeXOSQueryArch#1{\TeXOSQuery{#1}{\string-a}} -\def\TeXOSQueryName#1{\TeXOSQuery{#1}{\string-o}} -\def\TeXOSQueryNow#1{\TeXOSQuery{#1}{\string-n}} -\def\texosquerystripquotes#1{% - \@texosquery@stripquotes#1\@mid@texosquery@stripquotes - "\relax"\relax\@end@texosquery@stripquotes -} -\def\@texosquery@stripquotes#1"#2"{% - \@@texosquery@stripquotes#1#2% -} -\def\@@texosquery@stripquotes#1\@mid@texosquery@stripquotes#2\@end@texosquery@stripquotes{% - #1% -} -\def\TeXOSQueryFileDate#1#2{\TeXOSQuery{#1}{\string-d - \string'\texosquerystripquotes{#2}\string'}} -\def\TeXOSQueryFileSize#1#2{\TeXOSQuery{#1}{\string-s - \string'\texosquerystripquotes{#2}\string'}} -\def\TeXOSQueryFileList#1#2#3{\TeXOSQuery{#1}{% - \string-i \string'#2\string' - \string'\texosquerystripquotes{#3}\string'}} -\def\TeXOSQueryFilterFileList#1#2#3#4{\TeXOSQuery{#1}{% - \string-f \string'#2\string' \string'#3\string' - \string'\texosquerystripquotes{#4}\string'}} -\def\TeXOSQueryFileURI#1#2{\TeXOSQuery{#1}{\string-u - \string'\texosquerystripquotes{#2}\string'}} -\def\TeXOSQueryFilePath#1#2{\TeXOSQuery{#1}{\string-p - \string'\texosquerystripquotes{#2}\string'}} -\@texosquery@restore@at -\endinput -%% -%% End of file `texosquery.tex'. diff --git a/Master/texmf-dist/tex/latex/texosquery/texosquery.tex b/Master/texmf-dist/tex/latex/texosquery/texosquery.tex new file mode 100644 index 00000000000..b95300ac20d --- /dev/null +++ b/Master/texmf-dist/tex/latex/texosquery/texosquery.tex @@ -0,0 +1,138 @@ +%% +%% This is file `texosquery.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% texosquery.dtx (with options: `texosquery.tex,package') +%% +%% texosquery +%% Copyright 2016 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. +%% 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 +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files texosquery.dtx and texosquery.ins +%% and the derived files texosquery.sty, texosquery.tex. +%% Additionally, the Java application texosquery.jar and bash script +%% texosquery +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ifnum\catcode`\@=11\relax + \def\@texosquery@restore@at{}% +\else + \expandafter\edef\csname @texosquery@restore@at\endcsname{% + \noexpand\catcode`\noexpand\@=\number\catcode`\@\relax + }% + \catcode`\@=11\relax +\fi +\ifx\TeXOSQuery\undefined +\else + \@texosquery@restore@at + \expandafter\endinput +\fi +\def\TeXOSInvokerName{texosquery} +\ifx\@@input\undefined + \def\TeXOSQueryInvoker#1{\input|"\TeXOSInvokerName\space#1" } +\else + \def\TeXOSQueryInvoker#1{\@@input|"\TeXOSInvokerName\space#1" } +\fi +\newif\ifTeXOSQueryDryRun +\TeXOSQueryDryRunfalse +\ifx\shellescape\undefined + \ifx\pdfshellescape\undefined + \else + \ifnum\pdfshellescape=0\relax + \TeXOSQueryDryRuntrue + \fi + \fi +\else + \ifnum\shellescape=0\relax + \TeXOSQueryDryRuntrue + \fi +\fi +\def\TeXOSQuery#1#2{% + \ifTeXOSQueryDryRun + \begingroup + \newlinechar=`\^^J + \message{^^JTeXOSQuery: \TeXOSInvokerName\space#2^^J}% + \endgroup + \def#1{}% + \else + \begingroup + \endlinechar=-1\relax + \catcode`\-=12\relax + \catcode`\_=12\relax + \catcode`\^=12\relax + \catcode`\~=12\relax + \catcode`\$=12\relax + \catcode`\&=12\relax + \catcode`\"=12\relax + \catcode`\'=12\relax + \catcode`\.=12\relax + \catcode`\/=12\relax + \catcode`\:=12\relax + \catcode`\;=12\relax + \catcode`\%=12\relax + \everyeof{\noexpand}\relax + \edef\x{\endgroup\def\noexpand#1{\TeXOSQueryInvoker{#2}}}\x + \fi +} +\def\TeXOSQueryLocale#1{\TeXOSQuery{#1}{\string-l}} +\def\TeXOSQueryCwd#1{\TeXOSQuery{#1}{\string-c}} +\def\TeXOSQueryHome#1{\TeXOSQuery{#1}{\string-m}} +\def\TeXOSQueryTmpDir#1{\TeXOSQuery{#1}{\string-t}} +\def\TeXOSQueryVersion#1{\TeXOSQuery{#1}{\string-r}} +\def\TeXOSQueryArch#1{\TeXOSQuery{#1}{\string-a}} +\def\TeXOSQueryName#1{\TeXOSQuery{#1}{\string-o}} +\def\TeXOSQueryNow#1{\TeXOSQuery{#1}{\string-n}} +\def\texosquerystripquotes#1{% + \@texosquery@stripquotes#1\@mid@texosquery@stripquotes + "\relax"\relax\@end@texosquery@stripquotes +} +\def\@texosquery@stripquotes#1"#2"{% + \@@texosquery@stripquotes#1#2% +} +\def\@@texosquery@stripquotes#1\@mid@texosquery@stripquotes#2\@end@texosquery@stripquotes{% + #1% +} +\def\TeXOSQueryFileDate#1#2{\TeXOSQuery{#1}{\string-d + \string'\texosquerystripquotes{#2}\string'}} +\def\TeXOSQueryFileSize#1#2{\TeXOSQuery{#1}{\string-s + \string'\texosquerystripquotes{#2}\string'}} +\def\TeXOSQueryFileList#1#2#3{\TeXOSQuery{#1}{% + \string-i \string'#2\string' + \string'\texosquerystripquotes{#3}\string'}} +\def\TeXOSQueryFilterFileList#1#2#3#4{\TeXOSQuery{#1}{% + \string-f \string'#2\string' \string'#3\string' + \string'\texosquerystripquotes{#4}\string'}} +\def\TeXOSQueryFileURI#1#2{\TeXOSQuery{#1}{\string-u + \string'\texosquerystripquotes{#2}\string'}} +\def\TeXOSQueryFilePath#1#2{\TeXOSQuery{#1}{\string-p + \string'\texosquerystripquotes{#2}\string'}} +\@texosquery@restore@at +\endinput +%% +%% End of file `texosquery.tex'. diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 85989b8cc2c..960de1625be 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1748,6 +1748,7 @@ $standardtex = '(\.(.bx|4ht|cls|clo|cmap|code\.tex|def|fd|fontspec|ldf|sty)' 'tex-ps', '\.tex', 'texapi', 'texapi\.tex', 'texdraw', 'tex$|' . $standardtex, + 'texosquery', '\.tex$|' . $standardtex, 'texsis', '\.txs|TXS.*tex|texsis.tex', 'thesis-ekf', 'images|\.cls', # not magyar.ldf 'thesis-titlepage-fhac','LOGO.*|' . $standardtex, -- cgit v1.2.3