lilypond-devel
[Top][All Lists]
Advanced

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

overfull lines in IR


From: Werner LEMBERG
Subject: overfull lines in IR
Date: Mon, 08 Feb 2021 17:44:39 +0100 (CET)

Right now, some overlong lines are auto-generated in the Internals
Reference.  As an example, look at the entry for `KievanStaff`, which
contains the following.

  • Set translator property autoAccidentals to:

    '(Staff #<procedure #f (context pitch barnum measurepos)>
            #<procedure neo-modern-accidental-rule (context pitch barnum 
measurepos)>)

In the file `engraver-init.ly` you can find the following code, which
is what the IR documents:

  autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave 0)
                             ,neo-modern-accidental-rule)

Showing this `#<procedure...>` stuff doesn't make much sense to me –
in particular, having the function arguments appears to be useless.

Can a Scheme guru improve this, replacing the current IR output with
something that resembles the code in `engraver-init.ly`?


    Werner

reply via email to

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