diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/infwarerr.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/infwarerr.dtx | 101 |
1 files changed, 82 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/infwarerr.dtx b/Master/texmf-dist/source/latex/oberdiek/infwarerr.dtx index 8de246f7b9f..c11bddd8a93 100644 --- a/Master/texmf-dist/source/latex/oberdiek/infwarerr.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/infwarerr.dtx @@ -69,7 +69,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: infwarerr 2007/04/26 v1.0 Providing info/warning/message (HO)} +\Msg{* Package: infwarerr 2007/06/14 v1.1 Providing info/warning/message (HO)} \Msg{************************************************************************} \keepsilent @@ -133,7 +133,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{infwarerr.drv}% - [2007/04/26 v1.0 Providing info/warning/message (HO)]% + [2007/06/14 v1.1 Providing info/warning/message (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc} \begin{document} @@ -142,7 +142,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{640} +% \CheckSum{657} % % \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 @@ -163,7 +163,7 @@ and the derived files % \GetFileInfo{infwarerr.drv} % % \title{The \xpackage{infwarerr} package} -% \date{2007/04/26 v1.0} +% \date{2007/06/14 v1.1} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -247,9 +247,12 @@ and the derived files % Package identification: % \begin{macrocode} \begingroup + \catcode40 12 % ( + \catcode41 12 % ) \catcode44 12 % , \catcode45 12 % - \catcode46 12 % . + \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ \expandafter\ifx\csname ProvidesPackage\endcsname\relax @@ -267,7 +270,7 @@ and the derived files \fi \expandafter\x\csname ver@infwarerr.sty\endcsname \ProvidesPackage{infwarerr}% - [2007/04/26 v1.0 Providing info/warning/message (HO)] + [2007/06/14 v1.1 Providing info/warning/message (HO)] % \end{macrocode} % % \subsection{Catcodes} @@ -450,6 +453,7 @@ and the derived files \begingroup \let\on@line\InfWarErr@online \long\def\@gobble##1{}% + \def\space{ }% \def\@spaces{\space\space\space\space}% \def\MessageBreak{^^J#1}% \newlinechar=10 % @@ -464,6 +468,7 @@ and the derived files \begingroup \let\on@line\InfWarErr@online \long\def\@gobble##1{}% + \def\space{ }% \def\@spaces{\space\space\space\space}% \def\MessageBreak{^^J#1}% \newlinechar=10 % @@ -480,6 +485,7 @@ and the derived files \begingroup \immediate\write\InfWarErr@unused{}% \newlinechar=10 % + \def\space{ }% \def\@spaces{\space\space\space\space}% \let\@ehc\InfWarErr@ehc \let\@ehd\InfWarErr@ehd @@ -491,7 +497,7 @@ and the derived files \errmessage{% #2.^^J^^J% #3^^J% - Type \space H <return> \space for immediate help% + Type \space H <return> \space for immediate help.^^J ...^^J% }% \endgroup } @@ -611,7 +617,7 @@ and the derived files \let\OrgWrite\write \chardef\WriteUnused=16 % \def\msg#{\immediate\OrgWrite\WriteUnused} -\msg{File: infwarerr-test1.tex 2007/04/26 v1.0 Test file for plain-TeX} +\msg{File: infwarerr-test1.tex 2007/06/14 v1.1 Test file for plain-TeX} \catcode64=11 % %</test1> % \end{macrocode} @@ -619,7 +625,7 @@ and the derived files % \begin{macrocode} %<*test2> \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{infwarerr-test2.tex}[2007/04/26 v1.0 Test file for LaTeX] +\ProvidesFile{infwarerr-test2.tex}[2007/06/14 v1.1 Test file for LaTeX] \RequirePackage{infwarerr} \makeatletter \let\OrgWrite\write @@ -662,7 +668,7 @@ and the derived files \msg{}% \msg{[\WriteText]}% \msg{<>}% - \msg{[#3]}% + \msg{[#3]}% hash-ok \TestFailed#1{write text}% \fi \endgroup @@ -731,13 +737,15 @@ and the derived files } \def\TestError{% %<test2> \let\write\OrgWrite +%<test2> \def\plaindots{} +%<test1> \def\plaindots{.^^J ...^^J} \@PackageError\pkgname\msgtext\hlptext \@TestError\@PackageError{% ! Package PACKAGE Error: MESSAGE^^J% (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% ^^J% See the PACKAGE package documentation for explanation.^^J% - Type~~H <return>~~for immediate help% + Type~~H <return>~~for immediate help\plaindots }{% HELP^^J% SECOND LINE% @@ -748,7 +756,7 @@ and the derived files (CLASS)~~~~~~~~~~~~~~SECOND LINE.^^J% ^^J% See the CLASS class documentation for explanation.^^J% - Type~~H <return>~~for immediate help% + Type~~H <return>~~for immediate help\plaindots }{% HELP^^J% SECOND LINE% @@ -759,7 +767,7 @@ and the derived files (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% ^^J% See the PACKAGE package documentation for explanation.^^J% - Type~~H <return>~~for immediate help% + Type~~H <return>~~for immediate help\plaindots }{% Try typing~~<return>~~to proceed.^^J% If that doesn't work, type~~X <return>~~to quit.% @@ -770,7 +778,7 @@ and the derived files (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% ^^J% See the PACKAGE package documentation for explanation.^^J% - Type~~H <return>~~for immediate help% + Type~~H <return>~~for immediate help\plaindots }{% You're in trouble here.~~Try typing~~<return>~~to proceed.^^J% If that doesn't work, type~~X <return>~~to quit.% @@ -864,19 +872,70 @@ and the derived files % the different directories in your installation TDS tree % (also known as \xfile{texmf} tree): % \begin{quote} -% \sbox0{^^A -% \begin{tabular}{@{}>{\ttfamily}l@{$\quad\rightarrow\quad$}>{\ttfamily}l@{}} +% \def\t{^^A +% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} % infwarerr.sty & tex/generic/oberdiek/infwarerr.sty\\ % infwarerr.pdf & doc/latex/oberdiek/infwarerr.pdf\\ % infwarerr-test1.tex & doc/latex/oberdiek/infwarerr-test1.tex\\ % infwarerr-test2.tex & doc/latex/oberdiek/infwarerr-test2.tex\\ % infwarerr.dtx & source/latex/oberdiek/infwarerr.dtx\\ % \end{tabular}^^A -% }% +% }^^A +% \sbox0{\t}^^A % \ifdim\wd0>\linewidth -% \mbox{}\nobreak\hskip0pt minus\leftmargin -% \usebox0 -% \nobreak\hskip0pt minus\rightmargin +% \begingroup +% \advance\linewidth by\leftmargin +% \advance\linewidth by\rightmargin +% \edef\x{\endgroup +% \def\noexpand\lw{\the\linewidth}^^A +% }\x +% \def\lwbox{^^A +% \leavevmode +% \hbox to \linewidth{^^A +% \kern-\leftmargin\relax +% \hss +% \usebox0 +% \hss +% \kern-\rightmargin\relax +% }^^A +% }^^A +% \ifdim\wd0>\lw +% \sbox0{\small\t}^^A +% \ifdim\wd0>\linewidth +% \ifdim\wd0>\lw +% \sbox0{\footnotesize\t}^^A +% \ifdim\wd0>\linewidth +% \ifdim\wd0>\lw +% \sbox0{\scriptsize\t}^^A +% \ifdim\wd0>\linewidth +% \ifdim\wd0>\lw +% \sbox0{\tiny\t}^^A +% \ifdim\wd0>\linewidth +% \lwbox +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi % \else % \usebox0 % \fi @@ -944,6 +1003,10 @@ and the derived files % \item % First version. % \end{Version} +% \begin{Version}{2007/06/14 v1.1} +% \item +% Small fixes +% \end{Version} % \end{History} % % \PrintIndex |