diff options
author | Norbert Preining <preining@logic.at> | 2007-11-16 11:24:40 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-16 11:24:40 +0000 |
commit | 55ae6e504d04d806c4c5ac253dedb98196fc1c35 (patch) | |
tree | 5200a08eba158000f26a357a2a54a0923dd189de /Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx | |
parent | a7dfc63af349a5ea5fb37b110f584cc878308ea7 (diff) |
oberdiek update 11/11
git-svn-id: svn://tug.org/texlive/trunk@5458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx | 102 |
1 files changed, 87 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx b/Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx index 7faef5ce447..ac70855fd7d 100644 --- a/Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/bigintcalc.dtx @@ -71,12 +71,13 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: bigintcalc 2007/09/27 v1.0 Expandable big integer calculations (HO)} +\Msg{* Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO)} \Msg{************************************************************************} \keepsilent \askforoverwritefalse +\let\MetaPrefix\relax \preamble This is a generated file. @@ -102,6 +103,7 @@ and the derived files bigintcalc-test3.tex. \endpreamble +\let\MetaPrefix\DoubleperCent \generate{% \file{bigintcalc.ins}{\from{bigintcalc.dtx}{install}}% @@ -122,6 +124,10 @@ and the derived files \Msg{*} \Msg{* bigintcalc.sty} \Msg{*} +\Msg{* And install the following script file:} +\Msg{*} +\Msg{* } +\Msg{*} \Msg{* To produce the documentation run the file `bigintcalc.drv'} \Msg{* through LaTeX.} \Msg{*} @@ -137,9 +143,9 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{bigintcalc.drv}% - [2007/09/27 v1.0 Expandable big integer calculations (HO)]% + [2007/11/11 v1.1 Expandable big integer calculations (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2007/10/21] +\usepackage{holtxdoc}[2007/11/11] \usepackage{wasysym} \let\iint\relax \let\iiint\relax @@ -181,7 +187,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{3507} +% \CheckSum{3620} % % \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 @@ -202,7 +208,7 @@ and the derived files % \GetFileInfo{bigintcalc.drv} % % \title{The \xpackage{bigintcalc} package} -% \date{2007/09/27 v1.0} +% \date{2007/11/11 v1.1} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -628,6 +634,9 @@ and the derived files \fi \fi \else + \catcode35 6 % # + \catcode123 1 % { + \catcode125 2 % } \expandafter\ifx\csname PackageInfo\endcsname\relax \def\x#1#2{% \immediate\write-1{Package #1 Info: #2.}% @@ -644,6 +653,7 @@ and the derived files % Package identification: % \begin{macrocode} \begingroup + \catcode35 6 % # \catcode40 12 % ( \catcode41 12 % ) \catcode44 12 % , @@ -652,6 +662,8 @@ and the derived files \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax \def\x#1#2#3[#4]{\endgroup \immediate\write-1{Package: #3 #4}% @@ -667,16 +679,28 @@ and the derived files \fi \expandafter\x\csname ver@bigintcalc.sty\endcsname \ProvidesPackage{bigintcalc}% - [2007/09/27 v1.0 Expandable big integer calculations (HO)] + [2007/11/11 v1.1 Expandable big integer calculations (HO)] % \end{macrocode} % % \subsection{Catcodes} % % \begin{macrocode} -\expandafter\edef\csname BIC@AtEnd\endcsname{% - \catcode64 \the\catcode64\relax -} +\begingroup + \catcode123 1 % { + \catcode125 2 % } + \def\x{\endgroup + \expandafter\edef\csname BIC@AtEnd\endcsname{% + \catcode35 \the\catcode35\relax + \catcode64 \the\catcode64\relax + \catcode123 \the\catcode123\relax + \catcode125 \the\catcode125\relax + }% + }% +\x +\catcode35 6 % # \catcode64 11 % @ +\catcode123 1 % { +\catcode125 2 % } \def\TMP@EnsureCode#1#2{% \edef\BIC@AtEnd{% \BIC@AtEnd @@ -692,6 +716,7 @@ and the derived files \TMP@EnsureCode{42}{12}% * \TMP@EnsureCode{43}{12}% + \TMP@EnsureCode{45}{12}% - +\TMP@EnsureCode{46}{12}% . \TMP@EnsureCode{47}{12}% / \TMP@EnsureCode{58}{11}% : (letter!) \TMP@EnsureCode{60}{12}% < @@ -754,7 +779,16 @@ and the derived files % % \begin{macrocode} \begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdfescapehex\endcsname\relax +\expandafter\ifx\csname RequirePackage\endcsname\relax + \input pdftexcmds.sty\relax +\else + \RequirePackage{pdftexcmds}[2007/11/11]% +\fi +% \end{macrocode} +% +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname pdf@escapehex\endcsname\relax % \end{macrocode} % % \begin{macro}{\BIC@Expand} @@ -809,8 +843,10 @@ and the derived files % \begin{macro}{\BIC@Expand} % \begin{macrocode} \def\BIC@Expand#1{% - \pdfunescapehex{% - \expandafter\BIC@StripHexSpace\pdfescapehex{#1}20\@nil + \romannumeral0\expandafter\expandafter\expandafter\BIC@Space + \pdf@unescapehex{% + \expandafter\expandafter\expandafter + \BIC@StripHexSpace\pdf@escapehex{#1}20\@nil }% }% % \end{macrocode} @@ -3314,7 +3350,39 @@ $ \BIC@Temp 9{18\or27\or36\or45\or54\or63\or72\or81}% %<*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 @@ -3323,7 +3391,7 @@ $ \BIC@Temp 9{18\or27\or36\or45\or54\or63\or72\or81}% \catcode\the\count@=\the\catcode\count@\relax }% \ifnum\count@<255 % - \advance\count@\@ne + \advance\count@ 1 % \repeat \def\RangeCatcodeInvalid#1#2{% @@ -3331,7 +3399,7 @@ $ \BIC@Temp 9{18\or27\or36\or45\or54\or63\or72\or81}% \loop \catcode\count@=15 % \ifnum\count@<#2\relax - \advance\count@\@ne + \advance\count@ 1 % \repeat } \def\Test{% @@ -3374,7 +3442,7 @@ $ \BIC@Temp 9{18\or27\or36\or45\or54\or63\or72\or81}% \makeatletter \chardef\BIC@TestMode=1 % \makeatother -\usepackage{bigintcalc}[2007/09/27] +\usepackage{bigintcalc}[2007/11/11] %<noetex>\let\numexpr\SavedNumexpr \usepackage{qstest} \IncludeTests{*} @@ -4363,6 +4431,10 @@ $ \BIC@Temp 9{18\or27\or36\or45\or54\or63\or72\or81}% % \item % First version. % \end{Version} +% \begin{Version}{2007/11/11 v1.1} +% \item +% Use of package \xpackage{pdftexcmds} for \LuaTeX\ support. +% \end{Version} % \end{History} % % \PrintIndex |