lualatex-tools / luaformatters

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

Move built-in formatters #7

Closed uliska closed 5 years ago

uliska commented 5 years ago

When the built-in formatters will become more numerous the current handling is somewhat cumbersome. Instead of mapping names (in _builtin_formatters) to firstlevel functions all functions in a certain namespace should be automatically exposed as built-in formatters.

That means a slight change to the formatter() function (change to the root node to look for) but also changing the namespace for all formatters that have already been made available like that (including all uses, both in the package and in my client library).

uliska commented 5 years ago

Done