Comprehensive TeX Archive Network

filecontentsdef – filecontents + macro + verbatim

The pack­age pro­vides two en­vi­ron­ments called file­con­tents­def and file­con­tentshere. They are de­rived from the file­con­tents en­vi­ron­ment as pro­vided by Scott Pakin's file­con­tents pack­age. In ad­di­tion to the file cre­ation they ei­ther store the (ver­ba­tim) con­tents in a macro (file­con­tents­def) or type­set them (ver­ba­tim) on the spot (file­con­tentshere).

The au­thor de­vel­oped the pack­age to dis­play code ver­ba­tim in doc­u­men­ta­tion and the same time pro­duce the cor­re­spond­ing files dur­ing the run in or­der to em­bed them in the PDF as file at­tach­ment an­no­ta­tions (by us­ing Scott Pakin's pack­age at­tach­file).

Sources /macros/latex/contrib/filecontentsdef
Ver­sion 1.2 2016-09-19
Li­cense The Project Public Li­cense 1.3
Main­tainer Jean-Fran├žois Burnol
Con­tained in TeX Live as file­con­tents­def
MiKTeX as file­con­tents­def
Topics -re­lated-file man­age­ment
See also filecontents

Down­load the con­tents of this pack­age in one zip archive (81.2k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author