| 1 |
+--------------------------------------------+ |
| 2 |
| FILECONTENTS | |
| 3 |
| | |
| 4 |
| Improved version of LaTeX2e's filecontents | |
| 5 |
| and filecontents* environments | |
| 6 |
| | |
| 7 |
| By Scott Pakin, [email protected] | |
| 8 |
+--------------------------------------------+ |
| 9 |
|
| 10 |
|
| 11 |
Description |
| 12 |
----------- |
| 13 |
|
| 14 |
LaTeX2e's filecontents and filecontents* environments enable a LaTeX |
| 15 |
source file to generate external files as it's run through latex. |
| 16 |
However, there are two limitations of these environments: They refuse |
| 17 |
to overwrite existing files; and, they can be used only before the |
| 18 |
\documentclass declaration. The filecontents package removes these |
| 19 |
limitations, making it possible to overwrite existing files and to use |
| 20 |
filecontents/filecontents* anywhere. |
| 21 |
|
| 22 |
|
| 23 |
Installation |
| 24 |
------------ |
| 25 |
|
| 26 |
There's nothing special about building filecontents: |
| 27 |
|
| 28 |
latex filecontents.ins <== Generate filecontents.sty |
| 29 |
latex filecontents.dtx <== Produce the documentation (filecontents.dvi) |
| 30 |
|
| 31 |
If you're new to this, see https://texfaq.org/#installing for more |
| 32 |
information on installing packages. |
| 33 |
|
| 34 |
|
| 35 |
Copyright and license |
| 36 |
--------------------- |
| 37 |
|
| 38 |
Copyright (C) 2011-2023 Scott Pakin, [email protected] |
| 39 |
|
| 40 |
This package may be distributed and/or modified under the conditions |
| 41 |
of the LaTeX Project Public License, either version 1.3c of this |
| 42 |
license or (at your option) any later version. The latest version of |
| 43 |
this license is in: |
| 44 |
|
| 45 |
http://www.latex-project.org/lppl.txt |
| 46 |
|
| 47 |
and version 1.3c or later is part of all distributions of LaTeX |
| 48 |
version 2008/05/04 or later. |