A new file in ly with definitions using "add-text-replacements!"?
Like this?
germanHTML = #(add-text-replacements! '(("&ss;" . "ß")
[...])
englishLaTeX = [...]
This way, users can easily stack special characters with this syntax:
\paper {
\englishHTML
\frenchLigatures
}
Besides, I made some performance tests.
With a big replacement alist, building Nicolas Sceaux's huge Atys takes
0.7s more than without it.
Thanks,
Bertrand
http://codereview.appspot.com/4553056/
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel