lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New alist to replace special characters. (issue4553056)


From: bordage . bertrand
Subject: Re: New alist to replace special characters. (issue4553056)
Date: Tue, 19 Jul 2011 20:22:50 +0000

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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]