An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

sty2dtx

The package provides a Perl script that converts a .sty file (LaTeX package) to .dtx format (documented LaTeX source), by surrounding macro definitions with macro and macrocode environments. The macro name is automatically inserted as an argument to the macro environment. 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.

Ecosystem
ctan.org
Latest Release
2.4
over 3 years ago
Versions
1
Links
Registry ctan.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:ctan/sty2dtx
spec
License GPL-3.0-only
First Release over 3 years ago
Last Synced about 24 hours ago
Keywords
package-devel