lilypond-devel
[Top][All Lists]
Advanced

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

Re: Reduces algorithm time by prefinding footnoted grobs (issue4213042)


From: Mike Solomon
Subject: Re: Reduces algorithm time by prefinding footnoted grobs (issue4213042)
Date: Wed, 23 Feb 2011 23:58:27 -0500


On Feb 23, 2011, at 11:18 PM, Mike Solomon wrote:

On Feb 23, 2011, at 11:16 PM, Joe Neeman wrote:

On Thu, Feb 24, 2011 at 2:49 PM, Han-Wen Nienhuys <address@hidden> wrote:
On Wed, Feb 23, 2011 at 11:11 PM, Joe Neeman <address@hidden> wrote:

> -  SCM footnotes_ to Stencil,
> - scm_gc_mark (footnotes_) to Stencil::mark_smob (for SCM garbage
> collection)
> - footnotes_ = scm_append (footnotes_, s.footnotes_)
>   to Stencil::add_stencil
> - a scheme function ly:stencil::make-footnote which takes a stencil
>   and creates an empty stencil with the given stencil in its footnote list
>
> then the footnotes should be accessible from the stencil when you make the
> Prob.

I hope this is just a hack, to add footnotes to Stencil...

Ok, so maybe this isn't a good idea. What about creating a new version of Text_interface::interpret_markup that recurses through the markup looking for footnotes?

Joe

That's exactly what I just did...uploading patch soon!

Cheers,
MS

A new patch set is up @ http://codereview.appspot.com/4213042 .
input/regression/footnotes.ly added as per Reinhold's request.

Cheers,
Mike

reply via email to

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