]> git.donarmstrong.com Git - lilypond.git/commit
Lets auto numbering of footnotes kick in from commands alone.
authorMike Solomon <mike@apollinemike.com>
Mon, 29 Aug 2011 15:08:02 +0000 (17:08 +0200)
committerMike Solomon <mike@apollinemike.com>
Mon, 29 Aug 2011 15:08:02 +0000 (17:08 +0200)
commit181366ec566a338c265ff4960724202d0d55ef79
tree3520e36ba3629afac355f6d1bfc48c7893bb1777
parent7623fef74bf21fc726a8c60b535e7794f9776700
Lets auto numbering of footnotes kick in from commands alone.

This patch gets rid of footnote-auto-numbering in the paper
bloc, allowing footnotes to kick in from commands alone.
These commands are:

auto-footnote (for top-level markups)
autoFootnote (for inside chords)
autoFootnoteGrob (for normal grob-footnoting grob situations)

Their homologues remain the same - to wit:

footnote
footnote
footnoteGrob

Currently, if one mixes automatic and non-automatic footnotes, the
automatic footnotes skip over the non-automatic ones.  So,

\auto-footnote foo
\footnote 42 bar
\auto-footnote hello

Will number the items 1, 42, 3: not 1, 42, 2.  The option to make it
1, 42, 2 should be the subject of a future patch.

The problem of get_footnotes_from_lines being called twice still
remains and also should be solved in a separate patch.
16 files changed:
input/regression/footnote-auto-numbering-page-reset.ly
input/regression/footnote-auto-numbering.ly
input/regression/footnote-break-visibility.ly
input/regression/footnote-footer-padding.ly
input/regression/footnote-spanner.ly
input/regression/footnote.ly
lily/constrained-breaking.cc
lily/page-breaking.cc
lily/page-layout-problem.cc
ly/music-functions-init.ly
ly/paper-defaults-init.ly
scm/define-grob-interfaces.scm
scm/define-grob-properties.scm
scm/define-grobs.scm
scm/define-markup-commands.scm
scm/define-music-properties.scm