Hello List, I stumbled across a thing with label and page-ref. Labels are used to create the table of contents and I use them in my little footnote snippet ( http://lsr.dsi.unimi.it/LSR/Item?id=728 ) If the label is created on a barline, everything is fine. if it is created somewhere within a measure, the page is not found anymore. I show this with \tocItem, because its a short snippet:
--snip-- \markuplines \table-of-contents \relative c' { \time 4/4 \tocItem \markup { "One" } c d % page 1 \tocItem \markup { "Two" } e f % page not found \time 3/4 \tocItem \markup { "Three" } g a b c % page one \tocItem \markup { "Four" } r2 % page not found } \version "2.13.46" --snip-- I tested it with stable (2.12.3) and unstable (2.13.46) on Linux and Mac. In my little snippet I create, like the tocItem command, a label-event in scheme: ... ;; define label and text before this ... (make-music 'EventChord 'page-marker #t 'page-label label 'elements (list (make-music 'LabelEvent 'page-label label) (make-music 'TextScriptEvent 'direction dir 'text (markup text)) ) ) ... When I later try to fetch the page-number from the lable-table (ly:output-def-lookup layout 'label-page-table), the table does not contain an entry label if it was *not* created on a barline. What do you think about this? I post this to user and devel, so if there is a solution or explanation let me know, if this is a bug discuss it for the bug-tracker. Regards, Jan-Peter _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user