CTAN Comprehensive TeX Archive Network

Direc­tory support/pydocstrip

Please visit
for the full description on `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"
        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.

Down­load the con­tents of this pack­age in one zip archive (30.1k).

py­doc­strip – Scripted ver­sion of doc­strip

Py­doc­strip is a Python script that pro­vides sev­eral fa­cil­i­ties not avail­able via the stan­dard doc­strip.

Li­censesGNU Gen­eral Public Li­cense
Main­tainerHuynh Ky Anh
TopicsDoc­u­men­ta­tion sup­port
Guest Book Sitemap Contact Contact Author