CTAN Comprehensive TeX Archive Network

CTAN update: filecontentsdef

Date: September 30, 2019 2:46:25 PM CEST
Jean-François Burnol submitted an update to the filecontentsdef package. Version number: 1.5 2019-09-29 License type: lppl1.3 Summary description: filecontents + macro + verbatim Announcement text:
- breaking change: filecontentsdef and filecontentsdefmacro define a macro obeying the local scope. Use filecontentsgdef, resp. filecontentsgdefmacro for definitions with global scope. - make handling of the tabulation and form feed characters customizable. - make the name of the environment used by \filecontentsprint customizable (it defaults to verbatim) and allow to pass options to it; has been tested with fancyvrb and minted. - add \filecontentsprintviascan which allows to use verbatim-like environment such as listings which are incompatible with \filecontentsprint.
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
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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
Copyright2016–2019 Jean-François Burnol
MaintainerJean-François Burnol



Guest Book Sitemap Contact Contact Author