Re: alpha test, spacing ajusments
On 29/10/10 06:27, Keith E OHara wrote: On Thu, 28 Oct 2010 09:01:26 -0700, Nick wrote: Actually, the vertical layout problem I reported a few weeks ago (http://code.google.com/p/lilypond/issues/detail?id=1252) still exists with 2.13.37. Nick, Since it seems you actually let LilyPond choose page breaks for you, do you have any ideas for how to set defaults so that issue 1252 appears as rarely as a sunny day in Glasgow ? (I gave up on page-breaking-system-system-spacing because it seems to affect the page breaker in the same ineffective way as system-system-spacing.) Actually, the score I'm working on at the moment gets the couldn't fit music on page: overflow is x.y warnings in the log without any spacing overrides, and I can (presently) get rid of them by adding system-system-spacing = #'((space . 0) (padding . 0) (stretchability . 4) (minimum-distance . 0)) to the \paper block. However, I don't like the resulting look of the output, as the space between the bottom stave on each page and the foot of the page varies too much for my taste. Nick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
2.13.37 problem with spacing tests - a bug?
Hi, It looks like a serious bug, but i haven't seen it mentioned in the tracker or in any e-mail... it is written in NR 4.12 that If a page has a ragged bottom, the resulting distance is the largest of: - space, - minimum-distance, and - padding plus the smallest distance necessary to eliminate collisions. So uncommenting fourth line in the example below shouldn't do anything, but it does (makes score vertically crowded) \version 2.12.3 \paper { system-system-spacing #'space = #20 % system-system-spacing #'padding = #1 } \relative c' { \repeat unfold 40 { a d e f a } } Am i right that this is a bug? Or did i misunderstood docs? cheers, Jan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2.13.37 problem with spacing tests - a bug?
Sorry for the mistake, of course the version in the snippet should be 2.13.37: \version 2.13.37 \paper { system-system-spacing #'space = #20 % system-system-spacing #'padding = #1 } \relative c' { \repeat unfold 40 { a d e f a } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2.13.37 problem with spacing tests - a bug?
2010/10/29 Janek Warchoł lemniskata.bernoull...@gmail.com: Am i right that this is a bug? Or did i misunderstood docs? Can you replace the nested overrides with this, system-system-spacing = #'((space . 20) (minimum-distance . 8) (padding . 1)) and let me know if it works? Thanks, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Controlling between-system-padding for specific systems
Hi! I know it is possible to control the between-system-padding of an entire score, but I want to know if it is possible to do that for specific systems instead? - Richie ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2.13.37 problem with spacing tests - a bug?
2010/10/29 James james.l...@datacore.com On 29/10/2010 10:20, Neil Puttock wrote: 2010/10/29 Janek Warchołlemniskata.bernoull...@gmail.com: Am i right that this is a bug? Or did i misunderstood docs? Can you replace the nested overrides with this, system-system-spacing = #'((space . 20) (minimum-distance . 8) (padding . 1)) and let me know if it works? See attached. Screens. Oh, sorry - i forgot to send my previous answer to whole list. Tere is nothing to worry about, James - default value for space is 12, not 20. That's why Neil's solution *should* look different than using no settings at all. cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with instrumentswitch
On Thu, Oct 28, 2010 at 5:35 PM, Trevor Daniels t.dani...@treda.co.ukwrote: Joshua Armenta wrote Thursday, October 28, 2010 9:17 PM No, the instrument_definitions are located in the top of the file above the note variables. That's not what I meant, but never mind. To get further help on this please submit a working tiny example that demonstrates this effect. See http://lilypond.org/doc/v2.13/Documentation/web/tiny-examples Trevor On Thu, Oct 28, 2010 at 2:20 PM, Trevor Daniels t.dani...@treda.co.uk wrote: Joshua Armenta Thursday, October 28, 2010 5:07 PM I've read through the manual and can't find anything about this issue. In a score, I'm using \addinstrumentDefinition and \instrumentSwitch. There's an example of this in the Notation Reference for 2.13.37. See http://lilypond.org/doc/v2.13/Documentation/notation/opera-and-stage-musicals#character-names The problem is every time I invoke \instrumentSwitch it prints the cue twice over the staff. Did you perhaps add a further Instrument_switch_engraver to the Staff context? That engraver is already included by default. (Jumping into the conversation...) OK, I've played with this a bit since I'm just starting a project that will need instrument switches, and this is what I found so far: This code compiles fine, with no duplication of the new instrument name: % \version 2.13.37 \addInstrumentDefinition #two #`((instrumentTransposition . ,(ly:make-pitch -1 0 0)) (shortInstrumentName . T.) (clefGlyph . clefs.G) (clefOctavation . 0) (middleCPosition . -6) (clefPosition . -2) (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps Instr. Two)) (midiInstrument . voice oohs)) \score { \new Staff = one { \set Staff.instrumentName = \markup \right-column { One } \set Staff.shortInstrumentName = \markup \right-column { O. } c1 \instrumentSwitch two c1 } } % However, if the notes are included in a variable, the name gets duplicated: % \version 2.13.37 \addInstrumentDefinition #two #`((instrumentTransposition . ,(ly:make-pitch -1 0 0)) (shortInstrumentName . T.) (clefGlyph . clefs.G) (clefOctavation . 0) (middleCPosition . -6) (clefPosition . -2) (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps Instr. Two)) (midiInstrument . voice oohs)) notes = \relative c' { c1 } \score { \new Staff = one { \set Staff.instrumentName = \markup \right-column { One } \set Staff.shortInstrumentName = \markup \right-column { O. } \notes \instrumentSwitch two \notes } } % This appears to be some kind of bug, unless I'm using the instrument switch command wrong. James Worlton attachment: switch.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Trills with accidentals
Having a browse on the LSR and found this: http://lsr.dsi.unimi.it/LSR/Item?id=304 which doesn't appear to work. Couldn't find how to add accidentals to the trill - can anyone point me, please? -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with instrumentswitch
Am Freitag, 29. Oktober 2010, um 16:46:31 schrieb James Worlton: However, if the notes are included in a variable, the name gets duplicated: % \version 2.13.37 \addInstrumentDefinition #two #`((instrumentTransposition . ,(ly:make-pitch -1 0 0)) (shortInstrumentName . T.) (clefGlyph . clefs.G) (clefOctavation . 0) (middleCPosition . -6) (clefPosition . -2) (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps Instr. Two)) (midiInstrument . voice oohs)) notes = \relative c' { c1 } \score { \new Staff = one { \set Staff.instrumentName = \markup \right-column { One } \set Staff.shortInstrumentName = \markup \right-column { O. } \notes \instrumentSwitch two \notes } } % This appears to be some kind of bug, unless I'm using the instrument switch command wrong. Actually, I think this has nothing to do with \instrumentSwitch itself, but only with the handling of instrumentCueName settings, which is messed up at the end of blocks like \note. In particular, in the following example, the cue name is printed in the second bar, too, although the cue name was not changed at all: % \version 2.13.37 notes = \relative c' { c1 } \score { \new Staff = one { \set Staff.instrumentCueName = Cue \notes d'1 } } % Cheers, Reinhold -- -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Trills with accidentals
On Fri, Oct 29, 2010 at 4:38 PM, Phil Holmes em...@philholmes.net wrote: Having a browse on the LSR and found this: http://lsr.dsi.unimi.it/LSR/Item?id=304 which doesn't appear to work. Couldn't find how to add accidentals to the trill - can anyone point me, please? This might be what you're looking for: http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blobdiff;f=Documentation/user/advanced-notation.itely;h=c4c2d4895ddb6a2da480ba0fe25ce07f8c7a0c6b;hp=c29d00757bb11b3d62a09b6f9abaa0ca69f484a9;hb=0a2a5f940488b46804a628fd32930cc28f2800e7;hpb=2c84da4dc6bfb1c493cd5ff2a7c7dc6fff517bf0 I'm not sure why convert-ly hasn't caught it, though. You may want to open an issue about it. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-user Digest, Vol 95, Issue 119
Message: 1 Date: Thu, 28 Oct 2010 19:55:49 -0400 From: Fr. Michael Gilmary frmichaelgilm...@maronitemonks.org Subject: Re: extra spacing between staves and verses To: lilypond-user@gnu.org Message-ID: 4cca0d85.7010...@maronitemonks.org Content-Type: text/plain; charset=utf-8 Thanks to Xavier and Bill for the solutions offered. Now, at least, I've got v. 2.13.37 working, but I couldn't get Bill's system-system-spacing to work, though. No change was produced. And Xavier's score-system-spacing worked ... but /globally/. I looked at the Notation Ref. 4.4.1 about vertical spacing between staves since what I'm working with is a hymn with verses where the music changes slightly from verse to verse and so I'd like the verses set apart from each other a bit. Any suggestions? It's pretty hacky and klunky, but why not simply insert one or more of the following lines at the point where your sample says, I'd like to have extra vertical space here: \markup { } This works in version 2.12.3. Attached is a sample of the music. fr. michael gilmary, mma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Trills with accidentals
Well, I've updated the Snippet: http://lsr.dsi.unimi.it/LSR/Item?u=1id=304 This is the syntax: \override TrillSpanner #'bound-details #'left #'text = \markup{ \musicglyph #scripts.trill \raise #0.65 \teeny \flat } Not sure what to raise an issue about concerning convert.ly, though. -- Phil Holmes - Original Message - From: Valentin Villenave valen...@villenave.net To: Phil Holmes em...@philholmes.net Cc: LilyPond User Group lilypond-user@gnu.org Sent: Friday, October 29, 2010 4:24 PM Subject: Re: Trills with accidentals On Fri, Oct 29, 2010 at 4:38 PM, Phil Holmes em...@philholmes.net wrote: Having a browse on the LSR and found this: http://lsr.dsi.unimi.it/LSR/Item?id=304 which doesn't appear to work. Couldn't find how to add accidentals to the trill - can anyone point me, please? This might be what you're looking for: http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blobdiff;f=Documentation/user/advanced-notation.itely;h=c4c2d4895ddb6a2da480ba0fe25ce07f8c7a0c6b;hp=c29d00757bb11b3d62a09b6f9abaa0ca69f484a9;hb=0a2a5f940488b46804a628fd32930cc28f2800e7;hpb=2c84da4dc6bfb1c493cd5ff2a7c7dc6fff517bf0 I'm not sure why convert-ly hasn't caught it, though. You may want to open an issue about it. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-user Digest, Vol 95, Issue 119
Patrick Karl wrote: It's pretty hacky and klunky, but why not simply insert one or more of the following lines at the point where your sample says, I'd like to have extra vertical space here: \markup { } This works in version 2.12.3. Thanks, Patrick! Klunky or not, it /does/ work --- and I don't have to go outside a lilypond environment (as I'm using XeLaTeX) to get it done! -- United in adoration of Jesus, fr. michael gilmary, mma Most Holy Trinity Monastery 67 Dugway Road Petersham, MA 01366-9725 www.MaroniteMonks.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Trills with accidentals
On Fri, Oct 29, 2010 at 6:08 PM, Phil Holmes em...@philholmes.net wrote: Not sure what to raise an issue about concerning convert.ly, though. convert-ly prints a NOT_SMART message, but for TextSpanner instead of TrillSpanner. Oh well. I think we can safely discard this report. Thanks for the manual update, though! Cheers, Valentin. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Question on creating an ossia with different times?
Hi, I'm trying to create an alternative Staff (ossia) with a changing of the times. I didn't succeed. I'll try to explain with this example. (simplified with all my rubbish deleted, just the basic notes left:-): \version 2.10.0 \paper { #(set-paper-size a4) #(define dump-extents #t) indent = 0\mm } BCLOne = { \relative c' { \time 3/2 c c d d es es | e e fis fis g g | \time 1/4 r | \time 4/2 c, c d d es es e e | \time 1/4 r | \break \time 3/2 r c d d es es | \time 4/2 e, e fis fis gis gis a a | } \bar |. } BCLTwo = { \relative c' { \time 3/2 c c d d es es | \time 2/2 e e fis fis | \time 3/4 g g r | \time 3/2 c, c d d es es | \time 3/4 e e r | \break \time 3/2 r c d d es es | \time 4/2 e, e fis fis gis gis a a | } \bar |. } \book { \score { { \override Staff.TimeSignature #'style = #'() \override Score.BarNumber #'break-visibility = #end-of-line-invisible \clef violin \key d \major \BCLOne \break \BCLTwo } \layout {} } } If you run this you will get twice 7 measures. What I want and tried is to put these two on top of each other. All notes are quarter notes, the total length of the pieces is exactly the same, and if you write it out manually you can put it so that for example the third quarter of measure 10 exactly fits on measure 3. The same happens a few bars further on. Now mixing it gets me in trouble for the change of the time (2/2, 3/4) which has a global result. Either I'm misinterpreting it, or I just don't understand how to do it. Anyone who can help me with a solution? (or just tell me we just can't, that's fair enough!) Regards, Wim van Dommelen. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question on creating an ossia with different times?
Hi, first of all, let me recommend you to upgrade to version 2.12. It's the current stable version, and includes numerous bug fixes over 2.10. Secondly, let me recommend you to read the Learning Manual included in the new documentation. Even if you've been using LilyPond for quite a while, it explains the features in an easy to understand format, and will likely enable you to answer most of your own questions in the future. Thirdly, to answer your question, you'll find sections on having different time signatures in different staves in (the 2.12 documentation) the Notation Reference, section 1.2.3, and information on creating ossia staves in section 1.6.2. I hope these help you! James On Oct 29, 2010, at 10:01 PM, Wim van Dommelen wrote: Hi, I'm trying to create an alternative Staff (ossia) with a changing of the times. I didn't succeed. I'll try to explain with this example. (simplified with all my rubbish deleted, just the basic notes left:-): \version 2.10.0 \paper { #(set-paper-size a4) #(define dump-extents #t) indent = 0\mm } BCLOne = { \relative c' { \time 3/2 c c d d es es | e e fis fis g g | \time 1/4 r | \time 4/2 c, c d d es es e e | \time 1/4 r | \break \time 3/2 r c d d es es | \time 4/2 e, e fis fis gis gis a a | } \bar |. } BCLTwo = { \relative c' { \time 3/2 c c d d es es | \time 2/2 e e fis fis | \time 3/4 g g r | \time 3/2 c, c d d es es | \time 3/4 e e r | \break \time 3/2 r c d d es es | \time 4/2 e, e fis fis gis gis a a | } \bar |. } \book { \score { { \override Staff.TimeSignature #'style = #'() \override Score.BarNumber #'break-visibility = #end-of-line-invisible \clef violin \key d \major \BCLOne \break \BCLTwo } \layout {} } } If you run this you will get twice 7 measures. What I want and tried is to put these two on top of each other. All notes are quarter notes, the total length of the pieces is exactly the same, and if you write it out manually you can put it so that for example the third quarter of measure 10 exactly fits on measure 3. The same happens a few bars further on. Now mixing it gets me in trouble for the change of the time (2/2, 3/4) which has a global result. Either I'm misinterpreting it, or I just don't understand how to do it. Anyone who can help me with a solution? (or just tell me we just can't, that's fair enough!) Regards, Wim van Dommelen. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alpha test, spacing ajusments
On Thu, 28 Oct 2010 23:25:31 -0700, Nick Payne nick.pa...@internode.on.net wrote: ... However, I don't like the resulting look of the output, as the space between the bottom stave on each page and the foot of the page varies too much for my taste. The simplest way to ask LilyPond to stretch big orchestral systems a little less, was to tell her to consider the space between systems, and the space at the bottom of the page, to be *very* stretchable. These adjustments are in paper_adjustments.ily attached. I worried that this adjustment would make Nick's problem even worse, *but* on my parts the extra space at the bottom remains uniform, 1 to 1.5 staff spaces, even though the staves are quite uneven due to page-turn considerations. We should get the bottom staves to be perfectly even across pages, if we sets the bottom stretchability to zero: \paper { last-bottom-spacing = #'( (space . 1) (padding . 1) (minimum-distance . 0) (stretchability . 0) )} I set the full list of parameters above, even though I changed only one of them, to work-around recently-reported bug 1338. My first draft of adjustments is attached, and the toy score below shows how I use them. The files are mostly comment, with just a few overrides. While experimenting, I found it helpful to prevent the number of pages from changing, using \paper{page-count=#5} Jan and choral folk, maybe a little more #'non-affinity-spacing is needed to keep the Lyrics from being confused with the next staff? You know that I have no experience with vocal music, but these files make Jan's setting of the Messiah look good to my eyes. I will be quiet for a couple days over the weekend, but will not forget this. == Keith ==8== \version 2.13.37 \paper { \include paper_adjustments.ily } \pointAndClickOff m = { \repeat unfold 20 c''1 \repeat unfold 60 s1 \repeat unfold 20 c''1 } o = { \repeat unfold 100 c''1 } \score { \new PianoStaff \new Staff \m \new Staff \m %{%} \new Staff \m \new Staff \m \new Staff \o \new Staff \o \new Staff \o \new Staff \o \new StaffGroup \new Staff \o \new Staff \o %{%} %{%} \layout { \context {\Staff \RemoveEmptyStaves } \include layout_adjustments.ily } } layout_adjustments.ily Description: Binary data paper_adjustments.ily Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: extra spacing between staves and verses
Greetings Fr. Michael Gilmary The attached file untitled.ly might be of help. Regards Bill \header { title = Title piece = score-system-spacing affects spacing between 'scores' - but not between Title and 1st score } \paper { %Uncomment either or both of the next two lines and adjust values to suit % system-system-spacing = #'((space . 20) (minimum-distance . 10) (padding . 1)) % score-system-spacing = #'((space . 34) (minimum-distance . 28) (padding . 1)) } #(set-global-staff-size 16) %default is 20 (I think!) \layout { \context { \Score \remove Bar_number_engraver } \context { \Staff \remove Time_signature_engraver } } TimeKey= {\key f \major} MusicOne = \relative c' { \set autoBeaming = ##f \partial 8 f8 \bar| a4 f8 g \bar| a([ bes a]) g \bar| f2 \bar| a4 f8 g a([ bes a]) g \bar| f2 \bar| \break c'4^\markup { system-system-spacing affects this space } c \bar| bes8([ a bes]) d \bar| c([ bes a g] \bar| f2) \bar| f8 f g a \bar| g([ f16 e d8]) e \bar| f2. r4 \bar||\break } MusicTwo = \relative c'' { \set autoBeaming = ##f a8 a16([ g]) f8 g \bar| a([ bes a]) g \bar| f2 \bar| a8 a16([ g]) f8 g \bar| a([ bes a]) g \bar| f2 \break c'4 c \bar| bes8([ a bes]) d \bar| c([ bes a g] \bar| f2) \bar| f8 f g a \bar| g([ f16 e d8]) e \bar| f2. r4 \bar||\break } VerseOne = \lyricmode { O Ma -- ry, we pray to you, bles -- sed and pur -- est One, help us in __ our need; __ You are al -- ways there __ for us. } VerseTwo = \lyricmode { We, poor sin -- ners, turn __ to you, now and at the hour __ of death. You are free from sin; __ Ho -- ly Ma -- ry, full __ of grace. } VerseThree = \lyricmode { In -- ter -- cede and pray __ for us; Vir -- gin Mo -- ther show __ us love. May your Son, our Lord, __ grant us mer -- cy, through your prayers. } \score { \new Staff \new Voice = MonksOne { \TimeKey \MusicOne } \new Lyrics \lyricsto MonksOne { \VerseOne } } %% I'd like to have extra vertical space here \score { \new Staff \new Voice = MonksTwo { \TimeKey \MusicTwo } \new Lyrics \lyricsto MonksTwo { \VerseTwo } } \score { \new Staff \new Voice = MonksTwo { \TimeKey \MusicTwo } \new Lyrics \lyricsto MonksTwo { \VerseThree } } \version 2.13.36 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
annotate-spacing causing error
Some sort of strange interaction here (I'm running 2.13.37 amd64 on Linux). Lilypond barfs on this: % \version 2.13.37 \header { title = Title } \paper { annotate-spacing = ##t system-system-spacing #'space = #3 } \relative c'' { \repeat unfold 1024 { c4 } } % with the following error in the console log: Parsing... Interpreting music... [8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][152][160][168][176][184][192][200][208][216][224][232][240][248][256] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems.../usr/local/lilypond/usr/share/lilypond/current/scm/stencil.scm:667:41: In procedure assoc in expression (assoc-get sym spacing-spec ...): /usr/local/lilypond/usr/share/lilypond/current/scm/stencil.scm:667:41: Wrong type argument in position 2 (expecting association list): ((space . 3) . #variable 7fc15c551c60 value: #0#) If I remove either one of the two settings in the paper block, then it builds without error. So either setting is valid on its own, but not if both are used together. Nick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user