I’m interested in making a package using LaTeX3, but I can’t (a) find documentation on how to generate a new dtx file for it or (b) find a template for creating a dtx file for a package using LaTeX3 (probably using
Is there a utility (like
dtxgen for LaTeX2e) or template for LaTeX3 packages?
An example of the kind of thing I’m after.
When making a LaTeX package (e.g.
mynewpackage), my first step is usually to run
$ dtxgen mynewpackage.sty
Which creates a
mynewpackage.dtx (among other files). By default this uses docstrip and uses the class
ltxdoc for the documentation. Both of these are good but LaTeX3 introduces a few changes including:
- The use of
l3docstripto introduce new features such as
@@being replaced by
__<module name>(got from
ProvidesPackage(got from Write new package with LaTeX2e or LaTeX3)
l3docclass instead of
ltxdoc(just seems to make sense, since it has support for documenting LaTeX3 functions clearly)
Currently, I have been unable to find either a complete reference of all the changes one should make to enable full LaTeX3 support.
Is there a script to generate an initial dtx file with all the recommended changes for LaTeX3 and/or a place where all the necessary changes are documented?