#

Search | Home | Alpha | Brief | Topical | Hierarchical

filecontents

Extended filecontents and filecontents* environments

LaTeX2e's `filecontents` and `filecontents*` environments enable a LaTeX source file to generate external files as it runs through LaTeX. However, there are two limitations of these environments: they refuse to overwrite existing files, and they can only be used in the preamble of a document. The filecontents package removes these limitations, letting you overwrite existing files and letting you use `filecontents`/`filecontents*` anywhere.

The author is Scott Pakin.

License: lppl Version: 1.1a Catalogued: 2006-12-10

- Visit
  - Visit a nearby CTAN:/macros/latex/contrib/filecontents. If this fails, try Cambridge.
  - Visit Cambridge:/macros/latex/contrib/filecontents
- Download
  - Download from a nearby CTAN (automatically identified).
  - Download from Cambridge.
- Documentation
  - Package Readme: README.
  - Package documentation: filecontents.pdf.
- Distributions
  - This package is included in TeX Live.
  - This package is included in teTeX.
  - This package is included in MikTeX.