CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/filecontentsdef

README.md
Source:  filecontentsdef.dtx (v1.2 2016/09/19)
Author:  Jean-Francois Burnol
Info:    filecontents + macro + verbatim
License: LPPL 1.3c
Copyright (C) 2016 Jean-Francois Burnol.
<jfbu at free dot fr>

ABSTRACT

This lightweight pack­age pro­vides two en­vi­ron­ments called filecontentsdef and filecontentshere. They are de­rived from the filecontents en­vi­ron­ment as ex­tended 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 (filecontentsdef) or type­set them (ver­ba­tim) on the spot (filecontentshere).

I de­vel­oped this to dis­play code ver­ba­tim in doc­u­men­ta­tion and si­mul­ta­ne­ously pro­duce dur­ing the run the cor­re­spond­ing files in or­der to em­bed them in the PDF as file at­tach­ment an­no­ta­tions (via the ser­vices of Scott Pakin's fur­ther pack­age at­tach­file.)

INSTALLATION

To ex­tract the pack­age (.sty) run etex on the dtx file. To pro­duce the PDF doc­u­men­ta­tion, ei­ther:

  1. la­tex (twice) file­con­tents­def.dtx, then dvips, then ps2pdf
  2. or pdfla­tex (twice),
  3. or la­tex (twice) then dvipdfmx

This will also ex­tract au­to­mat­i­cally the style file.

In­stal­la­tion:

filecontentsdef.sty -> TDS:tex/latex/filecontentsdef/filecontentsdef.sty
filecontentsdef.dtx -> TDS:source/latex/filecontentsdef/filecontentsdef.dtx
filecontentsdef.pdf -> TDS:doc/latex/filecontentsdef/filecontentsdef.pdf
README.md   -> TDS:doc/latex/filecontentsdef/README.md

The other files may be dis­carded.

LICENSE

This Work may be dis­tributed and/or mod­i­fied un­der the con­di­tions of the Project Public Li­cense 1.3c. This ver­sion of this li­cense is in

http://www.la­tex-project.org/lppl/lppl-1-3c.txt

and the lat­est ver­sion of this li­cense is in

http://www.la­tex-project.org/lppl.txt

and ver­sion 1.3 or later is part of all dis­tri­bu­tions of ver­sion 2005/12/01 or later.

The Author of this Work is:

  • Jean-Fran­cois Burnol <jfbu at free dot fr>

This Work con­sists of the main source file file­con­tents­def.dtx and the de­rived files file­con­tents­def.sty, file­con­tents­def.ins, file­con­tents­def.pdf, file­con­tents­def.dvi, README.md.

CHANGE LOG

v1.2 [2016/09/19]

Ini­tial ver­sion.

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

file­con­tents­def – file­con­tents + macro + ver­ba­tim

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

Pack­agefile­con­tents­def
Ver­sion1.2 2016-09-19
Li­censesThe Project Public Li­cense 1.3
Copy­right2016 Jean-Fran├žois Burnol
Main­tainerJean-Fran├žois Burnol
Con­tained inTeX Live as file­con­tents­def
MiKTeX as file­con­tents­def
TopicsFile man­age­ment
See alsofilecontents
...
Guest Book Sitemap Contact Contact Author