summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/oberdiek/hologo.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/oberdiek/hologo.dtx')
-rw-r--r--macros/latex/contrib/oberdiek/hologo.dtx270
1 files changed, 1 insertions, 269 deletions
diff --git a/macros/latex/contrib/oberdiek/hologo.dtx b/macros/latex/contrib/oberdiek/hologo.dtx
index a94dd32e6d..0985ff21d9 100644
--- a/macros/latex/contrib/oberdiek/hologo.dtx
+++ b/macros/latex/contrib/oberdiek/hologo.dtx
@@ -68,9 +68,6 @@
% TDS:tex/generic/oberdiek/hologo.sty
% TDS:doc/latex/oberdiek/hologo.pdf
% TDS:doc/latex/oberdiek/example/hologo-example.tex
-% TDS:doc/latex/oberdiek/test/hologo-test1.tex
-% TDS:doc/latex/oberdiek/test/hologo-test-spacefactor.tex
-% TDS:doc/latex/oberdiek/test/hologo-test-list.tex
% TDS:source/latex/oberdiek/hologo.dtx
%
%<*ignore>
@@ -146,10 +143,6 @@ and the derived files
% \file{hologo-test1.tex}{\from{hologo.dtx}{test1}}%
% \file{hologo-test-spacefactor.tex}{\from{hologo.dtx}{test-spacefactor}}%
% \file{hologo-test-list.tex}{\from{hologo.dtx}{test-list}}%
- \nopreamble
- \nopostamble
-% \usedir{source/latex/oberdiek/catalogue}%
-% \file{hologo.xml}{\from{hologo.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -192,21 +185,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{hologo.drv}
%
@@ -4455,250 +4433,7 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
\HOLOGO@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 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
-% \end{macrocode}
-% \begin{macrocode}
-%</test1>
-% \end{macrocode}
-%
-% \subsection{Spacefactor}
-%
-% The space factor must be 1000 after a logo. If it is greater 1000
-% then the following space is a space after a sentence closing point.
-% If the space factor is smaller 1000 then an immediate following
-% dot is interpreted as abbreviation, not sentence closing point.
-%
-% \begin{macrocode}
-%<*test-spacefactor>
-\NeedsTeXFormat{LaTeX2e}
-\documentclass{article}
-\usepackage{hologo}[2017/05/01]
-\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
-\def\TestList{}
-\def\hologoEntry#1#2#3{%
- \edef\TestList{%
- \ifx\TestList\@empty
- \else
- \TestList,%
- \fi
- #1%
- \ifx\\#2\\%
- \else
- ={variant=#2}%
- \fi
- }%
-}
-\hologoList
-\expandafter\kv@parse@normalized\expandafter{%
- \TestList
-}{%
- \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}
-%</test-spacefactor>
-% \end{macrocode}
-%
-% \subsection{Complete list}
-%
-% \begin{macrocode}
-%<*test-list>
-\NeedsTeXFormat{LaTeX2e}
-\documentclass[12pt,a4paper]{article}
-\usepackage{hologo}[2017/05/01]
-\usepackage[T1]{fontenc}
-\usepackage{lmodern}
-\usepackage{parskip}
-\usepackage[unicode]{hyperref}[2011/09/28]
-\usepackage{bookmark}[2011/09/19]
-\bookmarksetup{%
- numbered,%
- open,%
- openlevel=2,%
-}
-\renewcommand*{\contentsname}{List of logos}
-\begin{document}
-\tableofcontents
-\def\TestFont#1#2#3#4#5#6{%
- \begingroup
- \usefont{#3}{#4}{#5}{#6}%
- \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2}%
- \quad
- \begingroup\scriptsize\hologoVariant{#1}{#2}\endgroup
- \quad
- \endgroup
- (#3/#4/#5/#6)%
- \par
-}
-\makeatletter
-\def\hologoEntry#1#2#3{%
- \section{%
- \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2} %
- {[#1\ifx\\#2\\\else\space(#2)\fi]}% hash-ok
- }% braces around [] because of bug in tex4ht
- \begingroup
- \hypersetup{unicode=false}%
- \bookmark[%
- dest=\@currentHref,%
- rellevel=1,%
- keeplevel,%
- ]{%
- \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2} %
- (PDFDocEncoding)%
- }%
- \endgroup
- \TestFont{#1}{#2}{OT1}{cmr}{m}{n}%
- \TestFont{#1}{#2}{OT1}{cmss}{m}{n}%
- \TestFont{#1}{#2}{OT1}{cmr}{b}{n}%
- \TestFont{#1}{#2}{OT1}{cmr}{m}{it}%
- \TestFont{#1}{#2}{OT1}{cmtt}{m}{n}%
- \TestFont{#1}{#2}{T1}{lmr}{m}{n}%
- \TestFont{#1}{#2}{T1}{lmss}{m}{n}%
- \TestFont{#1}{#2}{T1}{lmr}{b}{n}%
- \TestFont{#1}{#2}{T1}{lmr}{m}{it}%
- \TestFont{#1}{#2}{T1}{lmtt}{m}{n}%
- \TestFont{#1}{#2}{T1}{lmvtt}{m}{n}%
- \TestFont{#1}{#2}{T1}{qtm}{m}{n}%
- \TestFont{#1}{#2}{T1}{qhv}{m}{n}%
- \TestFont{#1}{#2}{T1}{qtm}{b}{n}%
- \TestFont{#1}{#2}{T1}{qtm}{m}{it}%
- \TestFont{#1}{#2}{T1}{qcr}{m}{n}%
- \newpage
-}
-\makeatother
-\hologoList
-\end{document}
-%</test-list>
-% \end{macrocode}
-%
-% \section{Installation}
+%% \section{Installation}
%
% \subsection{Download}
%
@@ -4748,9 +4483,6 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
% hologo.sty & tex/generic/oberdiek/hologo.sty\\
% hologo.pdf & doc/latex/oberdiek/hologo.pdf\\
% example/hologo-example.tex & doc/latex/oberdiek/example/hologo-example.tex\\
-% test/hologo-test1.tex & doc/latex/oberdiek/test/hologo-test1.tex\\
-% test/hologo-test-spacefactor.tex & doc/latex/oberdiek/test/hologo-test-spacefactor.tex\\
-% test/hologo-test-list.tex & doc/latex/oberdiek/test/hologo-test-list.tex\\
% hologo.dtx & source/latex/oberdiek/hologo.dtx\\
% \end{tabular}^^A
% }^^A