Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/macros/latex/contrib/attachfile

		 +---------------------------------+
		 |	THE ATTACHFILE PACKAGE	   |
		 | Scott Pakin, scott+af@pakin.org |
		 +---------------------------------+


Description
-----------

Starting with PDF 1.3 (Adobe Acrobat 4.0), PDF files can contain file
attachments -- arbitrary files that a reader can extract, just like
attachments to an e-mail message.  The attachfile package brings this
functionality to pdfLaTeX and provides some additional features not
available in Acrobat, such as the ability to use arbitrary LaTeX code
for the file icon -- including things like \includegraphics, tabular,
and math.  Settings can be made either globally or on a per-attachment
basis.  attachfile makes it easy to attach files and customize their
appearance in the enclosing document.


Copyright and license
---------------------

Copyright (C) 2011 Scott Pakin <scott+af@pakin.org>

This package may be distributed and/or modified under the conditions
of the LaTeX Project Public License, either version 1.3c of this
license or (at your option) any later version.  The latest version of
this license is in:

                http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of LaTeX
version 2006/05/20 or later.


Building attachfile
and its documentation
---------------------

tex attachfile.ins       <== Produces attachfile.sty (the package proper)
pdflatex attachfile.dtx  <== Produces attachfile.pdf (documentation)
makeindex -s gind.ist attachfile  <== Produces attachfile.ind (index)
makeindex -s gglo.ist attachfile.glo -o attachfile.gls  <== (change log)
pdflatex attachfile.dtx  <== Merges index + change log into the documentation
pdflatex attachfile.dtx  <== Produces final version of attachfile.pdf

Note that attachfile comes with pre-built documentation (PDF format,
U.S. letter-sized paper), so you really need to perform only the first
step above unless you're unhappy with the documentation as provided.

Files

Name Size Date Notes
README 1955 2011-03-27 21:44
attachfile.dtx 70163 2011-03-27 21:44
attachfile.ins 2107 2011-03-27 21:44
attachfile.pdf 375445 2011-03-27 21:44

Down­load the con­tents of this pack­age in one zip archive (349.8k).

at­tach­file – At­tach ar­bi­trary files to a PDF doc­u­ment

Start­ing with PDF 1.3 (Adobe Acro­bat 4.0), PDF files can con­tain file at­tach­ments — ar­bi­trary files that a reader can ex­tract, just like at­tach­ments to an e-mail mes­sage. The at­tach­file pack­age brings this func­tion­al­ity to pdfLaTeX and pro­vides some ad­di­tional fea­tures not avail­able in Acro­bat, such as the abil­ity to use ar­bi­trary LaTeX code for the file icon — in­clud­ing things like \in­clude­graph­ics, tab­u­lar, and math­e­mat­ics. Set­tings can be made ei­ther glob­ally or on a per-at­tach­ment ba­sis. At­tach­file makes it easy to at­tach files and cus­tomize their ap­pear­ance in the en­clos­ing doc­u­ment.

The pack­age sup­ports the Created, Mod­i­fied, and Size keys in the Embed­dedFile’s Params dic­tio­nary.

Pack­age De­tailsat­tach­file
Ver­sionv1.5b
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2010 Scott Pakin
Main­tainerScott Pakin
TDS archiveattachfile.tds.zip
Con­tained inTeXlive as at­tach­file
MikTeX as at­tach­file
Topics ac­cess PDF fea­tures
See also attachfile2
Guest Book Sitemap Contact