summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/oberdiek/test
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-22 23:36:31 +0000
committerKarl Berry <karl@freefriends.org>2011-04-22 23:36:31 +0000
commitcd62c624e149e4c29e0e7aa29c016ae8b45cf086 (patch)
tree1279b8e45d65cd3fd93975997a8d3db844722b28 /Master/texmf-dist/doc/latex/oberdiek/test
parent2be6eaeb8090315538ca23046d0fbc8ffce6acdd (diff)
oberdiek (22apr11)
git-svn-id: svn://tug.org/texlive/trunk@22162 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/oberdiek/test')
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/hologo-test-spacefactor.tex94
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/hologo-test1.tex138
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test2.tex4
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test3.tex4
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-escape.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-shell.tex17
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test2.tex2
9 files changed, 256 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test-spacefactor.tex b/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test-spacefactor.tex
new file mode 100644
index 00000000000..860cfbb500b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test-spacefactor.tex
@@ -0,0 +1,94 @@
+%%
+%% This is file `hologo-test-spacefactor.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hologo.dtx (with options: `test-spacefactor')
+%%
+%% This is a generated file.
+%%
+%% Project: hologo
+%% Version: 2011/04/21 v1.5
+%%
+%% Copyright (C) 2010, 2011 by
+%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and 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".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
+%% This work consists of the main source file hologo.dtx
+%% and the derived files
+%% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-test1.tex,
+%% hologo-test-spacefactor.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\documentclass{article}
+\usepackage{hologo}[2011/04/21]
+\usepackage{kvsetkeys}
+\usepackage{qstest}
+\IncludeTests{*}
+\LogTests{log}{*}{*}
+\begin{document}
+\begin{qstest}{spacefactor}{spacefactor}
+\newcommand*{\Test}[1]{%
+ \sbox0{%
+ \hologo{#1}%
+ \Expect*{1000 (#1)}*{\the\spacefactor\space(#1)}%
+ }%
+}%
+\makeatletter
+\kv@parse@normalized{%
+ AmSLaTeX,%
+ AmSTeX,%
+ eTeX,%
+ iniTeX,%
+ LaTeX,%
+ LaTeX2e,%
+ LaTeX3,%
+ LaTeXe,%
+ LuaLaTeX,%
+ LuaTeX,%
+ pdfTeX,%
+ pdfLaTeX,%
+ plainTeX=,%
+ plainTeX={variant=space},%
+ plainTeX={variant=hyphen},%
+ plainTeX={variant=runtogether},%
+ TeX,%
+ virTeX,%
+ VTeX,%
+ XeLaTeX,%
+ XeTeX,%
+}{%
+ \begingroup
+ \let\@logo=\kv@key
+ \ifx\kv@value\relax
+ \else
+ \expandafter\hologoLogoSetup\expandafter\@logo\expandafter{%
+ \kv@value
+ }%
+ \fi
+ \Test\@logo
+ \endgroup
+ \@gobbletwo
+}
+\end{qstest}
+\end{document}
+\endinput
+%%
+%% End of file `hologo-test-spacefactor.tex'.
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test1.tex
new file mode 100644
index 00000000000..8429ccf6c1a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test1.tex
@@ -0,0 +1,138 @@
+%%
+%% This is file `hologo-test1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hologo.dtx (with options: `test1')
+%%
+%% This is a generated file.
+%%
+%% Project: hologo
+%% Version: 2011/04/21 v1.5
+%%
+%% Copyright (C) 2010, 2011 by
+%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and 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".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
+%% This work consists of the main source file hologo.dtx
+%% and the derived files
+%% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-test1.tex,
+%% hologo-test-spacefactor.tex.
+%%
+\catcode`\{=1 %
+\catcode`\}=2 %
+\catcode`\#=6 %
+\catcode`\@=11 %
+\expandafter\ifx\csname count@\endcsname\relax
+ \countdef\count@=255 %
+\fi
+\expandafter\ifx\csname @gobble\endcsname\relax
+ \long\def\@gobble#1{}%
+\fi
+\expandafter\ifx\csname @firstofone\endcsname\relax
+ \long\def\@firstofone#1{#1}%
+\fi
+\expandafter\ifx\csname loop\endcsname\relax
+ \expandafter\@firstofone
+\else
+ \expandafter\@gobble
+\fi
+{%
+ \def\loop#1\repeat{%
+ \def\body{#1}%
+ \iterate
+ }%
+ \def\iterate{%
+ \body
+ \let\next\iterate
+ \else
+ \let\next\relax
+ \fi
+ \next
+ }%
+ \let\repeat=\fi
+}%
+\def\RestoreCatcodes{}
+\count@=0 %
+\loop
+ \edef\RestoreCatcodes{%
+ \RestoreCatcodes
+ \catcode\the\count@=\the\catcode\count@\relax
+ }%
+\ifnum\count@<255 %
+ \advance\count@ 1 %
+\repeat
+
+\def\RangeCatcodeInvalid#1#2{%
+ \count@=#1\relax
+ \loop
+ \catcode\count@=15 %
+ \ifnum\count@<#2\relax
+ \advance\count@ 1 %
+ \repeat
+}
+\def\RangeCatcodeCheck#1#2#3{%
+ \count@=#1\relax
+ \loop
+ \ifnum#3=\catcode\count@
+ \else
+ \errmessage{%
+ Character \the\count@\space
+ with wrong catcode \the\catcode\count@\space
+ instead of \number#3%
+ }%
+ \fi
+ \ifnum\count@<#2\relax
+ \advance\count@ 1 %
+ \repeat
+}
+\def\space{ }
+\expandafter\ifx\csname LoadCommand\endcsname\relax
+ \def\LoadCommand{\input hologo.sty\relax}%
+\fi
+\def\Test{%
+ \RangeCatcodeInvalid{0}{47}%
+ \RangeCatcodeInvalid{58}{64}%
+ \RangeCatcodeInvalid{91}{96}%
+ \RangeCatcodeInvalid{123}{255}%
+ \catcode`\@=12 %
+ \catcode`\\=0 %
+ \catcode`\%=14 %
+ \LoadCommand
+ \RangeCatcodeCheck{0}{36}{15}%
+ \RangeCatcodeCheck{37}{37}{14}%
+ \RangeCatcodeCheck{38}{47}{15}%
+ \RangeCatcodeCheck{48}{57}{12}%
+ \RangeCatcodeCheck{58}{63}{15}%
+ \RangeCatcodeCheck{64}{64}{12}%
+ \RangeCatcodeCheck{65}{90}{11}%
+ \RangeCatcodeCheck{91}{91}{15}%
+ \RangeCatcodeCheck{92}{92}{0}%
+ \RangeCatcodeCheck{93}{96}{15}%
+ \RangeCatcodeCheck{97}{122}{11}%
+ \RangeCatcodeCheck{123}{255}{15}%
+ \RestoreCatcodes
+}
+\Test
+\csname @@end\endcsname
+\end
+\endinput
+%%
+%% End of file `hologo-test1.tex'.
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test1.tex
index 5468d49e077..d54faf67ad3 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test1.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: luacolor
-%% Version: 2011/03/29 v1.4
+%% Version: 2011/04/22 v1.5
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test2.tex
index bebbb65d2b8..d24892b6f0c 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test2.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: luacolor
-%% Version: 2011/03/29 v1.4
+%% Version: 2011/04/22 v1.5
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -41,7 +41,7 @@
\pdfoutput=0 %
\fi
\documentclass{minimal}
-\usepackage{luacolor}[2011/03/29]
+\usepackage{luacolor}[2011/04/22]
\csname @@end\endcsname
\end
\endinput
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test3.tex
index 63be00e896a..b8d689e4bfc 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test3.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/luacolor-test3.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: luacolor
-%% Version: 2011/03/29 v1.4
+%% Version: 2011/04/22 v1.5
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -37,7 +37,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\documentclass{minimal}
-\usepackage{luacolor}[2011/03/29]
+\usepackage{luacolor}[2011/04/22]
\usepackage{qstest}
\IncludeTests{*}
\LogTests{log}{*}{*}
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-escape.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-escape.tex
index 0646da8072f..d437495c220 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-escape.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-escape.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: pdftexcmds
-%% Version: 2011/04/16 v0.15
+%% Version: 2011/04/22 v0.16
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-shell.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-shell.tex
index 5f54db8dce9..16e2f50039d 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-shell.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test-shell.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: pdftexcmds
-%% Version: 2011/04/16 v0.15
+%% Version: 2011/04/22 v0.16
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -44,6 +44,21 @@
\catcode`\@=11 %
\input pdftexcmds.sty\relax
\def\msg#{\immediate\write16}
+\def\MaybeEnd{}
+\ifx\luatexversion\UnDeFiNeD
+\else
+ \ifnum\luatexversion<68 %
+ \ifx\pdf@shellescape\@undefined
+ \msg{SHELL=U}%
+ \msg{OK (LuaTeX < 0.68)}%
+ \else
+ \msg{SHELL=defined}%
+ \errmessage{Failed (LuaTeX < 0.68)}%
+ \fi
+ \def\MaybeEnd{\csname @@end\endcsname\end}%
+ \fi
+\fi
+\MaybeEnd
\ifx\pdf@shellescape\@undefined
\msg{SHELL=U}%
\else
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test1.tex
index 47caaeab5d3..43635171a2e 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test1.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: pdftexcmds
-%% Version: 2011/04/16 v0.15
+%% Version: 2011/04/22 v0.16
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test2.tex
index 39147f4f7c7..e10b03b72f8 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdftexcmds-test2.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: pdftexcmds
-%% Version: 2011/04/16 v0.15
+%% Version: 2011/04/22 v0.16
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>