From 2905ee4c8de47cfdeea4787e465eb827f9b99e8b Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 5 Dec 2019 03:00:50 +0000
Subject: CTAN sync 201912050300

---
 macros/latex/contrib/oberdiek/pdfrender.dtx | 310 +---------------------------
 1 file changed, 1 insertion(+), 309 deletions(-)

(limited to 'macros/latex/contrib/oberdiek/pdfrender.dtx')

diff --git a/macros/latex/contrib/oberdiek/pdfrender.dtx b/macros/latex/contrib/oberdiek/pdfrender.dtx
index 395d21ae50..7558ad61ac 100644
--- a/macros/latex/contrib/oberdiek/pdfrender.dtx
+++ b/macros/latex/contrib/oberdiek/pdfrender.dtx
@@ -68,11 +68,6 @@
 % Installation:
 %    TDS:tex/generic/oberdiek/pdfrender.sty
 %    TDS:doc/latex/oberdiek/pdfrender.pdf
-%    TDS:doc/latex/oberdiek/test/pdfrender-test1.tex
-%    TDS:doc/latex/oberdiek/test/pdfrender-test2.tex
-%    TDS:doc/latex/oberdiek/test/pdfrender-test3.tex
-%    TDS:doc/latex/oberdiek/test/pdfrender-test4.tex
-%    TDS:doc/latex/oberdiek/test/pdfrender-test5.tex
 %    TDS:source/latex/oberdiek/pdfrender.dtx
 %
 %<*ignore>
@@ -149,10 +144,6 @@ and the derived files
 %  \file{pdfrender-test3.tex}{\from{pdfrender.dtx}{test3}}%
 %  \file{pdfrender-test4.tex}{\from{pdfrender.dtx}{test4}}%
 %  \file{pdfrender-test5.tex}{\from{pdfrender.dtx}{test5}}%
-  \nopreamble
-  \nopostamble
-%  \usedir{source/latex/oberdiek/catalogue}%
-%  \file{pdfrender.xml}{\from{pdfrender.dtx}{catalogue}}%
 }
 
 \catcode32=13\relax% active space
@@ -191,21 +182,6 @@ and the derived files
 % \fi
 %
 %
-% \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         \~}
 %
 % \GetFileInfo{pdfrender.drv}
 %
@@ -1383,286 +1359,7 @@ and the derived files
 \PdfRender@AtEnd%
 %</package>
 %    \end{macrocode}
