| 1 |
%% |
| 2 |
%% This is file `lwarp-attachfile.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `attachfile') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
|
| 19 |
\LWR@ProvidesPackagePass{attachfile}[2016/09/18] |
| 20 |
\newenvironment*{LWR@attachfile@icon} |
| 21 |
{ |
| 22 |
\begin{lateximage}*% |
| 23 |
[-attachfile-]% |
| 24 |
[% |
| 25 |
\detokenize\expandafter{\atfi@icon@icon}-% |
| 26 |
\detokenize\expandafter{\atfi@color@rgb}% |
| 27 |
]% |
| 28 |
} |
| 29 |
{ |
| 30 |
\end{lateximage} |
| 31 |
} |
| 32 |
\xpretocmd{\atfi@acroGraph}{\LWR@attachfile@icon}{}{} |
| 33 |
\xapptocmd{\atfi@acroGraph}{\endLWR@attachfile@icon}{}{} |
| 34 |
|
| 35 |
\xpretocmd{\atfi@acroPaperclip}{\LWR@attachfile@icon}{}{} |
| 36 |
\xapptocmd{\atfi@acroPaperclip}{\endLWR@attachfile@icon}{}{} |
| 37 |
|
| 38 |
\xpretocmd{\atfi@acroPushPin}{\LWR@attachfile@icon}{}{} |
| 39 |
\xapptocmd{\atfi@acroPushPin}{\endLWR@attachfile@icon}{}{} |
| 40 |
|
| 41 |
\xpretocmd{\atfi@acroTag}{\LWR@attachfile@icon}{}{} |
| 42 |
\xapptocmd{\atfi@acroTag}{\endLWR@attachfile@icon}{}{} |
| 43 |
\DeclareRobustCommand{\atfi@embedfile}[1]{} |
| 44 |
\newcommand*{\LWR@attachfile@appearance}{} |
| 45 |
|
| 46 |
\DeclareRobustCommand{\atfi@set@appearance}[1]{% |
| 47 |
\def\LWR@attachfile@appearance{#1}% |
| 48 |
} |
| 49 |
\DeclareRobustCommand{\atfi@insert@file@annot}[1]{% |
| 50 |
\LWR@href@partsanitized{#1}{\LWR@attachfile@appearance}% |
| 51 |
} |
| 52 |
|
| 53 |
|
| 54 |
\endinput |
| 55 |
%% |
| 56 |
%% End of file `lwarp-attachfile.sty'. |