CTAN Comprehensive TeX Archive Network

filecontentsdef – filecontents + macro + verbatim

The package provides two environments called filecontentsdef and filecontentshere. They are derived from the 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 code verbatim in documentation and the same time produce the corresponding files during the run in order to embed them in the PDF as file attachment annotations (by using Scott Pakin's package attachfile).

Version1.5 2019-09-29
LicensesThe Project Public License 1.3
Copyright2016–2019 Jean-Fran├žois Burnol
MaintainerJean-Fran├žois Burnol
Contained inTeX Live as filecontentsdef
MiKTeX as filecontentsdef
TopicsFile management
See alsofilecontents

Download the contents of this package in one zip archive (142.3k).

Community Comments



Here you can see a respective diagram in newer browsers.


Guest Book Sitemap Contact Contact Author