texlive-sty2dtx - Create a .dtx file from a .sty file

Distribution: ROSA 2014.1
Repository: ROSA Main x86_64
Package name: texlive-sty2dtx
Package version: 2.1
Package release: 4-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 28.73 KB
Download size: 12.02 KB
Official Mirror: mirror.rosalab.ru
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 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.


  • texlive-sty2dtx == 2.1-4:2014.1
  • texlive-sty2dtx.bin == 2.1-4:2014.1

    Install Howto

    1. Enable ROSA Main repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install texlive-sty2dtx rpm package:
      # urpmi texlive-sty2dtx


    • /usr/bin/sty2dtx
    • /usr/share/texmf-dist/doc/support/sty2dtx/README
    • /usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl


    2014-06-27 - Alex Burmashev <alex.burmashev@rosalab.ru> 2.1-4 + Revision: 5b5491e - MassBuild#440: Increase release tag