lualatex-tools / luaformatters

Creating macros for LuaLaTeX packages
GNU General Public License v3.0
0 stars 0 forks source link

Self-documenting command #8

Closed uliska closed 5 years ago

uliska commented 5 years ago

The definition of commands through mappings is pretty straightforward - but not the resulting macros. There should be one command that produces a documentation file for all defined macros, with entries like

% Comment about the command (if defined in the mapping)
\macroName[opt]{show}{the}{argument}{names}

Note that the above is what the resulting PDF should look like, not a command printed to TeX.

uliska commented 5 years ago

This is implemented for single macros, including a demo option that produces the result as well.

What is missing is the ability to produce multiple docstrings (#11)