CTAN update: filecontentsdef
- 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 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).
|2016–2019 Jean-François Burnol
- 2019-09-30 CTAN update: filecontentsdef
- 2019-04-24 CTAN update: filecontentsdef
- 2016-09-22 New on CTAN: filecontentsdef