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/gettitlestring.dtx | 176 +----------------------
 1 file changed, 1 insertion(+), 175 deletions(-)

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

diff --git a/macros/latex/contrib/oberdiek/gettitlestring.dtx b/macros/latex/contrib/oberdiek/gettitlestring.dtx
index 6d9dfad7c5..724ed7fecc 100644
--- a/macros/latex/contrib/oberdiek/gettitlestring.dtx
+++ b/macros/latex/contrib/oberdiek/gettitlestring.dtx
@@ -67,8 +67,6 @@
 % Installation:
 %    TDS:tex/generic/oberdiek/gettitlestring.sty
 %    TDS:doc/latex/oberdiek/gettitlestring.pdf
-%    TDS:doc/latex/oberdiek/test/gettitlestring-test1.tex
-%    TDS:doc/latex/oberdiek/test/gettitlestring-test2.tex
 %    TDS:source/latex/oberdiek/gettitlestring.dtx
 %
 %<*ignore>
@@ -141,10 +139,6 @@ and the derived files
 %  \usedir{doc/latex/oberdiek/test}%
 %  \file{gettitlestring-test1.tex}{\from{gettitlestring.dtx}{test1}}%
 %  \file{gettitlestring-test2.tex}{\from{gettitlestring.dtx}{test2}}%
-  \nopreamble
-  \nopostamble
-%  \usedir{source/latex/oberdiek/catalogue}%
-%  \file{gettitlestring.xml}{\from{gettitlestring.dtx}{catalogue}}%
 }
 
 \catcode32=13\relax% active space
@@ -181,21 +175,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{gettitlestring.drv}
 %
@@ -616,158 +595,7 @@ and the derived files
 \GTS@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 gettitlestring.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{Test of non-expand method}
-%
-%    \begin{macrocode}
-%<*test2>
-\NeedsTeXFormat{LaTeX2e}
-\documentclass{minimal}
-\usepackage{gettitlestring}[2016/05/16]
-\usepackage{qstest}
-\IncludeTests{*}
-\LogTests{log}{*}{*}
-\begin{document}
-\begin{qstest}{non-expand}{non-expand}
-  \def\test#1#2{%
-    \sbox0{%
-      \GetTitleString{#1}%
-      \Expect{#2}*{\GetTitleStringResult}%
-    }%
-    \Expect{0.0pt}*{\the\wd0}%
-  }%
-  \test{}{}%
-  \test{ }{}%
-  \test{ x }{x}%
-  \test{ x y }{x y}%
-  \test{ \relax}{\relax}%
-  \test{\label{f}a}{a}%
-  \test{ \label{f}a}{a}%
-  \test{\label{f} a}{a}%
-  \test{ \label{f} a}{a}%
-  \test{a\label{f}}{a}%
-  \test{a\label{f} }{a}%
-  \test{a \label{f}}{a}%
-  \test{a \label{f} }{a}%
-  \test{a\label{f}b\label{g}}{ab}%
-  \test{a \label{f}b \label{g} }{a b}%
-  \test{a\label{f} b \label{g} }{a b}%
-\end{qstest}
-\end{document}
-%</test2>
-%    \end{macrocode}
-%
-% \section{Installation}
+%% \section{Installation}
 %
 % \subsection{Download}
 %
@@ -816,8 +644,6 @@ and the derived files
 % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
 %   gettitlestring.sty & tex/generic/oberdiek/gettitlestring.sty\\
 %   gettitlestring.pdf & doc/latex/oberdiek/gettitlestring.pdf\\
-%   test/gettitlestring-test1.tex & doc/latex/oberdiek/test/gettitlestring-test1.tex\\
-%   test/gettitlestring-test2.tex & doc/latex/oberdiek/test/gettitlestring-test2.tex\\
 %   gettitlestring.dtx & source/latex/oberdiek/gettitlestring.dtx\\
 % \end{tabular}^^A
 % }^^A
-- 
cgit v1.2.3

