AZ logo

CTAN directory: /support/pydocstrip

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
pydocstrip Scripted version of LaTeX docstrip.

Files

Name Size* Date UTC Notes
COPYING 15 KiB 2004-Mar-21
FILELIST 1 KiB 2004-Mar-29
README 1 KiB 2004-Mar-29 Shown below
README_samples 1 KiB 2004-Mar-29
docstrip.py 23 KiB 2004-Mar-29
vnbase.dtx 43 KiB 2004-Mar-21
vndriver.dtx 9 KiB 2004-Mar-21
vnparam.dtx 2 KiB 2004-Mar-21
vnr.kins 2 KiB 2004-Mar-21
vnr_cm.kins 296 bytes 2004-Mar-21
vnr_ec.kins 254 bytes 2004-Mar-21
vnr_pp.kins 1 KiB 2004-Mar-21

  *File sizes in kibibytes.

Contents of README

Please visit
    http://docstrip.sarovar.org/
for the full description on `docstrip.py`.

docstrip.py

* is the Python version of TeX's `docstrip` utility
* but it use KINS files instead of TeX's INS file.

* some advance functions of `docstrip.py`:
  ----------------------------------------

  a) Support the switches at the command line, for e.g,
        docstrip.py -e "test=0;foo=1"
     or
        docstrip.py -e "test=1;foo=1"

     With this features,
     we can easily create a quite sophisticated generation.

  b) Support the source-file-time checking:

     If the (DTX) source file havenot changes, the `docstrip.py`
     knows this and skips the generation. So if we have many DTX
     files, or the DTX files have quite big size, we may save
     very much time of generation.

     (The behavior can be overwritten by using `--force` option.)

  c) Can generate only files whose names match a regular expression:
     for example:
         docstrip.py [...] -g "foo[0-9]\.tex"
     will generate "foo1.tex", "foo2.tex" but "foo100.tex"

  d) Can run in DEBUG mode:

     The DEBUG mode is turned on by the `--debug` option.
     No file is generated; but we will know what `docstrip.py`
     would do in the real mode.