This Python script dtx2tex.py
is used to strip the documentation
lines in the .dtx
file to create a corresponding .tex
file.
Note: the Python script and .dtx
file to be processed should be placed at the same level in the directory.
geometry.dtx
fancyhdr.dtx