Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/filecontents

            +--------------------------------------------+
            |                FILECONTENTS                |
            |                                            |
            | Improved version of LaTeX2e's filecontents |
            |       and filecontents* environments       |
            |                                            |
            |      By Scott Pakin, scott+fc@pakin.org    |
            +--------------------------------------------+


Description
-----------

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.


Installation
------------

There's nothing special about building filecontents:

    latex filecontents.ins     <== Generate filecontents.sty
    latex filecontents.dtx     <== Produce the documentation (filecontents.dvi)

If you're new to this, see
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages for more
information on installing packages.


Copyright and license
---------------------

Copyright (C) 2011 Scott Pakin, scott+fc@pakin.org

This package may be distributed and/or modified under the conditions
of the LaTeX Project Public License, either version 1.3c of this
license or (at your option) any later version.  The latest version of
this license is in:

    http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of LaTeX
version 2008/05/04 or later.

Files

Name Size Date Notes
README 1764 2011-10-08 10:51:38
filecontents.dtx 14309 2011-10-08 10:51:38
filecontents.ins 2136 2011-10-08 10:51:38
filecontents.pdf 249917 2011-10-08 10:51:38

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (236.8k).

file­con­tents – Ex­tended file­con­tents and file­con­tents* en­vi­ron­ments

LaTeX2ε's file­con­tents and file­con­tents* en­vi­ron­ments en­able a LaTeX source file to gen­er­ate ex­ter­nal files as it runs through LaTeX. How­ever, there are two lim­i­ta­tions of these en­vi­ron­ments: they refuse to over­write ex­ist­ing files, and they can only be used in the pream­ble of a doc­u­ment. The file­con­tents pack­age re­moves these lim­i­ta­tions, let­ting you over­write ex­ist­ing files and let­ting you use file­con­tents/file­con­tents* any­where.

Doc­u­men­ta­tion
Ver­sion1.3
Li­censeThe LaTeX Project Public Li­cense
Copy­right2009 Scott Pakin
Main­tainerScott Pakin
TDS archivefilecontents.tds.zip
Con­tained inTeXLive as file­con­tents
MiKTeX as file­con­tents
Topics TeX-re­lated-file man­age­ment
Guest Book Sitemap Contact 2014-04-16 18:41 CEST