[Top][All Lists]
[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 12:58:38 -0300 |
On Sat, Mar 19, 2011 at 12:06 PM, address@hidden
<address@hidden> wrote:
>> On Wed, Mar 16, 2011 at 12:44 PM, address@hidden
>> <address@hidden> wrote:
>>> The problem is that Lilypond processes graphical objects before it processes
>>> pagination, making it impossible to know exactly how much space a footnote
>>> will take up when the graphical object is processed.
>>>
>>> One solution to this problem would be to reprocess all top-level markups
>>> with correct footnotes after having done the pagination, then redo the
>>> pagination and see if all the footnotes stay the same. If so, keep the
>>> current configuration. Otherwise, rinse & repeat. This actually seems
>>> kinda sorta doable, although I'd have to do some homework on how these
>>> markups are stored internally and figure out to what extent these internal
>>> representations survive downstream into the pagination phase.
>>>
>>
>> Overall comment: I think we should avoid 2 pass solutions if we can
>> help it. Have you thought of setting a fixed width/height for the
>> number and later filling it in?
>
>
> That's what I do on line 1862 of define-markup-commands.com. This uses a
> seed of 0 (line 1861) on the first pass, and then uses the actual value on
> the second pass (line 1860). The seed of 0 works well for one digit numbers,
> but breaks down on larger #s.
But if you format the number to be flushed with space in a box for 2
digits, you should be fine, right?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Re: Adds automatic numbering to footnotes. (issue4244064), (continued)
- Re: Adds automatic numbering to footnotes. (issue4244064), bordage . bertrand, 2011/03/10
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/10
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/11
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/16
- Re: Adds automatic numbering to footnotes. (issue4244064), Han-Wen Nienhuys, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064),
Han-Wen Nienhuys <=
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), Han-Wen Nienhuys, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), Han-Wen Nienhuys, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), Reinhold Kainhofer, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), Graham Percival, 2011/03/19
- Re: Adds automatic numbering to footnotes. (issue4244064), address@hidden, 2011/03/19
Re: Adds automatic numbering to footnotes. (issue4244064), bordage . bertrand, 2011/03/22