CTAN Comprehensive TeX Archive Network

CTAN update: sty2dtx

Date: October 20, 2022 12:11:48 PM CEST
Martin Scharrer submitted an update to the sty2dtx package. Version number: 2.4 2022-10-18 License type: gpl3 Summary description: Create a .dtx file from a .sty file Announcement text:
* Fixed unescaped braces in regexes. * Updated project URL and author email address.
This package is located at https://mirrors.ctan.org/support/sty2dtx More information is at https://www.ctan.org/pkg/sty2dtx
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

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