TAN update: filecontents
LaTeX2e's filecontents and filecontents* environments enable a LaTeX source file to generate external files as it's run through latex. However, there are two limitations of these environments: They refuse to overwrite existing files; and, they can be used only before the \documentclass declaration. The filecontents package removes these limitations, making it possible to overwrite existing files and to use filecontents/filecontents* anywhere. Version 1.4 of filecontents updates the definitions of tab and form feed for compatibility with the 2018-04-01 LaTeX release. Thanks to David Carlisle for the code update.
This package is located at http://mirror.ctan.org/macros/latex/contrib/filecontents More information is at https://www.ctan.org/pkg/filecontents
Thanks for the upload. For the CTAN Team Manfred Lotz We are supported by the TeX user groups. Please join a users group; see http://www.tug.org/usergroups.html .
filecontents – Create an external file from within a LaTeX document
LaTeX2ε’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.
As of September 2019 the author tells us: “This package is no longer necessary due to its functionality having moved into recent LaTeX 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.”
|Copyright||2011–2019 Scott Pakin|
- 2018-06-02 TAN update: filecontents
- 2004-08-18 CTAN package upgrade: filecontents
- 2001-08-24 new package on CTAN: filecontents