-%
-% \section{Test}
-%
-% \subsection{Catcode checks for loading}
-%
-%    \begin{macrocode}
-%<*test1>
-%    \end{macrocode}
-%    \begin{macrocode}
-\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 pdfrender.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
-%    \end{macrocode}
-%    \begin{macrocode}
-%</test1>
-%    \end{macrocode}
-%
-% \subsection{Simple test file}
-%
-%    \begin{macrocode}
-%<*test2>
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{pdfrender-test2.tex}[2018/11/01]
-\documentclass{article}
-\usepackage{color}
-\usepackage{pdfrender}[2018/11/01]
-\begin{document}
-Hello World
-\newpage
-Start
-\textpdfrender{%
-  TextRenderingMode=1,%
-  LineWidth=.1,%
-  LineCapStyle=2,%
-  LineJoinStyle=1,%
-  MiterLimit=1.2,%
-  LineDashPattern=[2 2]0,%
-  RenderingIntent=Saturation,%
-}{Hello\newpage World}
-Stop
-\par
-\newlength{\LineWidth}
-\setlength{\LineWidth}{.5pt}
-Start
-\textpdfrender{%
-  FillColor=yellow,%
-  StrokeColor=[cmyk]{1,.5,0,0},%
-  TextRenderingMode=FillStroke,%
-  LineWidth=.5\LineWidth,%
-  LineCapStyle=Round,%
-  LineJoinStyle=Bevel,%
-}{Out-\par\newpage line}
-Stop
-\end{document}
-%</test2>
-%    \end{macrocode}
-%
-% \subsection{Further tests}
-%
-%    Robustness and bookmarks.
-%    \begin{macrocode}
-%<*test3>
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{pdfrender-test3.tex}[2018/11/01]
-\documentclass{article}
-\usepackage{pdfrender}[2018/11/01]
-\usepackage{hyperref}
-\usepackage{bookmark}
-\begin{document}
-\tableofcontents
-\section{%
-  \textpdfrender{%
-    TextRenderingMode=1,%
-    LineCapStyle=2,%
-    LineJoinStyle=1,%
-    MiterLimit=1.2,%
-    LineDashPattern=[2 2]0,%
-    RenderingIntent=Saturation,%
-  }{Hello World}%
-}
-\end{document}
-%</test3>
-%    \end{macrocode}
-%
-%    Color algorithm if \cs{pdfmatch} is not available.
-%    \begin{macrocode}
-%<*test4>
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{pdfrender-test4.tex}[2018/11/01]
-\documentclass[12pt]{article}
-\usepackage{pdfrender}[2018/11/01]
-\usepackage{color}
-\usepackage{qstest}
-\IncludeTests{*}
-\LogTests{log}{*}{*}
-\makeatletter
-\newcommand*{\CheckColor}[1]{%
-  \Expect{#1}*{\current@color}%
-}
-\makeatother
-\begin{document}
-  \begin{qstest}{color}{color}%
-    \CheckColor{0 g 0 G}%
-    \Huge\bfseries
-    \noindent
-    \textpdfrender{%
-      TextRenderingMode=2,%
-      LineWidth=.5,%
-      FillColor=yellow,%
-      StrokeColor=blue,%
-    }{%
-      \CheckColor{0 0 1 0 k 0 0 1 RG}%
-      Blue(Yellow)\\%
-      \textpdfrender{%
-        FillColor=green,%
-      }{%
-        \CheckColor{0 1 0 rg 0 0 1 RG}%
-        Blue(Green)%
-      }\\%
-      \CheckColor{0 0 1 0 k 0 0 1 RG}%
-      Blue(Yellow)\\%
-      \textpdfrender{%
-        StrokeColor=red,%
-      }{%
-        \CheckColor{0 0 1 0 k 1 0 0 RG}%
-        Red(Yellow)%
-      }\\%
-      \CheckColor{0 0 1 0 k 0 0 1 RG}%
-      Blue(Yellow) %
-    }%
-  \end{qstest}%
-  \begin{qstest}{colorlast}{colorlast}%
-    \makeatletter
-    \def\Test#1#2#3{%
-      \begingroup
-        \def\current@color{#1}%
-        \textpdfrender{#2}{%
-          \CheckColor{#3}%
-        }%
-      \endgroup
-    }%
-    \Test{1 g 0 0 1 RG 0 0 1 0 k 0.5 G}%
-         {StrokeColor=green}%
-         {0 0 1 0 k 0 1 0 RG}%
-    \Test{1 g 0 0 1 RG 0 0 1 0 k 0.5 G}%
-         {FillColor=red}%
-         {1 0 0 rg 0.5 G}%
-  \end{qstest}%
-\end{document}
-%</test4>
-%    \end{macrocode}
-%
-% \subsection{Compatibility with \plainTeX}
-%
-%    \begin{macrocode}
-%<*test5>
-\input luatex85.sty
-\pdfoutput=1 %
-\hsize=6.5in
-\vsize=8.9in
-\pdfpagewidth=\hsize
-\pdfpageheight=\vsize
-\parfillskip=0pt plus 1fil\relax
-\input pdfrender.sty\relax
-\catcode`\{=1 %
-\catcode`\}=2 %
-\let\OrgMakeFootLine\makefootline
-\def\makefootline{%
-  \begingroup\normalcolor\OrgMakeFootLine\endgroup
-}
-\font\f=ec-lmr10 scaled 3000\relax
-\f
-Before %
-\textpdfrender{%
-  TextRenderingMode=1,%
-  LineWidth=.1,%
-}{Hello\par\vfill\penalty-10000 World} %
-After %
-\par
-\vfill
-\penalty-10000 %
-\csname @@end\endcsname\end
-%</test5>
-%    \end{macrocode}
-%
-% \section{Installation}
+%% \section{Installation}
 %
 % \subsection{Download}
 %
@@ -1711,11 +1408,6 @@ After %
 % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
 %   pdfrender.sty & tex/generic/oberdiek/pdfrender.sty\\
 %   pdfrender.pdf & doc/latex/oberdiek/pdfrender.pdf\\
-%   test/pdfrender-test1.tex & doc/latex/oberdiek/test/pdfrender-test1.tex\\
-%   test/pdfrender-test2.tex & doc/latex/oberdiek/test/pdfrender-test2.tex\\
-%   test/pdfrender-test3.tex & doc/latex/oberdiek/test/pdfrender-test3.tex\\
-%   test/pdfrender-test4.tex & doc/latex/oberdiek/test/pdfrender-test4.tex\\
-%   test/pdfrender-test5.tex & doc/latex/oberdiek/test/pdfrender-test5.tex\\
 %   pdfrender.dtx & source/latex/oberdiek/pdfrender.dtx\\
 % \end{tabular}^^A
 % }^^A
-- 
cgit v1.2.3

