Closed andrewbernard closed 5 years ago
@andrewbernard I've applied a (needed) safeguard against invalid list-style arguments and a (theoretically optional) syntax change for the usage example.
One more wish one could have is a way to apply styling to the numbering (e.g. \bold
or \bold italic
). This could be done with a ly:context-mod?
as optional second argument.
I thought it even better not to use for-each
but rather filter
to filter out invalid keys.
This will probably still expose the follow-up errors but may in some cases fix the problem
if only an unused last style is invalid.
I had a first look at the implementation of inc
and decided that I won't give a shot at making that configurable. But I would not say this should block the merge. So @andrewbernard please tell me if you'd like to add that feature. Otherwise we can merge the PR.
I cant see how the \inc function needs anything else.
Please merge this code.
Greatly improved new version of outline counter that supports specification of list styles including numeric, alphabetic upper and lower case, and roman numerals, upper and lowercase.