| 1 |
\expandafter\edef\csname _ catcode\endcsname{\the\catcode`_} |
| 2 |
\expandafter\edef\csname @ catcode\endcsname{\the\catcode`@} |
| 3 |
|
| 4 |
\let\olduscore=\_ |
| 5 |
|
| 6 |
\input ptb-utils |
| 7 |
|
| 8 |
\_checkloaded{pdfToolbox} |
| 9 |
|
| 10 |
\def\pdfToolboxversion{0.2} |
| 11 |
\def\pdfToolboxdate{April, 2025} |
| 12 |
|
| 13 |
\say{This is pdfToolbox, version \pdfToolboxversion (\pdfToolboxdate)} |
| 14 |
|
| 15 |
\input ptb-pdfData |
| 16 |
\input ptb-pdfGraphics |
| 17 |
\input ptb-pdfDstruct |
| 18 |
|
| 19 |
\def\@pdftoolbox[#1]{{\setfontandscale{bf}{#1}\localcolor rgb{1 0 0}{PDF}\localcolor rgb{0 0 1}{\setscale{#1+5pt}T}\localcolor rgb{0 .9 0}{OOLBOX}}} |
| 20 |
\def\pdftoolbox{\@ifnextchar[ \@pdftoolbox {\@pdftoolbox[\dimexpr\currscale-3pt\relax]}} |
| 21 |
|
| 22 |
\let\_=\olduscore |
| 23 |
|
| 24 |
\catcode`_=\csname _ catcode\endcsname |
| 25 |
\catcode`@=\csname @ catcode\endcsname |
| 26 |
|