Index of /macros/latex2e/contrib/attachfile
      Name                    Last modified       Size  Description

[DIR] Parent Directory 12-Dec-2019 15:56 - [   ] attachfile.dtx 19-Sep-2016 14:36 71k [   ] attachfile.ins 19-Sep-2016 14:36 2k [   ] attachfile.pdf 19-Sep-2016 14:36 353k

		 | Scott Pakin, |


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 LuaLaTeX 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) 2016 Scott Pakin <>

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:


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 attachfile  <== Produces attachfile.ind (index)
makeindex -s 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.