Re: Bar number moves down inexplicably
Hi Chris, > Begs the question what the "comment" symbol means if text after it on > the line is parsed... It is not, there are just two kinds of comments: http://www.lilypond.org/doc/v2.19/Documentation/learning/working-on-input-files % line comment %{ block comment %} In the mail above: '% { ...' is a line comment and '%{ ...' is a block comment. This is a neat trick for quickly (un-)commenting blocks. More verbose: State a) %{ this is commented this too, next line ends the comment block %} State b) % { this is a line comment this is not commented, next line has no effect %} Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bar number moves down inexplicably
On 1 February 2016 at 02:17, David Wrightwrote: > Coincidentally with Message-ID: <56ae6df7.8010...@gmx.de> > > It also seems to move the bar number down. Does anybody know why? > I also have a bar number which moves down for some reason. > > The attached snippet shows the problem. Commenting out the \layout > with % { → %{ fixes the bar number but I lose my fermatas (both > cases attached). > > I'm not familiar with the action of Staff_collecting_engraver, > but I have a feeling the answer/workaround might lie in the page > > http://www.lilypond.org/doc/v2.18/Documentation/learning/outside_002dstaff-objects > > Cheers, > David. Yes, I can reproduce that (on Windows 10, Lilypond 2.19.35). Begs the question what the "comment" symbol means if text after it on the line is parsed... Chris ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bar number moves down inexplicably
On Mon 01 Feb 2016 at 08:04:17 (+0100), Michael Gerdau wrote: > Hi David, > > > > It also seems to move the bar number down. Does anybody know why? > > > > I also have a bar number which moves down for some reason. > > > > The attached snippet shows the problem. Commenting out the \layout > > with % { → %{ fixes the bar number but I lose my fermatas (both > > cases attached). > > the following layout block works for me with LP 2.19.35: > > % > \layout { > \context { > \Score > \remove Mark_engraver > %\remove Staff_collecting_engraver > } > \context { > \Staff > \consists Mark_engraver > \consists Staff_collecting_engraver > } > } > % As easy as that! Thanks. (I'm glad it _wasn't_ to do with outside_002dstaff-objects.) I copied the layout stanza from p221 of the Notation Manual (2.18.2) without, as I said, really understanding it. The same stanza appears in 2.19.34 (p234) and is the only mention of Staff_collecting_engraver in the entire manual. Seaching the Internals Manual (2.19.34) merely mystifies me. Its main section (2.2.111 on p348) says the purpose of the Staff_collecting_engraver is to "Maintain the stavesFound variable." The only clue to using it is (quoting 2.2.67 Mark_engraver, but repeated at various points in IM) "If moving this [Mark_]engraver to a different context, Section 2.2.111 [Staff collecting engraver], page 348 must move along, otherwise all marks end up on the same Y location." I parsed "move along" as meaning "move to that different context", not "add another Staff_collecting_engraver at that different context". The former seems to be what the NM author did, without realising its side effect. And sorry to confuse anyone who doesn't understand block comments. I attached the snippet and wanted people to be able to duplicate both the images with a minimum of editing (one space character). See NM 3.1 Input structure. Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bar number moves down inexplicably
Hi David, > > It also seems to move the bar number down. Does anybody know why? > > I also have a bar number which moves down for some reason. > > The attached snippet shows the problem. Commenting out the \layout > with % { → %{ fixes the bar number but I lose my fermatas (both > cases attached). the following layout block works for me with LP 2.19.35: % \layout { \context { \Score \remove Mark_engraver %\remove Staff_collecting_engraver } \context { \Staff \consists Mark_engraver \consists Staff_collecting_engraver } } % HTH, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public keyserver signature.asc Description: This is a digitally signed message part. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Bar number moves down inexplicably
Coincidentally with Message-ID: <56ae6df7.8010...@gmx.de> > It also seems to move the bar number down. Does anybody know why? I also have a bar number which moves down for some reason. The attached snippet shows the problem. Commenting out the \layout with % { → %{ fixes the bar number but I lose my fermatas (both cases attached). I'm not familiar with the action of Staff_collecting_engraver, but I have a feeling the answer/workaround might lie in the page http://www.lilypond.org/doc/v2.18/Documentation/learning/outside_002dstaff-objects Cheers, David. \version "2.18.2" \language "english" \header { tagline = ##f } \paper { #(set-paper-size "a7") } % { \layout { \context { \Score \remove Mark_engraver \remove Staff_collecting_engraver } \context { \Staff \consists Mark_engraver \consists Staff_collecting_engraver } } %} pauseonbarline = { \once \override Staff.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { \musicglyph #"scripts.ufermata" } } global = { s1 s1 \break s1 \pauseonbarline s1 \break s1 s1 \bar "|." } ss = { c''1 c'' c'' c'' c'' c'' } aa = { e'1 e' e' e' e' e' } tt = { g1 g g g g g } bb = { c1 c c c c c } \score { \new ChoirStaff << \new Staff << \clef treble \global \new Voice { \ss } >> \new Staff << \clef treble \global \new Voice { \aa } >> \new Staff << \clef "treble_8" \global \new Voice { \tt } >> \new Staff << \clef bass \global \new Voice { \bb } >> >> \layout { } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user