From 67b5e6732e20a5c4dbac08df6a62a9b9310535b1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 6 Jun 2006 21:15:25 +0000 Subject: remove pdftexdef per seb, unused test files for hsb color model? license and everything else unknown git-svn-id: svn://tug.org/texlive/trunk@1661 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/pdftexdef/test/README | 3 - .../source/latex/pdftexdef/test/stroke.pdf | Bin 1445 -> 0 bytes .../source/latex/pdftexdef/test/stroke.ps | 12 -- .../source/latex/pdftexdef/test/test-hsb.tex | 153 --------------------- .../source/latex/pdftexdef/test/test-hsb2rgb.ps | 98 ------------- .../source/latex/pdftexdef/test/test3g1.tex | 20 --- .../source/latex/pdftexdef/test/test3g2.tex | 21 --- .../source/latex/pdftexdef/test/test3h1.tex | 32 ----- .../source/latex/pdftexdef/test/test3h2.tex | 12 -- .../source/latex/pdftexdef/test/test3h3.tex | 7 - .../source/latex/pdftexdef/test/test3i1.tex | 10 -- .../source/latex/pdftexdef/test/test516.tex | 13 -- Master/texmf/tpm/collection-pdfetex.tpm | 1 - Master/texmf/tpm/scheme-context.tpm | 1 - 14 files changed, 383 deletions(-) delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/README delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/stroke.pdf delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/stroke.ps delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test-hsb.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test-hsb2rgb.ps delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test3g1.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test3g2.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test3h1.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test3h2.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test3h3.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test3i1.tex delete mode 100644 Master/texmf-dist/source/latex/pdftexdef/test/test516.tex diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/README b/Master/texmf-dist/source/latex/pdftexdef/test/README deleted file mode 100644 index 00ed95e062c..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/README +++ /dev/null @@ -1,3 +0,0 @@ -Test for hsb color model: - pdflatex test-hsb | grep PSTEST | gs - - pdfelatex test-hsb | grep PSTEST | gs - diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/stroke.pdf b/Master/texmf-dist/source/latex/pdftexdef/test/stroke.pdf deleted file mode 100644 index 37ee9dc3b09..00000000000 Binary files a/Master/texmf-dist/source/latex/pdftexdef/test/stroke.pdf and /dev/null differ diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/stroke.ps b/Master/texmf-dist/source/latex/pdftexdef/test/stroke.ps deleted file mode 100644 index 20d2603efb9..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/stroke.ps +++ /dev/null @@ -1,12 +0,0 @@ -%!PS -%%BoundingBox: 100 100 200 200 - -100 100 moveto -200 200 lineto -stroke - -110 150 moveto -/Times-Roman 20 selectfont -(Hello World) show - -showpage diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test-hsb.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test-hsb.tex deleted file mode 100644 index 0fe6025a4d7..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test-hsb.tex +++ /dev/null @@ -1,153 +0,0 @@ -\documentclass[12pt]{article} -\usepackage{color} -\usepackage{longtable} -\usepackage{ifpdf} - -\makeatletter -\ifpdf - \def\pstest#1{\typeout{#1\space\@percentchar\space PSTEST}} -\else - \let\pstest\@gobble -\fi - -\pstest{\@percentchar!PS-Adobe} -\pstest{(test-hsb2rgb.ps) runlibfile} -\AtEndDocument{\pstest{quit}} - -\newcommand*{\test}[2][hsb]{% - \textcolor[#1]{#2}{% - \let\pstext\relax - \xdef\rgbtext{\expandafter\rgb\current@color\relax}% - \let\pstext\@firstofone - Hello World % - \pstest{\hsb[#1] #2\relax \rgbtext test}% - }% - & - \let\pstext\@gobble - \small \hsb[#1] #2\relax - & - \ifpdf - \let\pstext\@gobble - \small \rgbtext - \fi - \tabularnewline -} -\def\hsb[#1]#2,#3,#4\relax{#2 #3 #4\pstext{ #1 }} -\ifpdf - \def\rgb#1 #2 #3 rg #4 #5 #6 RG\relax{#1 #2 #3\pstext{ rgb }} -\else - \def\rgb hsb #1 #2 #3\relax{} -\fi -\makeatother - -\begin{document} -\begin{longtable}{lll} -\bfseries Text &\bfseries HSB &\ifpdf\bfseries RGB\fi\\ -\hline -\endhead -\test{1,1,1} -\test{.5,.5,.5} -\test{0,0,0} -\test{1,0,0} -\test{0,1,0} -\test{0,0,1} -\test{1,1,0} -\test{1,0,1} -\test{.99,0,1} -\test{0,1,1} -\ifpdf -\test[HSB]{0,255,255} -\test[HSB]{0,100,200} -\test[HSB]{0,200,100} -\test[HSB]{20,255,255} -\test[HSB]{20,100,200} -\test[HSB]{20,200,100} -\test[HSB]{40,255,255} -\test[HSB]{40,100,200} -\test[HSB]{40,200,100} -\test[HSB]{60,255,255} -\test[HSB]{60,100,200} -\test[HSB]{60,200,100} -\test[HSB]{80,255,255} -\test[HSB]{80,100,200} -\test[HSB]{80,200,100} -\test[HSB]{100,255,255} -\test[HSB]{100,100,200} -\test[HSB]{100,200,100} -\test[HSB]{120,255,255} -\test[HSB]{120,100,200} -\test[HSB]{120,200,100} -\test[HSB]{140,255,255} -\test[HSB]{140,100,200} -\test[HSB]{140,200,100} -\test[HSB]{160,255,255} -\test[HSB]{160,100,200} -\test[HSB]{160,200,100} -\test[HSB]{180,255,255} -\test[HSB]{180,100,200} -\test[HSB]{180,200,100} -\test[HSB]{200,255,255} -\test[HSB]{200,100,200} -\test[HSB]{200,200,100} -\test[HSB]{220,255,255} -\test[HSB]{220,100,200} -\test[HSB]{220,200,100} -\test[HSB]{240,255,255} -\test[HSB]{240,100,200} -\test[HSB]{240,200,100} -\test[HSB]{260,255,255} -\test[HSB]{260,100,200} -\test[HSB]{260,200,100} -\test[HSB]{280,255,255} -\test[HSB]{280,100,200} -\test[HSB]{280,200,100} -\test[HSB]{300,255,255} -\test[HSB]{300,100,200} -\test[HSB]{300,200,100} -\test[HSB]{320,255,255} -\test[HSB]{320,100,200} -\test[HSB]{320,200,100} -\test[HSB]{340,255,255} -\test[HSB]{340,100,200} -\test[HSB]{340,200,100} -\test[HSB]{360,255,255} -\test[HSB]{360,100,200} -\test[HSB]{360,200,100} -% -\test[Hsb]{0,.7,.3} -\test[Hsb]{0,.3,.7} -\test[Hsb]{30,.7,.3} -\test[Hsb]{30,.3,.7} -\test[Hsb]{60,.7,.3} -\test[Hsb]{60,.3,.7} -\test[Hsb]{90,.7,.3} -\test[Hsb]{90,.3,.7} -\test[Hsb]{120,.7,.3} -\test[Hsb]{120,.3,.7} -\test[Hsb]{150,.7,.3} -\test[Hsb]{150,.3,.7} -\test[Hsb]{180,.7,.3} -\test[Hsb]{180,.3,.7} -\test[Hsb]{210,.7,.3} -\test[Hsb]{210,.3,.7} -\test[Hsb]{240,.7,.3} -\test[Hsb]{240,.3,.7} -\test[Hsb]{270,.7,.3} -\test[Hsb]{270,.3,.7} -\test[Hsb]{300,.7,.3} -\test[Hsb]{300,.3,.7} -\test[Hsb]{330,.7,.3} -\test[Hsb]{330,.3,.7} -\test[Hsb]{360,.7,.3} -\test[Hsb]{360,.3,.7} -% error cases -\pstest{quit}% -\nonstopmode -\test[hsb]{1.0001,1.0001,1.0001} -\test[HSB]{361,300,300} -\test[HSB]{-10,-10,-10} -\test[Hsb]{360.001,1.0001,1.0001} -\fi -\end{longtable} - -\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test-hsb2rgb.ps b/Master/texmf-dist/source/latex/pdftexdef/test/test-hsb2rgb.ps deleted file mode 100644 index e8bab80949a..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test-hsb2rgb.ps +++ /dev/null @@ -1,98 +0,0 @@ -%!PS-Adobe - -% .hsb_2_rgb copied from gs_cspace.ps (version 1.6 2003/06/26): -/.hsb_2_rgb - { - 3 { 0 max 1 min 3 1 roll } repeat - 1 2 index sub 1 index mul % (1 - s) * br - 3 -1 roll 2 index mul 6 mul % 6 * s * br - 4 -1 roll % stack:
<(1 - s) * br> <6 * s * br> - - % array of procedures for the 7 hue cases - { - % 0 ==> r >= g >= b - { mul 1 index add exch } - - % 1 ==> g >= r >= b - { 0.333333 exch sub mul 1 index add 3 1 roll } - - % 2 ==> g >= b >= r - { 0.333333 sub mul 1 index add 3 1 roll exch 3 -1 roll } - - % 3 ==> b >= g >= r - { 0.666667 exch sub mul 1 index add 3 -1 roll } - - % 4 ==> b >= r >= g - { 0.666667 sub mul 1 index add 3 1 roll exch } - - % 5 ==> r >= b >= g - { 1 exch sub mul 1 index add } - - % 6 ==> r = br, g = b = mn - % Case 6 is the same as case 0 with h = 0. This also simplifies - % the calculations. - { pop pop dup } - } - 1 index 6 mul cvi % (int)(6 * h) - get exec - } -bind def - -% numprint -/numprint { - 20 string cvs print -} bind def - -% hsb -/hsb { - /B exch def - /S exch def - /H exch def -} bind def - -% HSB -/HSB { - hsb - /H H 360 div def - /S S 255 div def - /B B 255 div def -} bind def - -% Hsb -/Hsb { - hsb - /H H 360 div def -} bind def - -% rgb -/rgb { - /b exch def - /g exch def - /r exch def -} bind def -/rg { rgb } bind def -/RG { rgb } bind def - -% check -> boolean -/check { - sub abs 1E-04 gt % ignore differences because of rounding -} bind def - -% test -/test { - H S B .hsb_2_rgb - /bb exch def - /gg exch def - /rr exch def - ([hsb:) print - H numprint (,) print S numprint (,) print B numprint (] ) print - ([rgb:) print - r numprint (,) print g numprint (,) print b numprint (] ) print - ([RGB:) print - rr numprint (,) print gg numprint (,) print bb numprint (]\n) print - r rr check { ( --> r differs: ) print rr r sub numprint (\n) print } if - g gg check { ( --> g differs: ) print gg g sub numprint (\n) print } if - b bb check { ( --> b differs: ) print bb b sub numprint (\n) print } if -} bind def - -%EOF diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test3g1.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test3g1.tex deleted file mode 100644 index 86aa6c41b52..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test3g1.tex +++ /dev/null @@ -1,20 +0,0 @@ -\documentclass{scrlettr} -\usepackage[pdftex]{graphicx} - -\def\test#1#2{% - \typeout{TEST: \string#1 (\the#1)=#2}% - \ifdim#1=#2\relax - \typeout{OK.}% - \else - \typeout{*** ERROR ***}% - \fi -} - -\begin{document} - -\test{\paperwidth}{0pt} -\test{\paperheight}{0pt} -\test{\pdfpagewidth}{597.50793pt} % 210mm -\test{\pdfpageheight}{845.04694pt} % 297mm - -\end{document} diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test3g2.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test3g2.tex deleted file mode 100644 index b907e8025ef..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test3g2.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[a5paper]{article} -\usepackage[pdftex]{graphicx} - -\def\test#1#2{% - \typeout{TEST: \string#1 (\the#1)=#2}% - \ifdim#1=#2\relax - \typeout{OK.}% - \else - \typeout{*** ERROR ***}% - \fi -} - -\begin{document} - -% a5paper settings of article.cls -\test{\paperwidth}{148mm} -\test{\paperheight}{210mm} -\test{\pdfpagewidth}{148mm} -\test{\pdfpageheight}{210mm} - -\end{document} diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test3h1.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test3h1.tex deleted file mode 100644 index 0d368331a5f..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test3h1.tex +++ /dev/null @@ -1,32 +0,0 @@ -\documentclass[a4paper,12pt]{article} -\usepackage{color,graphicx} -\pdfcompresslevel=0 -\pagestyle{empty} -\usepackage{times} -\begin{document} -\color{black} -Black color - -\includegraphics{stroke} - -\color{red} -Red color - -\includegraphics{stroke} - -End - -\newpage - -\color{black} -Black color - -\includegraphics{stroke} - -\color{red} -Red color - -\includegraphics{stroke} - -End -\end{document} diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test3h2.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test3h2.tex deleted file mode 100644 index ab02a6e062e..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test3h2.tex +++ /dev/null @@ -1,12 +0,0 @@ -\input miniltx -\def\Gin@driver{pdftex.def} -\input graphicx.sty -\csname GPT@fix\endcsname -\resetatcatcode - -\includegraphics[bb=10 10 100 100]{stroke} - -\includegraphics{stroke} - -Hello World -\bye diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test3h3.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test3h3.tex deleted file mode 100644 index 90030262bb1..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test3h3.tex +++ /dev/null @@ -1,7 +0,0 @@ -\documentclass{article} -\usepackage{graphicx} -\begin{document} -\fbox{\includegraphics[bb=10 10 100 100]{stroke}} - -Hello World -\end{document} diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test3i1.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test3i1.tex deleted file mode 100644 index d3b196381f0..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test3i1.tex +++ /dev/null @@ -1,10 +0,0 @@ -\input miniltx -\makeatletter -\def\Gin@driver{pdftex.def} -\input color.sty -\resetatcatcode - -[\textcolor{red}{a little red}] -\textcolor{blue}{a little blue} - -\bye diff --git a/Master/texmf-dist/source/latex/pdftexdef/test/test516.tex b/Master/texmf-dist/source/latex/pdftexdef/test/test516.tex deleted file mode 100644 index 3e560d427f8..00000000000 --- a/Master/texmf-dist/source/latex/pdftexdef/test/test516.tex +++ /dev/null @@ -1,13 +0,0 @@ -% Test file for bug #516, provided by Rolf Niepraschk - -\documentclass{article} - -\usepackage{graphics} - -\AtBeginDocument{\usepackage{graphicx}} - -\begin{document} - -\includegraphics[page=1]{stroke.pdf} - -\end{document} diff --git a/Master/texmf/tpm/collection-pdfetex.tpm b/Master/texmf/tpm/collection-pdfetex.tpm index 6307103a763..3f3609d83bf 100644 --- a/Master/texmf/tpm/collection-pdfetex.tpm +++ b/Master/texmf/tpm/collection-pdfetex.tpm @@ -27,7 +27,6 @@ generate PDF output - diff --git a/Master/texmf/tpm/scheme-context.tpm b/Master/texmf/tpm/scheme-context.tpm index 2e8de12522a..2e8c756cbde 100644 --- a/Master/texmf/tpm/scheme-context.tpm +++ b/Master/texmf/tpm/scheme-context.tpm @@ -31,7 +31,6 @@ ConTeXt documents in Postscript or PDF. - -- cgit v1.2.3