CTAN Comprehensive TeX Archive Network

filecontents – Create an external file from within a document

’s filecontents and filecontents* environments enable a source file to generate external files as it runs through . 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.

As of September 2019 the author tells us: “This package is no longer necessary due to its functionality having moved into recent kernels. It’s probably better not to move the package to obsolete because users may need it to rebuild old documents. Version 1.5 provides full functionality when run with an older kernel but issues a warning message and disables itself when run with a newer kernel.”

Sources/macros/latex/contrib/filecontents
Documentation
Version1.5 2019-09-20
LicensesThe Project Public License 1.3c
Copyright2011–2019 Scott Pakin
MaintainerScott Pakin
TDS archivefilecontents.tds.zip
Contained inTeX Live as filecontents
MiKTeX as filecontents
TopicsFile management

Download the contents of this package in one zip archive (125.6k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author