filecontentsdef – filecontents + macro + verbatim
The package provides two environments called filecontentsdef and filecontentshere. They are derived from the LaTeX filecontents environment as provided by Scott Pakin's filecontents package. In addition to the file creation they either store the (verbatim) contents in a macro (filecontentsdef) or typeset them (verbatim) on the spot (filecontentshere).
The author developed the package to display TeX code verbatim in documentation and the same time produce the corresponding files during the LaTeX run in order to embed them in the PDF as file attachment annotations (by using Scott Pakin's package attachfile).
|License||The LaTeX Project Public License 1.3|
|Contained in||TeX Live as filecontentsdef|
|MiKTeX as filecontentsdef|
Download the contents of this package in one zip archive (81.2k).
Maybe you are interested in the following packages as well.
- grffile: Extended file name support for graphics
- fileerr: LaTeX's mechanisms for dealing with file errors
- dtxgen: Creates a template for a self-extracting .dtx file
- ltxfileinfo: Print version information for a LaTeX file