[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: markup repeats
From: |
Mats Bengtsson |
Subject: |
Re: markup repeats |
Date: |
Fri, 03 Sep 2004 17:04:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
I don't really understand your structure. It looks as if the music
in both your \score{...} sections is identical. If you reuse the
same variable names in 01.ly and 02.ly, you probably want to
do something like
\include "01.ly!
%%%% 1.
\score {
...
}
\include "02.ly!
%%%% 2.
\score {
...
}
Note that an \include is completely equivalent to cutting and pasting
the contents of the included file into the main file. Also, if you
define the same variable twice, the second one will be used:
dessusI = \notes{ ... first definition ... }
...
dessusI = \notes{ ... second definition ... }
...
\score{ ... \dessusI ...}
/Mats
Jean-marc LEGRAND wrote:
Hi list !
Iv'e tried to find out in the archives, but I'm still stuck.
I'm using Lily 2.0.1 on XP.
I've created 2 .ly (01.ly and 02.ly) corresponding to 2 pieces within a same
score (1er kyrie and
3ème kyrie).
For each one, the bass line ends with a \breve and a _\markup with some text in
it.
The main .ly is :
\version "2.0.1"
\include "01.ly"
\include "02.ly"
\header {
title = "MESSE POUR LES INSTRUMENTS"
subtitle = "au lieu des orgues (H.513)"
composer = "Marc-Antoine CHARPENTIER (1643-1704)"
}
%%%% 1.
\score {
\context StaffGroup ="tous"
<<
\context Staff ="1er dessus" \dessusI
\context Staff ="2ème dessus" \dessusII
\context Staff ="taille" \taille
\context Staff ="basse" \basse
>>
\header {piece="\\textit{\\textbf{Premier kyrie} {pour tous les
instruments}}"}
}
%%%% 2.
\score {
\context StaffGroup ="tous"
<<
\context Staff ="1er dessus" \dessusI
\context Staff ="2ème dessus" \dessusII
\context Staff ="taille" \taille
\context Staff ="basse" \basse
>>
\header {piece="\\textit{Le 3ème kyrie pour les prestres}"}
}
All is OK, except one thing : the markup at the end of the first part
(corresponding to 01.ly) is
replaced by the markup of 02.ly. So I have two identical markups at the end of
each part.
Odd, isn't it ?
Does anyone has the clue ?
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
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
=============================================
- markup repeats, Jean-marc LEGRAND, 2004/09/03
- Re: markup repeats,
Mats Bengtsson <=