2 Table of contents in same source file
Hello everyone! I'm trying to get to work 2 different Table of Contents in the same source file. So far it doesn't work, the second ToC prints also the entries of the first one. (see attached) Is there a way to get this working? Thank you! Pierre \version 2.18.2 \book { \markuplist \table-of-contents \score { \tocItem \markup test1.1 \layout {} \midi {} } \score { \tocItem \markup test1.2 \layout {} \midi {} } \score { \tocItem \markup test1.3 \layout {} \midi {} } } \pageBreak \book { \markuplist \table-of-contents \score { \tocItem \markup test2.1 \layout {} \midi {} } \score { \tocItem \markup test2.2 \layout {} \midi {} } \score { \tocItem \markup test2.3 \layout {} \midi {} } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Cadenza and page layout problem
Hello everyone, Here is my problem : it's about a piece solo + piano, with an unmetered cadenza in which I must specify the line jumps. I must place those jumps in a separate Voice (globalCAD) : the separate solo part will have a different layout. Until the 3rd line, everything works fine. 1 - on 4th line, at the barline just before Brusque, Lilypond refuses to do the line jump. 2 - with a \break to force it, error (translated from french, sorry for the approximation) an explicit jump has been replaced by an other event 3 - If I put the jumps inside the Voice containing the notes (galoubetCAD), not using globalCAD, everything works fine, the jump works. The problem seems to lie in the conjunction of the two voices. Does anyone see where is my error? Thanks! Pierre \version 2.18.2 galoubetCAD = \relative c'' { \cadenzaOn \once \omit Score.TimeSignature \tempo Très librement \override TupletBracket.bracket-visibility = #'if-no-beam %-- les espacements sont placés pour le conducteur % g1\trill~ g16[ a bes es] g,([ fis) f c'] es,1\trill~ es16[ a bes es] g,([ fis) f c'] \set subdivideBeams= ##t \set baseMoment = #(ly:make-moment 1/8) \set beatStructure = #'(2 2 2) es,1\trill~ es8.[ g16] \times 2/3 { a[ g a } \times 2/3 { c a c] } es16[ r32 c g'8]~ g16[ es32( f) g16. es32] g8.[ es32( f)] g8 r \override Script.padding = #0.8 \set subdivideBeams = ##f a,4~ a16[ gis' a, gis'] \times 4/5 {a,[ gis' a, gis' a,]~ } \once \override NoteColumn.X-offset = #0.8 \stemUp a4~ a16[ bes c cis] \stemNeutral g'[ bes, e c] a4~ a16[ gis' a, gis'] \times 4/7 {a,[ gis' a, gis' a, gis' a,]~ } \once \override NoteColumn.X-offset = #0.8 \stemUp a4~ a16[ bes c cis] \stemNeutral \set subdivideBeams = ##t g'[ bes, \times 2/3 { e! c a] } g[ ges \times 2/3 { f c' b] } es,!4. g8 \times 2/3 { bes16[ g bes } \times 2/3 { d bes d] } g16.[ es32 a8]~ \times 2/3 { a16[ g es } \times 2/3 { a16 g es] } a8--[ g--] es4-- a,8[\pp g] es2 \override Glissando #'style = #'trill \once \override Glissando #'(bound-details right Y) = #-0.7 \once \override Score.FootnoteItem #'annotation-line = ##f \footnote \markup \smaller * #'(3.5 . 0.1) \markup { \super * \italic \tiny Battement. S'exécute comme un trille avec un fa dièse très haut. } g2\glissando \once \override NoteColumn.glissando-skip = ##t \hideNotes r1. \unHideNotes \times 2/3 { bes8[ a es'] } bes[ a] \times 2/3 { es[ f g ] } a16[ bes a8]~ \once \override NoteColumn.X-offset = #-2.5 a2 %\stemUp \grace { bes16[( c] } \stemNeutral \times 2/3 { bes8[) a es'] } bes[ a] \times 2/3 { es[ f g ] } \once \override Stem.details.beamed-lengths = #'(4 4 5) \stemDown a16[ \acciaccatura c8( \stemNeutral bes16) a8]~ a4~ a8[ bes] g16[( f) g8]~ g[ a] \once \slurDashed \override Script.padding = #1.5 \repeat tremolo 8 { f32_\fermata( a_\fermata) } f2 \override Script.padding = #0.8 \times 4/5 { cis'16[( d cis bes a g]) } c2 \times 2/3 { es8[( d) a'?] } es[ d] \times 2/3 { \override Stem.details.beamed-lengths = #'(3.4) as[ bes c] } \revert Stem.details.beamed-lengths d16[( es) d8]~ d4 \times 2/3 { es8[( d) a'?] } es[ d] \times 2/3 { \override Stem.details.beamed-lengths = #'(3.4) as![ bes c] } \revert Stem.details.beamed-lengths d16[ \acciaccatura f8 es16 d8]~ d4~ d8[ es] c16([ bes) c8]~ c[ d] bes16([ as!) bes8]~ bes4-\fermata bes32([ a) es'8.]~ es4 \times 2/3 { d16([ es d) } \times 2/3 { cis( d cis)] } c4 \times 2/3 { b16([ c b) } \times 2/3 { bes( c bes)] } \unset subdivideBeams g2~ g16[ a bes es] g,([ fis) f c'] es,1 \set subdivideBeams = ##t \bar ! \mark \markup { \musicglyph #scripts.ufermata } %\noBreak bes'32([ a) es'8.]~ es4 \times 2/3 { d16([ es d) } \times 2/3 { cis( d cis)] } c4 \times 2/3 { b16([ c b) } \times 2/3 { bes( c bes)] } \unset subdivideBeams g2~ \bar \cadenzaOff } globalCAD = { \cadenzaOn \key fis \minor \tempo Très librement s1*5 s2 \bar ! \override Staff.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { \musicglyph #scripts.ufermata } s1*4 \bar s1 s2 s4 \bar ! \mark \markup { \musicglyph #scripts.ufermata } \noBreak \tweak #'self-alignment-X #-1.25 \tempo Plus doux s1*3 s2 \grace { s16*2 } s2. s16 \acciaccatura s8 s16 s8 s1*2 \bar ! \mark \markup { \musicglyph #scripts.ufermata } \tempo En s'exaltant peu à peu s1*2 s2. s16 \acciaccatura s8 s16 s8 s1 \tempo Rit. s2 \bar ! \break \tempo Brusque s1*31 s2. \cadenzaOff } \score { \new StaffGroup \with { instrumentName = \markup { \center-column { \smaller Gal.-tamb. \line { \tiny en Si } } } fontSize = #-4 \override StaffSymbol #'staff-space = #(magstep -4) } \set StaffGroup.systemStartDelimiter =
Cadenza and page layout problem [solved]
Solved with Mike's help like this : \layout { \context { \Voice \override Glissando #'breakable = ##t \override TupletNumber #'breakable = ##t \override TupletBracket #'breakable = ##t \remove Forbid_line_break_engraver } } Cordialement, ~Mike Hello everyone, Here is my problem : it's about a piece solo + piano, with an unmetered cadenza in which I must specify the line jumps. I must place those jumps in a separate Voice (globalCAD) : the separate solo part will have a different layout. Until the 3rd line, everything works fine. 1 - on 4th line, at the barline just before Brusque, Lilypond refuses to do the line jump. 2 - with a \break to force it, error (translated from french, sorry for the approximation) an explicit jump has been replaced by an other event 3 - If I put the jumps inside the Voice containing the notes (galoubetCAD), not using globalCAD, everything works fine, the jump works. The problem seems to lie in the conjunction of the two voices. Does anyone see where is my error? Thanks! Pierre \version 2.18.2 galoubetCAD = \relative c'' { \cadenzaOn \once \omit Score.TimeSignature \tempo Très librement \override TupletBracket.bracket-visibility = #'if-no-beam %-- les espacements sont placés pour le conducteur % g1\trill~ g16[ a bes es] g,([ fis) f c'] es,1\trill~ es16[ a bes es] g,([ fis) f c'] \set subdivideBeams= ##t \set baseMoment = #(ly:make-moment 1/8) \set beatStructure = #'(2 2 2) es,1\trill~ es8.[ g16] \times 2/3 { a[ g a } \times 2/3 { c a c] } es16[ r32 c g'8]~ g16[ es32( f) g16. es32] g8.[ es32( f)] g8 r \override Script.padding = #0.8 \set subdivideBeams = ##f a,4~ a16[ gis' a, gis'] \times 4/5 {a,[ gis' a, gis' a,]~ } \once \override NoteColumn.X-offset = #0.8 \stemUp a4~ a16[ bes c cis] \stemNeutral g'[ bes, e c] a4~ a16[ gis' a, gis'] \times 4/7 {a,[ gis' a, gis' a, gis' a,]~ } \once \override NoteColumn.X-offset = #0.8 \stemUp a4~ a16[ bes c cis] \stemNeutral \set subdivideBeams = ##t g'[ bes, \times 2/3 { e! c a] } g[ ges \times 2/3 { f c' b] } es,!4. g8 \times 2/3 { bes16[ g bes } \times 2/3 { d bes d] } g16.[ es32 a8]~ \times 2/3 { a16[ g es } \times 2/3 { a16 g es] } a8--[ g--] es4-- a,8[\pp g] es2 \override Glissando #'style = #'trill \once \override Glissando #'(bound-details right Y) = #-0.7 \once \override Score.FootnoteItem #'annotation-line = ##f \footnote \markup \smaller * #'(3.5 . 0.1) \markup { \super * \italic \tiny Battement. S'exécute comme un trille avec un fa dièse très haut. } g2\glissando \once \override NoteColumn.glissando-skip = ##t \hideNotes r1. \unHideNotes \times 2/3 { bes8[ a es'] } bes[ a] \times 2/3 { es[ f g ] } a16[ bes a8]~ \once \override NoteColumn.X-offset = #-2.5 a2 %\stemUp \grace { bes16[( c] } \stemNeutral \times 2/3 { bes8[) a es'] } bes[ a] \times 2/3 { es[ f g ] } \once \override Stem.details.beamed-lengths = #'(4 4 5) \stemDown a16[ \acciaccatura c8( \stemNeutral bes16) a8]~ a4~ a8[ bes] g16[( f) g8]~ g[ a] \once \slurDashed \override Script.padding = #1.5 \repeat tremolo 8 { f32_\fermata( a_\fermata) } f2 \override Script.padding = #0.8 \times 4/5 { cis'16[( d cis bes a g]) } c2 \times 2/3 { es8[( d) a'?] } es[ d] \times 2/3 { \override Stem.details.beamed-lengths = #'(3.4) as[ bes c] } \revert Stem.details.beamed-lengths d16[( es) d8]~ d4 \times 2/3 { es8[( d) a'?] } es[ d] \times 2/3 { \override Stem.details.beamed-lengths = #'(3.4) as![ bes c] } \revert Stem.details.beamed-lengths d16[ \acciaccatura f8 es16 d8]~ d4~ d8[ es] c16([ bes) c8]~ c[ d] bes16([ as!) bes8]~ bes4-\fermata bes32([ a) es'8.]~ es4 \times 2/3 { d16([ es d) } \times 2/3 { cis( d cis)] } c4 \times 2/3 { b16([ c b) } \times 2/3 { bes( c bes)] } \unset subdivideBeams g2~ g16[ a bes es] g,([ fis) f c'] es,1 \set subdivideBeams = ##t \bar ! \mark \markup { \musicglyph #scripts.ufermata } %\noBreak bes'32([ a) es'8.]~ es4 \times 2/3 { d16([ es d) } \times 2/3 { cis( d cis)] } c4 \times 2/3 { b16([ c b) } \times 2/3 { bes( c bes)] } \unset subdivideBeams g2~ \bar \cadenzaOff } globalCAD = { \cadenzaOn \key fis \minor \tempo Très librement s1*5 s2 \bar ! \override Staff.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { \musicglyph #scripts.ufermata } s1*4 \bar s1 s2 s4 \bar ! \mark \markup { \musicglyph #scripts.ufermata } \noBreak \tweak #'self-alignment-X #-1.25 \tempo Plus doux s1*3 s2 \grace { s16*2 } s2. s16 \acciaccatura s8 s16 s8 s1*2 \bar ! \mark \markup { \musicglyph #scripts.ufermata } \tempo En s'exaltant peu à peu s1*2 s2. s16 \acciaccatura s8 s16 s8 s1 \tempo Rit. s2 \bar ! \break \tempo Brusque s1*31 s2. \cadenzaOff } \score { \new StaffGroup \with {
Re: New member - Bar numbers placement problem
That's right, I was focused on the automation thing, but I will use it manually for now, the piece is not so long anyway :) Thank you so much for your assistance! Best Pierre Le 23-10-2014 01:11, David Nalesnik a écrit : On Wed, Oct 22, 2014 at 4:17 PM, Les Editions Valmajour p...@editions-valmajour.fr mailto:p...@editions-valmajour.fr wrote: Thx David, I feel it's getting close, but I'm stuck waiting for help because I don't understand the Scheme code. :) Thank you! Pierre What do you want it to do that it isn't doing, or it a problem of knowing how to use it? The second example should give you what you asked for. The only problem is that you have to tell it the measure numbers. Once you have the layout down, that would be easy to do--if tedious. --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
New member - Bar numbers placement problem
Hello everyone! I am new on the list, from France and professionnal musician, engraving music as a hobby. Lilypond is fantastic, but so powerful that I think it's for now too powerful for my little knowledge, and I need your help. I would like to position the bar numbers for a piano system in front of and centered on StartSystem Brace. Like if it was in the place of the Instrument Name (or Short Instrument Name). I've tried to use the invisible Dynamics staff and force the display of bar numbers, but the result is not working fine, as you can see in the attached screen capture; if there is no dynamics in the system, the number is not displayed at the same position Do anyone have an idea how to do this right? Thank you so much, Pierre ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: New member - Bar numbers placement problem
Hi Kieren, I thought about this option, and I found how to add a counter in the shortInstrumentName; http://lsr.di.unimi.it/LSR/Item?id=543 (and it works and give the perfect placement I want) but I don't know how to link it to the number of the bar beginning the system :) Thanks anyway, Best regards, Pierre Le 22-10-2014 15:55, Kieren MacMillan a écrit : Bonjour, Pierre! I would like to position the bar numbers for a piano system in front of and centered on StartSystem Brace. Like if it was in the place of the Instrument Name (or Short Instrument Name). The best way, I imagine, would be for shortInstrumentName to actually *be* a call-back function that displays the bar number. That, unfortunately, is beyond my Lily-fu… but hopefully someone on the list will find a way. Sorry I couldn’t be of more concrete help. Best, Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: New member - Bar numbers placement problem
Thx David, I feel it's getting close, but I'm stuck waiting for help because I don't understand the Scheme code. :) Thank you! Pierre Le 22-10-2014 18:12, David Nalesnik a écrit : Hi, On Wed, Oct 22, 2014 at 8:59 AM, Les Editions Valmajour p...@editions-valmajour.fr mailto:p...@editions-valmajour.fr wrote: Hi Kieren, I thought about this option, and I found how to add a counter in the shortInstrumentName; http://lsr.di.unimi.it/LSR/Item?id=543 (and it works and give the perfect placement I want) but I don't know how to link it to the number of the bar beginning the system :) Thanks anyway, Best regards, Pierre Le 22-10-2014 15:55, Kieren MacMillan a écrit : Bonjour, Pierre! I would like to position the bar numbers for a piano system in front of and centered on StartSystem Brace. Like if it was in the place of the Instrument Name (or Short Instrument Name). The best way, I imagine, would be for shortInstrumentName to actually *be* a call-back function that displays the bar number. Interesting idea to hook onto instrument names since that would handle the positioning. See my experiments in the attached file. I first tried an engraver, but you can see the problem! The bar number text is set once and for all to 21--which is the last measure LilyPond sees (one beyond the 100 of the score). I next tried a callback for InstrumentName.after-line-breaking. It works, but there's no way I know of to get the bar number, so you have to add it to the list that the function is called with. Maybe the best way is to write something to change the positioning of BarNumber, but I need to work on something other than LilyPond for the time being, so any takers welcome! Hope this helps. Best, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user