lilypond-devel
[Top][All Lists]
Advanced

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

Re: Adds automatic numbering to footnotes. (issue4244064)


From: Han-Wen Nienhuys
Subject: Re: Adds automatic numbering to footnotes. (issue4244064)
Date: Sat, 19 Mar 2011 13:14:43 -0300

On Sat, Mar 19, 2011 at 1:07 PM, address@hidden
<address@hidden> wrote:

> One way to avoid a two-pass system is to redo the way that top-level markups 
> are stashed in LilyPond.  If LilyPond can re-evaluate these markups after 
> page breaking is calculated, it can scan to see if their vertical extent is 
> the same as the original.  If so, keep the page breaking configuration.  If 
> not, re-calculate page breaking, taking the new vertical extents into 
> account.  Then re-update the footnotes.  Do this as a loop until the new 
> extent equal the old extent for every text markup.

You realize that you may end up in an infinite loop for (rare)
degenerate cases, right? If anything, you should stop after the 2nd
pass.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

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