[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using \global - Lilypond 2.9.20 Windows
From: |
Mats Bengtsson |
Subject: |
Re: Using \global - Lilypond 2.9.20 Windows |
Date: |
Wed, 04 Oct 2006 09:05:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.0.5-0.1.el4 SeaMonkey/1.0.5 |
I actually find the warning message relevant. Consider the following
example:
\score{
<<
\new Staff{ \mark "Mark in first stave" c'1}
\new Staff{ \mark "Mark in second stave" e'1}
>>
}
Clearly, LilyPond will only typeset one of these marks, but it's not
really
well-defined which one and the program should definitely tell that that the
user probably has made a mistake and the program had to make a decision
on which mark to typeset.
In your case, you know why the warning appears and you know that you can
ignore it, since you only have \mark commands in your \global. If you
want to
get rid of the warnings, you could add the \mark commands in a separate
variable
that's only included at the top stave of the score, or you could use the
\tag feature
to do the same thing.
/Mats
Trent Johnston wrote:
Hi Everyone,
This seems to be a cosmetic problem but when using a global variable
for text marks or \newSpacingSection a warning: Two similatneous
(whatver) events, junking this one. The output is correct but the
warnings never appeared before.
Trent
=======================
C:\Documents and Settings\trent.\Desktop>lilypond testii
GNU LilyPond 2.9.20
Processing `testii.ly'
Parsing...
Interpreting music...
warning: Two simultaneous mark events, junking this one
warning: Previous mark event here
warning: Two simultaneous mark events, junking this one
warning: Previous mark event here[5]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `testii.midi'...
Track...
Layout output to `testii.ps'...
Converting to `testii.pdf'...
========================
\version "2.9.20"
global= {
\time 4/4
\key c \major
\mark \markup "I."
s1*2
\mark \markup "II."
}
violinOne = \new Voice { \relative c'' {
\set Staff.instrumentName = "Violin 1 "
c2 d e1
c2 c
c4 c c c
c8 c c c c c c c
\bar "|." }}
violinTwo = \new Voice { \relative c''{
\set Staff.instrumentName = "Violin 2 "
c2 d e1
c2 c
c4 c c c
c8 c c c c c c c
\bar "|." }}
\score {
\new StaffGroup <<
\new Staff << \global \violinOne >>
\new Staff << \global \violinTwo >>
>>
\layout { }
\midi { }
}
_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
- Using \global - Lilypond 2.9.20 Windows, Trent Johnston, 2006/10/03
- Re: Using \global - Lilypond 2.9.20 Windows,
Mats Bengtsson <=
- Re: Using \global - Lilypond 2.9.20 Windows, Trent Johnston, 2006/10/04
- Re: Using \global - Lilypond 2.9.20 Windows, Han-Wen Nienhuys, 2006/10/04
- Re: Using \global - Lilypond 2.9.20 Windows, Graham Percival, 2006/10/04
- Re: Using \global - Lilypond 2.9.20 Windows, Arvid Grøtting, 2006/10/05
- Re: Using global - Lilypond 2.9.20 Windows, Mats Bengtsson, 2006/10/05
- Re: Using global - Lilypond 2.9.20 Windows, Arvid Grøtting, 2006/10/05
- Re: Using global - Lilypond 2.9.20 Windows, Mats Bengtsson, 2006/10/06
- Re: Using global - Lilypond 2.9.20 Windows, Arvid Grøtting, 2006/10/06
- Re: Using \global - Lilypond 2.9.20 Windows, Erik Sandberg, 2006/10/05
- Re: Using \global - Lilypond 2.9.20 Windows, Han-Wen Nienhuys, 2006/10/05