Hi Jeffrey,
I did a search on the source code and found: lily/footnote-engraver.cc
(along with several test files) so I would look there. I would as
assume that it contains the function you're looking for. (I've found
that searching the source code is usually a good way to find things like
this.)
FWIW, the way I would approach this would probably be to write a custom
footnote engraver in scheme that does what you want. In user-land you
could remove LilyPond's footnote engraver and "consist" your own scheme
engraver in its place. The LSR has examples of custom scheme engravers.
That probably raises more questions than it answers, but hopefully it
helps point you in the right direction.
Cheers,
-Paul
On 05/26/2016 12:35 AM, Jeffery Shivers wrote:
I am trying to find the following two things regarding footnotes:
1) How might I retrieve the accumulated number of footnotes either for
an entire document/section, or at least for a single page?
2) In the notation doc
[http://lilypond.org/doc/v2.19/Documentation/notation.pdf], pg. 481,
the 'mark' element describes that the count is automatically reset on
each page that contains a footnote. Where is that function written;
and how could it be overwritten (specifically to *not* automatically
reset ever, or (additionally) to only reset when explicitly instructed)?
Thanks!
Jeffery
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user