# CTAN update: filecontentsdef

Date: April 24, 2019 2:55:34 PM CEST
Jean-François Burnol submitted an update to the filecontentsdef package. Version number: 1.4 2019-04-20 License type: lppl1.3 Summary description: filecontents + macro + verbatim Announcement text:
- Extend environments and macros to accept as argument not only a control sequence token as formerly, but also the name of such a control sequence (i.e. material which will get expanded in \csname...\endcsname). - Add filecontentsdefmacro environment which puts verbatimized contents into a macro but does not save them to a file at the same time. - Refactor documentation, explain how to define wrapper environments.
This package is located at http://mirror.ctan.org/macros/latex/contrib/filecontentsdef More information is at https://www.ctan.org/pkg/filecontentsdef
Thanks for the upload. For the CTAN Team Erik Braun
We are supported by the TeX users groups. Please join a users group; see http://www.tug.org/usergroups.html .

## 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).

 Package filecontentsdef Version 1.5 2019-09-29 Copyright 2016–2019 Jean-François Burnol Maintainer Jean-François Burnol

more