CTAN Comprehensive TeX Archive Network

CTAN Update: sty2dtx

Date: February 1, 2011 7:35:04 AM CET
On Mon, 31 Jan 2011 Martin Scharrer submitted an update to the sty2dtx package. Summary description: Improved version which generates full .dtx and .ins file from a .sty file License type: gpl Announcement text:
This major update introduces the following features: * Now full .dtx files are generated. A template based on the skeleton file from 'dtxtut' is used. * User level macros are added automatically to the 'Usage' section of the .dtx file. * Also a corresponding .ins file can now be generated. * Own templates can be used for the .dtx and .ins file. * Many other options are provided to customize the output. See the README file for details.
This package is located at http://mirror.ctan.org/support/sty2dtx . More information is at http://tug.ctan.org/info/?id=sty2dtx (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html . Thanks for the upload. For the CTAN Team Rainer Schöpf

sty2dtx – Create a .dtx file from a .sty file

The package provides a Perl script that converts a .sty file ( package) to .dtx format (documented source), by surrounding macro definitions with macro and macrocode environments. The macro name is automatically inserted as an argument to the macro environemnt.

Code lines outside macro definitions are wrapped only in macrocode environments. Empty lines are removed.

The script should not be thought to be fool proof and 100% accurate but rather as a good start to the business of making a .dtx file from an undocumented style file.

Full .dtx files are generated. A template based on the skeleton file from dtxtut is used. User level macros are added automatically to the “Usage” section of the .dtx file. A corresponding .ins file can be generated as well.

Packagesty2dtx
Version2.4 2022-10-18
Copyright2010–2022 Martin Scharrer
MaintainerMartin Scharrer

Announcements

more

Guest Book Sitemap Contact Contact Author