| 1 |
+---------------------------------+ |
| 2 |
| THE ATTACHFILE PACKAGE | |
| 3 |
| Scott Pakin, [email protected] | |
| 4 |
+---------------------------------+ |
| 5 |
|
| 6 |
|
| 7 |
Description |
| 8 |
----------- |
| 9 |
|
| 10 |
Starting with PDF 1.3 (Adobe Acrobat 4.0), PDF files can contain file |
| 11 |
attachments -- arbitrary files that a reader can extract, just like |
| 12 |
attachments to an e-mail message. The attachfile package brings this |
| 13 |
functionality to pdfLaTeX and LuaLaTeX and provides some additional |
| 14 |
features not available in Acrobat, such as the ability to use |
| 15 |
arbitrary LaTeX code for the file icon -- including things like |
| 16 |
\includegraphics, tabular, and math. Settings can be made either |
| 17 |
globally or on a per-attachment basis. attachfile makes it easy to |
| 18 |
attach files and customize their appearance in the enclosing document. |
| 19 |
|
| 20 |
|
| 21 |
Copyright and license |
| 22 |
--------------------- |
| 23 |
|
| 24 |
Copyright (C) 2016 Scott Pakin <[email protected]> |
| 25 |
|
| 26 |
This package may be distributed and/or modified under the conditions |
| 27 |
of the LaTeX Project Public License, either version 1.3c of this |
| 28 |
license or (at your option) any later version. The latest version of |
| 29 |
this license is in: |
| 30 |
|
| 31 |
http://www.latex-project.org/lppl.txt |
| 32 |
|
| 33 |
and version 1.3c or later is part of all distributions of LaTeX |
| 34 |
version 2006/05/20 or later. |
| 35 |
|
| 36 |
|
| 37 |
Building attachfile |
| 38 |
and its documentation |
| 39 |
--------------------- |
| 40 |
|
| 41 |
tex attachfile.ins <== Produces attachfile.sty (the package proper) |
| 42 |
pdflatex attachfile.dtx <== Produces attachfile.pdf (documentation) |
| 43 |
makeindex -s gind.ist attachfile <== Produces attachfile.ind (index) |
| 44 |
makeindex -s gglo.ist attachfile.glo -o attachfile.gls <== (change log) |
| 45 |
pdflatex attachfile.dtx <== Merges index + change log into the documentation |
| 46 |
pdflatex attachfile.dtx <== Produces final version of attachfile.pdf |
| 47 |
|
| 48 |
Note that attachfile comes with pre-built documentation (PDF format, |
| 49 |
U.S. letter-sized paper), so you really need to perform only the first |
| 50 |
step above unless you're unhappy with the documentation as provided. |