diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/attachfile2.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/attachfile2.dtx | 73 |
1 files changed, 62 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/attachfile2.dtx b/Master/texmf-dist/source/latex/oberdiek/attachfile2.dtx index 18fc6f4fd78..559dc779e00 100644 --- a/Master/texmf-dist/source/latex/oberdiek/attachfile2.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/attachfile2.dtx @@ -473,7 +473,7 @@ and the derived files % option color \define@key{AtFi}{color}{% - \def\atfi@color{/C[#1]}% + \def\atfi@color{/C[#1]}% hash-ok \def\atfi@color@rgb{#1}% } \setkeys{AtFi}{color=1 0.9255 0.7765} @@ -630,13 +630,13 @@ and the derived files \raisebox{-1.25bp}{\parbox[b][14bp]{24bp}{}}% }% \DeclareRobustCommand{\textattachfile}[3][]{% - \notextattachfile[#1]{#3}% + \notextattachfile[{#1}]{#3}% }% \DeclareRobustCommand{\noattachfile}[1][]{% - \notextattachfile[#1]{\atfi@dummy@pushpin}% + \notextattachfile[{#1}]{\atfi@dummy@pushpin}% }% \DeclareRobustCommand{\attachfile}[2][]{% - \noattachfile[#1]% + \noattachfile[{#1}]% }% \expandafter\endinput \fi @@ -1655,7 +1655,7 @@ and the derived files gsave % currentpoint translate % Resolution 72 div VResolution neg 72 div scale% - [#1 /SP pdfmark % + [#1 /SP pdfmark % hash-ok grestore% }% \makebox[\atfi@appearancewidth]{}% @@ -1984,8 +1984,8 @@ __END__ % 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@{}} % attachfile2.sty & tex/latex/oberdiek/attachfile2.sty\\ % atfidvips.def & tex/latex/oberdiek/atfidvips.def\\ % atfipdftex.def & tex/latex/oberdiek/atfipdftex.def\\ @@ -1993,11 +1993,62 @@ __END__ % attachfile2.dtx & source/latex/oberdiek/attachfile2.dtx\\ % pdfatfi.pl & scripts/oberdiek/pdfatfi.pl\\ % \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 |