Re: remove first empty staff and ambitus
Dear Thomas, Thnx so much. It works perfectly! I have been fiddling around with the problem for over half a year. Really: Thanks a lot. Also to Knute and HTH! Kai --- kai.lautenschlae...@me.com Am 5.10.2014 um 15:30 schrieb Thomas Morley thomasmorle...@gmail.com: 2014-10-02 20:50 GMT+02:00 Kai Lautenschläger kai.lautenschlae...@me.com: Dear list, a few weeks ago I asked about removing the first empty staff in choir music and inserting the ambitus in the n-th system for selected voices. From the answers you gave, I could built the following example, which solved a whole set of problems. Now, can anyone come up with an idea how to remove the upper staff in the first system? I’m grateful for any hints. Thanks best regards, Kai \version 2.19.15 musicI = \relative { \repeat unfold 5 { c'4^first voice b' c, g' } } musicII = \relative { \repeat unfold 5 { c''4^second voice b' c, g' } } ambitus = \with { \consists Ambitus_engraver } noAmbitusAtEnd = { \override Voice.AmbitusNoteHead.break-visibility = ##(#f #f #t) \override Voice.AmbitusLine.break-visibility = ##(#f #f #t) } \score { \new Staff = StaffI \new Voice = VoiceI { s1*5 \break \new Voice \ambitus \musicI } \new Staff = StaffII \new Voice = VoiceII \ambitus { \musicII } \layout { \context { \Staff \RemoveEmptyStaves Delete Staff in the following command. You are adding something to the Staff-context-definition here. LilyPond will be confused by repeating the Staff-context, although you are in there already. \override Staff.VerticalAxisGroup.remove-first = ##t I'm surprised the following works, because noAmbitusAtEnd is defined for Voice-context \noAmbitusAtEnd } } } Though the main problem is that the ambitus appears end-of-line at a line-break here This adds note-heads to this lines. And as default this will cause this line alive. Making them invisible via break-visibility is not enough, they're still there. You could try to use settings for keep-AliveInterfaces as described here: http://lsr.di.unimi.it/LSR/Item?id=312 Though, no clue if it will work in real life scores: \version 2.19.13 keep-AliveInterfaces = #'( rhythmic-grob-interface lyric-interface stanza-number-interface percent-repeat-interface ) musicI = \relative { \repeat unfold 5 { c'4^first voice b' c, g' } } musicII = \relative { \repeat unfold 5 { c''4_second voice b' c, g' } } ambitus = \with { \consists Ambitus_engraver } noAmbitusAtEnd = { \override Staff.AmbitusNoteHead.break-visibility = ##(#f #f #t) \override Staff.AmbitusLine.break-visibility = ##(#f #f #t) } \score { \new Staff = StaffI \new Voice = VoiceI { \set Staff.keepAliveInterfaces = #'() s1*5 \break \set Staff.keepAliveInterfaces = \keep-AliveInterfaces \new Voice \ambitus \musicI } \new Staff = StaffII \new Voice = VoiceII \ambitus { \musicII s1*5 } \layout { \noAmbitusAtEnd \context { \Staff \RemoveEmptyStaves \override VerticalAxisGroup.remove-first = ##t } } } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
empty left space in measures
Hi List, In many of my scores for choral pieces I see an effect, that I could not make a minimal example for. So my question is, if anyone has seen this and could point me towards the usual suspects of reasons for this behaviour. Often I see a expanded empty space at the beginning of measures. The measures are engraved with lilypond standard (no tweaks or overrides) and it is obviously not linked to lyrics (I tried leaving them out and changing the length of syllables). I does also not change, if I reduce to one staff or voice. I suspect something linked to chopping the music into measures is the reason, but I have no clue, how to find out more. Maybe it is connected to linebreaking, too. Sorry that the question is so fussy, but I cannot make it more clear. Please see the png below for an example. I’ll appriciate any idea! Best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: empty left space in measures
Thanks Trevor, Am 9.10.2014 um 15:44 schrieb Trevor Daniels t.dani...@treda.co.uk: Kai, you wrote Thursday, October 09, 2014 2:27 PM In many of my scores for choral pieces I see an effect, that I could not make a minimal example for. So my question is, if anyone has seen this and could point me towards the usual suspects of reasons for this behaviour. Often I see a expanded empty space at the beginning of measures. The measures are engraved with lilypond standard (no tweaks or overrides) and it is obviously not linked to lyrics (I tried leaving them out and changing the length of syllables). I does also not change, if I reduce to one staff or voice. I suspect something linked to chopping the music into measures is the reason, but I have no clue, how to find out more. Maybe it is connected to linebreaking, too. No idea. I think you'll need to post the source of the smallest example you can which shows this effect - no lyrics, one staff, one voice. And don't forget the version! Since this particular score I am working on is very extensive and some of the code goes way over my head, I was hoping for an idea where to start minimizing (I was dreaming of something like: start with the vertical spacing - I had that once and it was linked to that). Just an idea or an hint rather then an answer. The programming pros in the list often showed this gut feeling in what area one could look for an error/problem. As soon as I succeeded in making minimal example, half (or more ;-)) of my problem will be solved. Trevor Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: remove first empty staff and ambitus
Hi Knute, Am 3.10.2014 um 17:21 schrieb Knute Snortum ksnor...@gmail.com: I'm not sure what you're trying to do. For example, why not one Staff and Voice? I try to do the following: I have five voices (v1 - v5) and want to have ambitus (:) at their first appearance. It should look like this: ———8—SCHNIPP—— Titel etc. v1:— v2:— v3:— v4:— v5:— v1— v2— v3— v4— v5— ———8—SCHNAPP—— Right now LilyPond is doing exactly what you told it to do: be silent in the first voice for five measures. that is true, only that I thought to have asked lilypond to hide/remove the lines (including the first lines) of voices, that are silent. My aim is now, to keep everything like in my not-so-tiny example but have the empty first staff of the silent voice not printed. Am I missing something simple? Is there a way? Thanks to much. Kai On Thu, Oct 2, 2014 at 11:50 AM, Kai Lautenschläger kai.lautenschlae...@me.com wrote: Dear list, a few weeks ago I asked about removing the first empty staff in choir music and inserting the ambitus in the n-th system for selected voices. From the answers you gave, I could built the following example, which solved a whole set of problems. Now, can anyone come up with an idea how to remove the upper staff in the first system? I’m grateful for any hints. Thanks best regards, Kai \version 2.19.15 musicI = \relative { \repeat unfold 5 { c'4^first voice b' c, g' } } musicII = \relative { \repeat unfold 5 { c''4^second voice b' c, g' } } ambitus = \with { \consists Ambitus_engraver } noAmbitusAtEnd = { \override Voice.AmbitusNoteHead.break-visibility = ##(#f #f #t) \override Voice.AmbitusLine.break-visibility = ##(#f #f #t) } \score { \new Staff = StaffI \new Voice = VoiceI { s1*5 \break \new Voice \ambitus \musicI } \new Staff = StaffII \new Voice = VoiceII \ambitus { \musicII } \layout { \context { \Staff \RemoveEmptyStaves \override Staff.VerticalAxisGroup.remove-first = ##t \noAmbitusAtEnd } } } --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
remove first empty staff and ambitus
Dear list, a few weeks ago I asked about removing the first empty staff in choir music and inserting the ambitus in the n-th system for selected voices. From the answers you gave, I could built the following example, which solved a whole set of problems. Now, can anyone come up with an idea how to remove the upper staff in the first system? I’m grateful for any hints. Thanks best regards, Kai \version 2.19.15 musicI = \relative { \repeat unfold 5 { c'4^first voice b' c, g' } } musicII = \relative { \repeat unfold 5 { c''4^second voice b' c, g' } } ambitus = \with { \consists Ambitus_engraver } noAmbitusAtEnd = { \override Voice.AmbitusNoteHead.break-visibility = ##(#f #f #t) \override Voice.AmbitusLine.break-visibility = ##(#f #f #t) } \score { \new Staff = StaffI \new Voice = VoiceI { s1*5 \break \new Voice \ambitus \musicI } \new Staff = StaffII \new Voice = VoiceII \ambitus { \musicII } \layout { \context { \Staff \RemoveEmptyStaves \override Staff.VerticalAxisGroup.remove-first = ##t \noAmbitusAtEnd } } } --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
constructing variables
\version 2.19.7 Hi everyone! is it possible to construct variables from others? I want to construct \tempo Text 4=80 from the variables tempoText = Text and tempoNumber = 4=80 that are defined at two different places in a complicated file structure (\include) I tried: \version 2.19.7 tempoText = Text and tempoNumber = 4=80 { \tempo \tempoText \tempoNumber a4 } with an without quotation marks, but nothing worked. I suppose I just can’t see the obvious and just looked for the wrong keywords in the documentation. Can anyone point me in the right direction. Thanks Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: constructing variables
Hi David and Urs, thanks for your fast replies. David’s suggestion does just very fine. But this begs the question why you don't just assign the whole tempo specification to a single variable. Of course, you are right! But I was using this request as an example for some other questions I had (And they are also answered now!!). The point is, that I have built a template, that makes it possible to print several editions of the same piece. For that I sometimes need the possibiliy to exchange the wording of the tempo into different languages automatically. Best wishes Kai___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus not in the beginning
Hi Patrick, thanks for making that easier to see. Since I am not at all familiar with the procedure once a bug is named a bug (or at least believed to be one), my question would be: is there any ideas for a work-around? I was thinking to somehow manually put the ambitus at the beginning of a staff deliberately without having LP also write one (visible or not) at the end of the staff before. But that idea exceeds my knowledge of LP code or scheme by lightyears. :( best regards, Kai Am 28.11.2013 um 22:07 schrieb pls p.l.schm...@gmx.de: On 25.11.2013, at 14:34, Kai Lautenschläger kai.lautenschlae...@me.com wrote: As you can see in the following not so tiny example inserting the ambitus makes the \RemoveEmptyStaves command ineffective. I reduced your example quite a bit and the problem is still there: \RemoveEmptyStaves does not show any effect in staves containing voices in which the ambitus engraver is added. AFAICS you are right and this is a bug. \version 2.17.95 \score { \new Staff { R1 \break \new Voice % \with { \consists Ambitus_engraver } %uncomment this line to see the effect \relative { a'4 b c d } } \new Staff { c'1 \break \new Voice \with { \consists Ambitus_engraver } \relative { a'4 b c d } } \layout { \context { \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t } } } hth patrick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus not in the beginning
Hello again, I have been fiddling around with the ideas and solutions I got from you and came up with a combination of 1. using a \new Voice with ambitus at a certain point in my score. (Thanx Janek) 2. using the \noAmbitusAtLineEnd definition by David from a post in July. 3. the new \omit function. The score's first two systems should look like this: 1. System: 2 staves (for tenors + piano without Ambitus) -- 2 in the example below 2. System: 6 staves (sopranos, altos, tenors, basses + piano with an ambitus for each vocal voice) -- 1 in the example below The linebreak is within a measure, letting the 2. system start with an upbeat. As you can see in the following not so tiny example inserting the ambitus makes the \RemoveEmptyStaves command ineffective. I suppose that is, because there is a ambitus at the end of the first Staff in the 1. Voice (unvisible due to \noAmbitusAtLineEnd). Is there any way to remove the empty first line never the less? would be thrilled about any hints… best regards, Kai --8--SNIPP-- \version 2.17.95 noAmbitusAtLineEnd = { \override AmbitusNoteHead #'before-line-breaking = #(lambda (grob) (if (and (ly:item? grob) (= (ly:item-break-dir grob) -1)) (ly:grob-suicide! grob))) \override AmbitusLine #'before-line-breaking = #(lambda (grob) (if (and (ly:item? grob) (= (ly:item-break-dir grob) -1)) (ly:grob-suicide! grob))) \override AmbitusAccidental #'before-line-breaking = #(lambda (grob) (if (and (ly:item? grob) (= (ly:item-break-dir grob) -1)) (ly:grob-suicide! grob))) } % end \noAmbitusAtLineEnd #(set-global-staff-size 14) \paper { tagline = #(set-paper-size a7) } % end \paper \score { \new Staff = StaffOne { \relative { \set Staff.shortInstrumentName = #'1 R1 \omit r2 \omit r4 \bar || \break a'4 b c d e } % end \relative } % end StaffOne \new Staff = StaffTwo { \relative { \set Staff.instrumentName = #'2 \set Staff.shortInstrumentName = #'2 a'1^W/O ambitus in 1st staff/2nd system a2. \new Voice \with { \consists Ambitus_engraver } { a4 b c d e } } % end \relative } % end StaffTwo \layout { \context { \Score \noAmbitusAtLineEnd } % end \context Score \context { \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t } % end \context Staff } % end \layout } % end \score \score { \new Staff = StaffOne { \relative { \set Staff.instrumentName = #'1 \set Staff.shortInstrumentName = #'1 R1^WITH ambitus in 1st staff/2nd system \omit r2 \omit r4 \bar || \break \new Voice \with { \consists Ambitus_engraver } { a'4 b c d e } } %%% here is the change } % end StaffOne \new Staff = StaffTwo { \relative { \set Staff.instrumentName = #'2 \set Staff.shortInstrumentName = #'2 a'1 a2. \new Voice \with { \consists Ambitus_engraver } { a4 b c d e } } } % end StaffTwo \layout { \context { \Score \noAmbitusAtLineEnd } % end \context Score \context { \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t } % end \context Staff } % end \layout } % end \score --8--SNIPP-- Am 24.11.2013 um 13:02 schrieb David Kastrup d...@gnu.org: Kai Lautenschläger kai.lautenschlae...@me.com writes: Hi David, thanks for your reply. Am 24.11.2013 um 12:26 schrieb David Kastrup d...@gnu.org: Dr. med. Kai Lautenschläger dr.lautenschlae...@gmx.net writes: Dear list, sorry to ask again and I hope this time it will not be something obviously explained in the manual. Is there a way to insert ambitus at the beginning of a staff, that is not the first staff of the score? A piece I am doing starts of with solo voice and organ and later the choir sets in with the solo staff being taken over by the tenors. I would like to add an ambitus in each choir voice, when it first appears (the empty lines in the first two systems before are not shown). Just use an ambitus engraver in each of the tenor voices (one with an X-offset)? I understand, but that not solve my problem. I would like an ambitus in the n-th system of a score instead of at the beginning. How do I go about that? { \skip 1*n \new Voice = tenor_I \with { \consists Ambitus_engraver } ... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
shape ties/slurs after line break
Hi everyone! just having finished my largest project so far I have been diving into tweaks and overrides quite extensively for the first time. I keep being amazed by LP’s capabilities Some questions have popped up, for which I couldn’t find any answer in the Manual. Could anyone give me a hint, were to look for it? Is there a way to shape ties and slurs after a line break? The following tiny example should show the problem: --8--SNIPP-- \version 2.17.95 #(set-global-staff-size 14) \paper { ragged-right = ##t tagline = #(set-paper-size a8) } \relative { a'1^default ~ |\break a4 } \relative { a'1^randomly changed shape-\shape #'((0 . -2) (0 . 0) (0 . 2) (0 . 4)) ~ |\break a4^but here it's unchanged } --8--SNAPP-- Thanks a lot in advance! Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: shape ties/slurs after line break
Dear Janek, thanks a lot. Works just perfect! I can not find anything about using two sets of offsets in the link you provided. And I probably wouldn’t have found it, since it doesn’t mention the \shape-command. Maybe pointing at \shape would be helpful, especially since it seems to me, that the „known problem“ can be worked around partly with \shape. … I take that back!!! I originally read the german translation and the above is my replay for that (I was automatically referred there?!?!). The english version has it all. Thanks a lot. Kai Hi, 2013/11/24 Dr. med. Kai Lautenschläger dr.lautenschlae...@gmx.net: Hi everyone! Is there a way to shape ties and slurs after a line break? The following tiny example should show the problem: --8--SNIPP-- \version 2.17.95 #(set-global-staff-size 14) \paper { ragged-right = ##t tagline = #(set-paper-size a8) } \relative { a'1^default ~ |\break a4 } \relative { a'1^randomly changed shape-\shape #'((0 . -2) (0 . 0) (0 . 2) (0 . 4)) ~ |\break a4^but here it's unchanged } --8--SNAPP-- Use another set of offsets: \version 2.17.95 #(set-global-staff-size 14) \paper { ragged-right = ##t tagline = #(set-paper-size a8) } \relative { a'1^default ~ |\break a4 } \relative { a'1^randomly changed shape -\shape #'(((0 . -2) (0 . 0) (0 . 2) (0 . 4)) ((0 . -2) (0 . 0) (0 . 2) (0 . 4))) ~ |\break a4^and here it's changed as well } This is mentioned in http://lilypond.org/doc/v2.17/Documentation/notation/modifying-shapes - is that example not clear enough? How should we improve it? best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Ambitus not in the beginning
Dear list, sorry to ask again and I hope this time it will not be something obviously explained in the manual. Is there a way to insert ambitus at the beginning of a staff, that is not the first staff of the score? A piece I am doing starts of with solo voice and organ and later the choir sets in with the solo staff being taken over by the tenors. I would like to add an ambitus in each choir voice, when it first appears (the empty lines in the first two systems before are not shown). The change between soloist and tenors appears more often within the piece and unfortunately not always at line break points. It would be acceptable (for this piece) for the ambitus to take into account both solo and tenor notes. I’m grateful for any idea. Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus not in the beginning
Hi David, thanks for your reply. Am 24.11.2013 um 12:26 schrieb David Kastrup d...@gnu.org: Dr. med. Kai Lautenschläger dr.lautenschlae...@gmx.net writes: Dear list, sorry to ask again and I hope this time it will not be something obviously explained in the manual. Is there a way to insert ambitus at the beginning of a staff, that is not the first staff of the score? A piece I am doing starts of with solo voice and organ and later the choir sets in with the solo staff being taken over by the tenors. I would like to add an ambitus in each choir voice, when it first appears (the empty lines in the first two systems before are not shown). Just use an ambitus engraver in each of the tenor voices (one with an X-offset)? I understand, but that not solve my problem. I would like an ambitus in the n-th system of a score instead of at the beginning. How do I go about that? -- David Kastrup best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus not in the beginning
Dear David and Janek, I see the approach. I was hoping there would be a possibility to insert the ambitus without redistributing my note to different voices. Now I see, that I should have done that right from the start. Right now, I have the solo parts and the choir parts for the tenor in one \voice-context. I will tell you, when it worked out. best regards Kai Am 24.11.2013 um 13:02 schrieb David Kastrup d...@gnu.org: Kai Lautenschläger kai.lautenschlae...@me.com writes: Hi David, thanks for your reply. Am 24.11.2013 um 12:26 schrieb David Kastrup d...@gnu.org: Dr. med. Kai Lautenschläger dr.lautenschlae...@gmx.net writes: Dear list, sorry to ask again and I hope this time it will not be something obviously explained in the manual. Is there a way to insert ambitus at the beginning of a staff, that is not the first staff of the score? A piece I am doing starts of with solo voice and organ and later the choir sets in with the solo staff being taken over by the tenors. I would like to add an ambitus in each choir voice, when it first appears (the empty lines in the first two systems before are not shown). Just use an ambitus engraver in each of the tenor voices (one with an X-offset)? I understand, but that not solve my problem. I would like an ambitus in the n-th system of a score instead of at the beginning. How do I go about that? { \skip 1*n \new Voice = tenor_I \with { \consists Ambitus_engraver } ... -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
snippet does not work anymore
Hi List, I've been seeing a lot snippets being identified by numbers, but I can't find out, where to search for that number. Reading the manual I stumbled upon a snippet that hast stopped working somewhere between versions 2.16 and 2.17.15. It is in the snippet department in Rhythms under the title of Merging multi-measure rests in a polyphonic part. It actually does not work in the manual for 2.17 either, while in the 2.16-manual everything seemed fine. Find both links below. http://lilypond.org/doc/v2.16/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part http://lilypond.org/doc/v2.17/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part Is this wanted behaviour? Is there any workaround to merge the multi-measure-rests? I'd be gratefull for any hint. best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question about score count
Hi Jay, that is a great function. Unfortunately I have no knowledge of scheme whatsoever. So I'd like to ask, if there is a simple solution for the following question. I use the described counter and would like to use titles which are defined in a variable instead of the actual text. Let's assume a variable named t. If I write #(numbered-title \t) it will not give out the wanted result. I assume, that for this to work, the function has to be altered in order to accept variables in the place of the title. Is that possible? Would be glad for any suggestions. Thanks, best regards and Liebe Grüße Kai --- kai.lautenschlae...@me.com___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question about score count
Hello Carl, that works perfect! Thanks a lot. best regards Kai I seem to remember looking in the documentation that you would refer to the variable in Scheme as #(numbered-title t). Could be wrong. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Thank you
Hello List, I just want to let you know, that I continue to be _very_ thankful for all the great ideas, patient explanations and profound help I draw from this list! The amount of time most of you invest in this is truly heroic! I have been telling this to many music-friends of mine and realised, that it's you, that should here it. So, here we go: Thank you very very much for all your help! Best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
silence single notes in MIDI
Dear List, In a choral piece I used cross-noteheads for places, where the singers are requested to make a noise (in this case a kissing-noise). I used d2 \once \override NoteHead.stencil = #ly:text-interface::print \once \override NoteHead.text = \markup { \musicglyph #noteheads.s2cross } b4 d as I found it in the documentation. For the PDF output, this works perfectly. Unfortunately die MIDI output gives me a b. That is expected behavior, I suspect. My question is, wether anyone know a way to practically silence single notes from the MIDI-output. I would be content, if nothing could be heard instead of the b. I don't need another sound, or anything. Can someone point me to the place in the documentation or give me an idea of how to achieve this? I use \version 2.17.13 Thanks a lot! best regards --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: silence single notes in MIDI
Dear Pierre, thanks very much. That works perfectly. I wasn't aware of that tag-function. This opens up the solution to some other tasks, that I was facing! Great! Thanks again! Best regards Kai --- kai.lautenschlae...@me.com Am 12.03.2013 um 12:50 schrieb Pierre Perol-Schneider pierre.schneider.pa...@gmail.com: Hi, You can use the \tag function : http://www.lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source#using-tags In a choral piece I used cross-noteheads for places, where the singers are requested to make a noise (in this case a kissing-noise). I used d2 \once \override NoteHead.stencil = #ly:text-interface::print \once \override NoteHead.text = \markup { \musicglyph #noteheads.s2cross } b4 d as I found it in the documentation. For the PDF output, this works perfectly. Unfortunately die MIDI output gives me a b. That is expected behavior, I suspect. My question is, wether anyone know a way to practically silence single notes from the MIDI-output. I would be content, if nothing could be heard instead of the b. I don't need another sound, or anything. Can someone point me to the place in the documentation or give me an idea of how to achieve this? I use \version 2.17.13 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PDF-filename and place
is it possible to define the name and directory of the PDF output file with the help of some command within the .ly-file? I mean: not via the command line when executing lilypond but within the lilypond code itself. Try \bookOutputName Thanks very much. I wasn't aware, that you can enter the output name with a path, too. Also thought that in a \book the \bookparts were then saved as single files. Now everything works fine! Thanks, David Best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
PDF-filename and place
Dear List, is it possible to define the name and directory of the PDF output file with the help of some command within the .ly-file? I mean: not via the command line when executing lilypond but within the lilypond code itself. I couldn't find anything in the manual (but I have to admit, that I have been failing before, trying to find stuff in the documentation, which was very obvious to find, when pointed in the right direction) ;-) Any help is greatly appreciated best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Warning with voltaSpannerDuration
Thanks, Eluze! Yes, the output is correct. I was just fighting my way through a long list of errors and warnings, trying to understand. Best regards Kai ... von unterwegs gesendet! Am 09.10.2012 um 23:21 schrieb Eluze elu...@gmail.com: quot;Dr. med. Kai Lautenschlägerquot; wrote The following warning is given: (sorry, it's in german) […] Interpretation der Musik...[8] Warnung: Volta-Klammer kann nicht beendet werden [16] Warnung: Volta-Klammer kann nicht beendet werden Vorverarbeitung der grafischen Elemente... […] there's already an issue http://code.google.com/p/lilypond/issues/detail?id=1476 for this, but it's not fixed yet. however is the output correct? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Warning-with-voltaSpannerDuration-tp134509p134516.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Warning with voltaSpannerDuration
Dear list, when using repeats with alternatives and restricting the volta spanner to one or two bar I get warnings when compiling. If you uncomment the line \set Score.voltaSpannerDuration = #(ly:make-moment 2 1 ) in the below example, I hope you will be able to reproduce the warning. The same happens, when I use \set Score.repeatCommands = #'((volta #f)) I am using Lilypond 2.17.4 jEdit 5.0pre1 (but it also happens, when I compile directly with Lilypond) Mac OS 10.7.5 The PDF is showing the expected result (with correctly shortened volta spanners), but I still get the warning. Does anybody have any clues, why that is so? Best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Warning with voltaSpannerDuration
sorry, I forgot the example: \version 2.17.4 music = { \relative c'' { \repeat unfold 2 { g4 f a b } } } \score { \new Staff \set Score.voltaSpannerDuration = #(ly:make-moment 2 1 ) \repeat volta 2 { \music \music \music } \alternative { { \music \music \music } { \music \music \music } } } The following warning is given: (sorry, it's in german) […] Interpretation der Musik...[8] Warnung: Volta-Klammer kann nicht beendet werden [16] Warnung: Volta-Klammer kann nicht beendet werden Vorverarbeitung der grafischen Elemente... […] Best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
rhythm fragments in different pitches
Hi Everyone, Although I am positive, that I read about this in the list, I cannot find it anymore. So I kindly ask for a pointer in the right direction. I am trying to code a piece with voices that use the same rhythmical fragment over and over again. I would like to write something like: \version 2.17.2 rhythm = { s8.[ s16] } melody = \relative c { a d g f e b} \score { \new staff \relative c { g2 d8 h e4 f } \applyRhythm \rhythm \melody \relative c { g2 d8 h e4 f } \layout { } } How do I go about it? Best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rhythm fragments in different pitches
Hi, I am seriously sorry, I annoyed you with bugs in the code and lengthy files. It was not meant like that and I apologize. Especially since I really continue to be amazed by the efficiency of this list and the speed, with which help is offered. So I hope you will forgive my obviously mistaken approach. Nevertheless I got the help, that I needed - as always. Everything works fine with the file, that David posted. Thanks, again. Will work on my questioning skills … Best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rhythm fragments in different pitches
Hi David, Thanks for explaining. As for your idea below I would like that feature very much, though I do not understand the code because I am illiterate to programming languages. Best regards, Kai ... von unterwegs gesendet! Am 22.09.2012 um 12:42 schrieb David Kastrup d...@gnu.org: At some point of time, we probably should have a convenience function for the pattern (reverse! (fold-some-music [predicate] (lambda (l m) (cons ([extractor] m) l)) '() [music])) The example code I posted uses this twice already. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
slashSeparator-question
Hi Everyone, in my scores I usually use the command: system-separator-markup = \slashSeparator within the /paper-block. Sometimes at the same time I want very narrow distances between staves (system-system-spacing). After searching the manuals I couldn't find an answer to two questions concerning this symbol. I read there, that I can use any /markup-block for system-separator-markup but: 1. Sometimes the slashSeparator comes very close to the bar-numbering of the first staff. Is it possible to pad the slashSeparator in any way. For that I would - as I understand it - have to know the context in which the symbol is set. 2. I can not change the size (I would like for it to be larger) of the symbol. If I am not mistaken I would need a possibility to directly name the glyph. But I can't find a hint, where the gylph comes form (what font, maybe a glyph-name). Can anyone point me to that information? Maybe I searched for the wrong keywords or didn't understand the manual. Any tip is very welcome!… This sample is showing the problem a little drastically \version 2.17.2 \header { } \score { \new Voice { \repeat unfold 16 { c'4 c' c' c' | } } } \paper { system-separator-markup = \slashSeparator system-system-spacing = #'((basic-distance . 7.5) (minimum-distance . 0) (padding . 0.5)) } Best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashSeparator-question
Thanks Phil and eluze, with your information I found my way around. One of the tricks was, that I didn't recognize, that the separator symbol is constructed from the beam-glyph. Thanks a lot! I had been fiddling around with that for a long time. Would a user handle for positioning the separator and a collision avoidance for it be a feature worthwhile including in a future version of Lilypond? Best regards, Kai Am 14.9.2012 um 04:50 schrieb eluze: Phil Holmes-2 wrote - Original Message - From: Dr. med. Kai Lautenschläger lt;dr.lautenschlaeger@gt; To: lilypond-user User lt;lilypond-user@gt; Sent: Thursday, September 13, 2012 3:33 PM Subject: slashSeparator-question Hi Everyone, in my scores I usually use the command: system-separator-markup = \slashSeparator within the /paper-block. Sometimes at the same time I want very narrow distances between staves (system-system-spacing). After searching the manuals I couldn't find an answer to two questions concerning this symbol. I read there, that I can use any /markup-block for system-separator-markup but: 1. Sometimes the slashSeparator comes very close to the bar-numbering of the first staff. Is it possible to pad the slashSeparator in any way. For that I would - as I understand it - have to know the context in which the symbol is set. 2. I can not change the size (I would like for it to be larger) of the symbol. If I am not mistaken I would need a possibility to directly name the glyph. But I can't find a hint, where the gylph comes form (what font, maybe a glyph-name). Can anyone point me to that information? Maybe I searched for the wrong keywords or didn't understand the manual. Any tip is very welcome!… = A search of the source code gives: slashSeparator = \markup { \center-align \vcenter \combine \beam #2.0 #0.5 #0.48 \raise #0.7 \beam #2.0 #0.5 #0.48 } So - as the name implies, system-separator-markup simply uses markup as its argument, so you could put any valid markup there, I believe. However, I don't think there is any collision avoidance done with the separator and the staves. maybe playing with the numbers below could achieve it: \paper { mySlashSeparator = \markup { \left-align \raise #-2 \combine \beam #4.0 #.2 #0.24 \raise #0.7 \beam #4.0 #.2 #0.24 } } system-separator-markup = \mySlashSeparator system-system-spacing = #'( (basic-distance . 12) (minimum-distance . 5) (padding . 0) (stretchability . 99) ) } \header { } \score { \new Voice { \repeat unfold 16 { c'''4 c' c' c' | c'4 c' c' c' | c4 c' c' c' | \break } } } maybe you also want to shift the sparator horizontally: simply use \hspace #2 above or look for a more elaborated way in the German LilyPond forum: http://www.lilypondforum.de/index.php?topic=750.0 as Phil mentioned there seems to be no collision avoidance. Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: mac lion
Hi Fabio, Works perfect for me regardless of Lilypond-version up to 2.17.1 Best regards, Kai ... von unterwegs gesendet! Am 07.09.2012 um 12:55 schrieb fabio gabbianelli fabiogabbiane...@hotmail.it: anyone knows if lilypond 2.16 or 2.17 works with osx 10.7? it could work through jEdit ? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: german note spelling
Dear community, I would like to know the note-spelling of the dutch note-name beses in german lilypond syntax. Frescobaldi translates it to bes but this causes an error message. In german this note is called doppel b but this causes (no wonder) an error message too. I think it could be heses. Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Music view sometimes doesn't open
Hi, Unfortunately my skills are not enough to install Frescobaldi on a Mac but I observed exactly the same behavior using Lilypond via jEdit. IMHO this points towards some cause within the software that Frescobaldi AND JEdit are dependent on. Though I don't have any idea which one. I thought this might help to narrow down the cause for the described behavior. Best regards, Kai ... von unterwegs gesendet! Am 20.08.2012 um 06:12 schrieb James Harkins jamshar...@gmail.com: First off, I've switched from Emacs LilyPond-mode to Frescobaldi 2. Amazing, incredible work! SO much easier to write. (And I love the ease of updating via git.) But... I'm not sure if this is the right place to report a small confusing behavior in Frescobaldi 2. Sometimes, when opening a ly file, the corresponding PDF (which does exist on disk) is not simultaneously opened in the Music View. But, sometimes it does open. I haven't been able to figure out any consistent criterion that would cause one behavior or the other. My best guess is that the source file might have a later modified timestamp than the PDF, but I don't have solid proof of that. I guess the ideal behavior I'd like to see is to open the PDF every time. If the source file was modified later, an overlay could appear in the music view saying that the music view might be out of date and the user should re-render (ctrl-m). It might also make sense to disable clicking on the notes in that case, since there is no guarantee that the PDF links will point to the right place in the source file anymore. If that isn't feasible, then it would be better to clear the music view and show some text to explain why the view is empty. Here's an example of where the current behavior gets really confusing: 1. Open one ly file. The music view shows the PDF corresponding to that file. 2. Open another ly file, but for some reason, the music view doesn't update. Now you're looking at the source code for one file on the left and the rendered result for a different file on the right, with no warning in the interface that there is any discrepancy. ! This is picking a nit, I admit, and it's easily worked around by re-rendering. But it's not ideal behavior, and if it's a very big project that takes several minutes to render, the annoyance factor would increase. This doesn't change my opinion of Frescobaldi as an [expletive deleted] brilliant editor! Seriously, a real joy to use. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Music view sometimes doesn't open
Am 20.08.2012 um 16:34 schrieb Gerard McConnell gerine...@gmail.com: On Mon, Aug 20, 2012 at 11:02 AM, Kai Lautenschläger kai.lautenschlae...@me.com wrote: Hi, Unfortunately my skills are not enough to install Frescobaldi on a Mac but I observed exactly the same behavior using Lilypond via jEdit. IMHO this points towards some cause within the software that Frescobaldi AND JEdit are dependent on. Though I don't have any idea which one. I thought this might help to narrow down the cause for the described behavior. Best regards, Kai I recall having this problem when using jEdit; I think it occurs if the .pdf has been moved from its original folder, or is in a different folder to the .ly file? Gerard In my case I never touched the PDF files and they are saved to the same directory as the .ly file. Above that, the strange thing is, that it does not always fail to show the PDF. But the bug (if it os one) only appears when opening a file. Best regards, Kai___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
vertical spacing of text-paragraphs
Dear List, When I write text with several paragraphs, I noticed a different vertical spacing after the paragraphs, when they include semicolon (;) or \ (quotation marks). This does not change when I try to control the spacing with \vspace. Am I missing something or is this expected behavior? Any suggestions how I can have equal vertical spacing between paragraphs. See the code below: \version 2.15.41 \markup { \column { \bold { Titel } \justify { Text with ; called semicolon } \vspace #0.1 \justify { Text with no semicolon } \vspace #0.1 \justify { Another text with ; semicolon } \vspace #0.1 \justify { And again one without. } \vspace #0.1 \justify { And \just for presentation's sake\ a text with quotation marks. } \vspace #0.1 \justify { Plain text again. } \vspace #0.1 \justify { Plain rext \vspace #1 } } Thanks a lot Best regards Kai --- kai.lautenschlae...@me.com Liebe Grüße Dein Kai --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vertical spacing of text-paragraphs
no, indeed, the output seems o.k. to me, too. in the original, that I was working on, the paragraphs included longer texts, maybe there is some other reason. I attach the original code (sorry, it's a little longer) \version 2.15.41 \markup { \column { \bold { Übersetzung } \justify { In der Bedrängnis rie ich zu Gott; Gott hat mich erhört und mich frei gemacht. Gott ist bei mir, ich fürchte mich nicht. Was können Menschen mir antun? Gott ist bei mir, Gott ist meine Hilfe; deshalb kann ich meinen Feinden ins Gesicht sehen. } \vspace #0.1 \justify { Es ist besser, sich bei Got zu bergen, als auf Menschen zu bauen. Es ist besser, sich bei Gott zu vergen, als auf Fürsten zu bauen. } \vspace #0.1 \justify { Alle Völker umringen mich; ich wehre sie ab im Namen des Ewigen. Sie umringen, ja, sie umringen mich; ich wehre sie ab im Namen des Ewigen. Sie umschwärmen mich wie Bienen, wie ein Strohfeuer verlöschen sie; ich wehre sie ab im Namen des Ewigen. } \vspace #0.1 \justify { Sie stießen mich hart, sie wollten mich stprzen; Gott aber hat mir geholfen. Meine Störke und mein Lied ist Gott; Gott wurde meine Hilfe. } \vspace #0.1 \justify { Frohlocken und Jubel erschallt in den Zelten der Gerechten: \Die Rechte Gottes wirkt mit Macht! Die Rechte Gottes ist erhoben, die Rechte des Ewigen wirkt mit Macht!\ } \vspace #0.1 \justify { Ich werde nicht sterben, sondern leben und die Taten Gottes verkünden. } \vspace #0.1 \justify { Gott hat mich hart gezüchtigt, aber hat mich dem Tod nicht übergeben. Öffnet mir die Tore zur Gerechtigkeit, damit ich eintrete, um Gott zu danken. Das ist das Tor Gottes, durch das die Gerechten eintreten. } \vspace #1 \bold { Bedeutung } \justify { Der Text min hamezar ist dem 118. Psalm entnommen, der den letzten Teil des Hallel - des Lobgebets darstellt. Dieses umfaßt die Psalmen 113-118 und wird an Feiertagen und anderen fröhlichen Ereignissen im Rahmen des Gottesdienstes rezitiert. Meist folgt es im Morgengottesdienst dem schmone essre - dem Achtzehngebet, das das Hauptgebet darstellt. } } } Am 26.07.2012 um 20:40 schrieb Martin Guy: On 26 July 2012 19:47, Dr. med. Kai Lautenschläger kai.lautenschlae...@me.com wrote: When I write text with several paragraphs, I noticed a different vertical spacing after the paragraphs, when they include semicolon (;) or \ (quotation marks). This does not change when I try to control the spacing with \vspace. Am I missing something or is this expected behavior? Any suggestions how I can have equal vertical spacing between paragraphs. See the code below: \version 2.15.41 \markup { \column { \bold { Titel } \justify { Text with ; called semicolon } \vspace #0.1 \justify { Text with no semicolon } \vspace #0.1 \justify { Another text with ; semicolon } \vspace #0.1 \justify { And again one without. } \vspace #0.1 \justify { And \just for presentation's sake\ a text with quotation marks. } \vspace #0.1 \justify { Plain text again. } \vspace #0.1 \justify { Plain rext \vspace #1 } } } Just tried this with 2.14.2 on Ubuntu Linux 12.04 after, having changed the required version number, the output looks OK to me, so it may be a regression. Or is it a fine difference that I'm missing? M test.lytest.pdf Liebe Grüße Dein Kai --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
position of markup and eps
Hi List, I want to add some information on the composer under the score. it should have picture (xxx.eps) at the left and a justified text on the right with a small white space between. Picture and text should be aligned at the top and the the text should run along the picture. The following unwanted results I had already: * Picture overlaid text, both aligned at the left border of page * Picture and first line of text at the wanted places, but the second line of the text _under_ the picture with a lot of white space below the first line. * Picture at the right place and text justified but pushed to about the middle of the page and consequently going over the edge of the page. my last try looked like this. \version 2.15.41 \markup { \vspace #10 \fill-line { \column { \general-align #Y #UP { \epsfile #X #20 #Louis_Lewandowski.eps } } \hspace #1 \column { \wordwrap { \bold { Louis Lewandowski } (* 3. April 1821 in Wreschen, Provinz Posen, Preußen, heute Września, Polen. † 4. Februar 1894 in Berlin) war ein deutsch-jüdischer Komponist, der vor allem durch die Neubelebung und Öffnung der jüdischen Liturgie bekannt wurde. \italic { (nach Wikipedia. Stand: 12.7.2012) } } } } } } what am I doing wrong? Is there a keyword, that I must search the manual with in order to find more info on this? I hope the code example is explanatory even without the actual eps-file. best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: position of markup and eps
Hi Thomas, thanks, that solves the first problem. Now I am left with a readable result but there is a lot of white space between the picture on the left and the text on the right (about 6cm of white). Is there a way, I can influence that? Like pulling the text closer to the picture? Also I noticed, that the upper edge of the picture is positioned slightly below the upper edge of the letters in the text's first line. Is there a tweak for that? best regards, Kai Am 14.07.2012 um 09:32 schrieb Thomas Morley: 2012/7/14 Dr. med. Kai Lautenschläger kai.lautenschlae...@me.com: Hi List, I want to add some information on the composer under the score. it should have picture (xxx.eps) at the left and a justified text on the right with a small white space between. Picture and text should be aligned at the top and the the text should run along the picture. The following unwanted results I had already: * Picture overlaid text, both aligned at the left border of page * Picture and first line of text at the wanted places, but the second line of the text _under_ the picture with a lot of white space below the first line. * Picture at the right place and text justified but pushed to about the middle of the page and consequently going over the edge of the page. my last try looked like this. \version 2.15.41 \markup { \vspace #10 \fill-line { \column { \general-align #Y #UP { \epsfile #X #20 #Louis_Lewandowski.eps } } \hspace #1 \column { \wordwrap { \bold { Louis Lewandowski } (* 3. April 1821 in Wreschen, Provinz Posen, Preußen, heute Września, Polen. † 4. Februar 1894 in Berlin) war ein deutsch-jüdischer Komponist, der vor allem durch die Neubelebung und Öffnung der jüdischen Liturgie bekannt wurde. \italic { (nach Wikipedia. Stand: 12.7.2012) } } } } } } what am I doing wrong? Is there a keyword, that I must search the manual with in order to find more info on this? I hope the code example is explanatory even without the actual eps-file. best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Hi, you should set the line-width! \markup { \column { \vspace #10 \fill-line { \column { \general-align #Y #UP { \epsfile #X #20 #Louis_Lewandowski.eps } } \column { \override #'(line-width . 60) %=== \wordwrap { \bold Louis Lewandowski (* 3. April 1821 in Wreschen, Provinz Posen, Preußen, heute Września, Polen. † 4. Februar 1894 in Berlin) war ein deutsch-jüdischer Komponist, der vor allem durch die Neubelebung und Öffnung der jüdischen Liturgie bekannt wurde. \italic { (nach Wikipedia. Stand: 12.7.2012) } } } } } } Note the additional \column at the beginning. Otherwise the image is moved a little to the left. HTH, Harm Liebe Grüße Dein Kai --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: position of markup and eps
\line did it. once again I ask myself, why I didn't think of that myself. Thanks a lot for pointing me there. best regards, Kai Am 14.07.2012 um 11:39 schrieb Thomas Morley: 2012/7/14 Dr. med. Kai Lautenschläger kai.lautenschlae...@me.com: Hi Thomas, thanks, that solves the first problem. Now I am left with a readable result but there is a lot of white space between the picture on the left and the text on the right (about 6cm of white). Is there a way, I can influence that? Like pulling the text closer to the picture? That's the way \fill-line works. You could try sth like \fill-line { \null arg1 \null arg2 \null }, but my own tries with that approach weren't sufficient, even if I replace \null with \hspace #x. Instead I'd suggest to use \line and \hspace #x to place the args manually. -code below Also I noticed, that the upper edge of the picture is positioned slightly below the upper edge of the letters in the text's first line. Is there a tweak for that? It will work, if you add \general-align #Y #UP before the second argument of the markup. best regards, Kai Here's the code, including some other minor changes in order to simplify it. \version 2.15.39 \markup { \column { \vspace #10 \line { \hspace #5 \general-align #Y #UP { \epsfile #X #20 #Louis_Lewandowski.eps } \hspace #8 \general-align #Y #UP { \override #'(line-width . 60) \wordwrap { \bold Louis Lewandowski (* 3. April 1821 in Wreschen, Provinz Posen, Preußen, heute Września, Polen. † 4. Februar 1894 in Berlin) war ein deutsch-jüdischer Komponist, der vor allem durch die Neubelebung und Öffnung der jüdischen Liturgie bekannt wurde. \italic { (nach Wikipedia. Stand: 12.7.2012) } } } \hspace #2 } } } Regards, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
error with lilypond-book
Hi all, I am trying to get my way into lilypond-book. After reading the manual, I started and got the following error (using \version 2.15.40 with jEdit5.0pre1 on a Mac with OS 10.7.4) when I invoke lilypond-book: (command: lilypond-book.py --format=latex %buffer) Error running external command. See the activity log about the problem. Cannot run program /Applications/Lilypond.app/Contents/Resources/bin/python (in directory Users/[…]/Documents/02_Musik): error=2, No such file ore directory Even when I move python in the wanted directory or change the directory in the jEdit Plugin Options ore change the command for invoking lilypond-book the error message will stay the same. Can anyone give me a clue, where to start with solving? I'd be grateful!!! Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
horizontal shift
Hi List, is there any way to make lilypond shift the visible contents on a page to the _outer_ edge? It would be something like horizontal-shift, while that command within the \paper-block seems to shift the content to the right on _all_ pages (meaning even and odd ones). Did I miss something? otherwise, this feature would be a wish of mine for future development. best regards, Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: horizontal shift
That's it. I definately have to work on my skills to search the manual. I usually use the search mask, that comes integrated in Lilypondtools for jEdit. Maybe I'll just switch to Google... Thanks, Eluze Kai ... von unterwegs gesendet! Am 07.07.2012 um 17:48 schrieb -Eluze elu...@gmail.com: [...] do you mean http://lilypond.org/doc/v2.15/Documentation/notation/horizontal-spacing-_005cpaper-variables#_005cpaper-variables-for-two_002dsided-mode ? hth Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: combining pieces in one book
Am 23.06.2012 um 22:23 schrieb David Kastrup d...@gnu.org: Dr. med. Kai Lautenschläger kai.lautenschlae...@me.com writes: and got the following errors (this is just the first few of many many errors: ---8---SNIP--- »/Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/BuchTest.ly« wird verarbeitet Analysieren... /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:54:0: Fehler: syntax error, unexpected STRING global = { /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:67:0: Fehler: syntax error, unexpected STRING A \book can't contain assignments. Hi David, what do you mean by assignments? I'm not a native speaker and not familiar with programming. Is assignments a fix set of command? Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: combining pieces in one book
Hi Jan-Peter, thanks for the explanation. Right now I am fiddling around with Christophers idea of splitting up the files in content-files and layout-files. I had this before and just changed… Oh, well. It sounds logical to me though. and working with functions is just copy and paste for me, because I don't now the code and couldn't find an error nor tweak the options. Thanks also to the others, that gave their comments. Now I have to ponder the answers. I fear though, I will be back again with more questions… ;-) best regards, Kai Am 25.6.2012 um 11:40 schrieb Jan-Peter Voigt: Hi David, what do you mean by assignments? I'm not a native speaker and not familiar with programming. Is assignments a fix set of command? Kai Hello Kai, it's the assignment of a variable in lily-syntax: --snip-- % allowed musik = \relative c'' { bes a c b } % not allowed \score { musik = \relative c'' { bes a c b } } --snip-- that means, that a construct [var = value] (without []) may never be inside { ... } or ... You might trick that: --snip-- parserDefine = #(define-music-function (parser location name mus)(symbol? not-null?) (ly:parser-define! parser name mus) (make-music 'SequentialMusic 'void #t)) --snip-- and then use \parserDefine #'musik \relative c'' { c e d b } parserDefine now is a music-function and can be used anywhere. This way the variable musik can be assigned and afterwords called via \musik ... but I woudn't recommend it! This might have *side-effects* and can lead to badly organized code! HTH Cheers, Jan-Peter ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Mit freundlichen Grüßen K. Lautenschläger --- la...@gmx.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
combining pieces in one book
Hi to all, If this has been answered before, please point me there. I searched the manual several times, but couldn't find an answer, that helped me. I have many pieces for male choir, that are stored as .ly-files in a directory with a subdirectory for every piece. All of them use some files via \include command. Those files are situated in the parent directory. Now I would like to make a book (one PDF with TOC and numbered pages) from several of these pieces. And - to make it more complicated - this book changes in content (the .ly-files are the repertoire, book will be the selection for any given concert. I am searching for a solution to _easily_ make those books without working on the pieces-files. Using \bookpart gave a great number of errors and didn't compile. Can anyone give me a starter, how to go about this? Thanks Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: combining pieces in one book
Am 23.06.2012 um 16:37 schrieb Phil Holmes: - Original Message - From: Dr. med. Kai Lautenschläger kai.lautenschlae...@me.com To: lilypond-user User lilypond-user@gnu.org Sent: Saturday, June 23, 2012 2:53 PM Subject: combining pieces in one book I have many pieces for male choir, that are stored as .ly-files in a directory with a subdirectory for every piece. All of them use some files via \include command. Those files are situated in the parent directory. Now I would like to make a book (one PDF with TOC and numbered pages) from several of these pieces. And - to make it more complicated - this book changes in content (the .ly-files are the repertoire, book will be the selection for any given concert. I am searching for a solution to _easily_ make those books without working on the pieces-files. Using \bookpart gave a great number of errors and didn't compile. Can anyone give me a starter, how to go about this? 2 obvious options come to mind: lilypond-book, which is documented in the Usage manual http://lilypond.org/doc/v2.14/Documentation/usage/lilypond_002dbook. I am using a Mac and am not experienced enough to understand the manual and requirements mentioned there. All the extern programs won't work, telling my, there is no python to be found. It's there, though - but this should be a new topic here. Only: lilypond-book has not been a solution so far. Alternatively, you can simply use \book in the following way: \book { \markup { Some text } \include AFile.ly } Sounds good. I did this: ---8---SNIP--- \version 2.15.40 \book { \markup { 001Test } \include ../001Test/001Test.ly } ---8---SNIP--- and got the following errors (this is just the first few of many many errors: ---8---SNIP--- »/Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/BuchTest.ly« wird verarbeitet Analysieren... /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:54:0: Fehler: syntax error, unexpected STRING global = { /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:67:0: Fehler: syntax error, unexpected STRING mid = { /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:74:0: Fehler: syntax error, unexpected STRING StimmeEins = \relative c' { /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:83:0: Fehler: syntax error, unexpected STRING StimmeZwei = \relative c' { /Users/kailautenschlager/Documents/02_Musik (SugarSync)/LP/BuchTest/../001Test/001Test.ly:92:0: Fehler: syntax error, unexpected STRING StimmeDrei = \relative c { /Users/kailautenschlager/Documents/02_Musik ---8---SNIP--- What am I missing? Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: position of footer
Am 31.5.2012 um 17:26 schrieb -Eluze: I think you are filling the columns with empty lines - better (and easier) would be to define a markup item for each case you have (middle pages and last page): oddFooterMarkup = \markup \fill-line { %% Fuß alle Seiten außer erste und letzte \on-the-fly #not-last-page \on-the-fly #not-first-page \center-column { \line { \vspace #2 \override #'(span-factor . 2/3) \draw-hline } \line { \fromproperty #'header:hinweis } \line { \fromproperty #'page:page-number-string } } %% Fuß letzte Seite \on-the-fly #last-page \center-column { \line { \vspace #2 \override #'(span-factor . 2/3) \draw-hline } \line { \fromproperty #'header:hinweis } \line { \fromproperty #'header:tagline } \line { \fromproperty #'page:page-number-string } } } that works for the problem described. Perfect! and logical, too! I always think: yes, why didn't I think of that myself?. But now the middle page footers are not centered even though they are in a \fill-line and \center-column environment. To show, what I mean, I attached the PDF. Since I did nothing but rearrange the code in the manner you suggested, this surprises me and I don't know, what is causing the behavior. Any ideas? best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
position of footer
Dear list, being on the list for only a few days has given me so many new ideas and input for improving my scores, that I like to send out my thanks for that first!!! Now to my latest question: I tweaked the footers in my files with: %% Einführung der Variable not-last-page #(define (not-last-page layout props arg) (if (and (chain-assoc-get 'page:is-bookpart-last-page props #f) (chain-assoc-get 'page:is-last-bookpart props #f)) empty-stencil (interpret-markup layout props arg))) %% Einführung der Variable first-page #(define (first-page layout props arg) (if (= (chain-assoc-get 'page:page-number props 0) 1) (interpret-markup layout props arg) empty-stencil)) in the \paper block and oddHeaderMarkup = \markup \fill-line { \center-column { \on-the-fly #first-page \rounded-box \on-the-fly #first-page \pad-markup #0.3 \on-the-fly #first-page \fromproperty #'header:tonart } } evenHeaderMarkup = \markup \fill-line { } oddFooterMarkup = \markup \fill-line { \center-column { %% Fuß alle Seiten außer erste und letzte \line { \on-the-fly #not-last-page \on-the-fly #not-first-page \vspace #2 \on-the-fly #not-last-page \on-the-fly #not-first-page \override #'(span-factor . 2/3) \draw-hline } \line { \on-the-fly #not-last-page \on-the-fly #not-first-page \fromproperty #'header:hinweis } \line { \on-the-fly #not-last-page \on-the-fly #not-first-page \fromproperty #'page:page-number-string } %% Fuß letzte Seite \line { \on-the-fly #last-page \vspace #2 \on-the-fly #last-page \override #'(span-factor . 2/3) \draw-hline } \line { \on-the-fly #last-page \fromproperty #'header:hinweis } \line { \on-the-fly #last-page \fromproperty #'header:tagline } \line { \on-the-fly #last-page \fromproperty #'page:page-number-string } } } in the \header with header:tonart and header:hinweis being defined variables elsewhere in the header-block In the PDF the footer on the last page is positioned - as I know it - close to the bottom of the paper. But the footers on the other pages ist positioned relative to the lowest system on that page. That usually makes it appear higher on the page, than on last pages. Does anyone have an idea, why that is this way and - even better - how I can fix it. Fixing means making the footer relative to the bottom of the paper on all pages. \version 2.15.39 Thanks so much. best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: add not-last-page in titling-init.ly
... von unterwegs gesendet! Am 30.05.2012 um 15:11 schrieb -Eluze elu...@gmail.com: is it feasible to add not-last-page in titling-init.ly [...] this gives more flexibility in defining header-/ yes! I would appriciate that very much. Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Appreciation / Financial support
Hi, \mark \markup { \musicglyph #scripts.segno } is just printing a nice graphic. and imho it does that better than any other program I used. best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
cantor and choir
Hi Everyone, typesetting liturgical music I need a solution for the following problem: I have a solo system in change with a choir staff. solo staff should go on in highest choirstaff system (first tenor) when solo changes to choir. choirstaff (complete) should vanish completely, when choir changes to solo. I could find a solution in the lilypond help. Can anyone suggest an idea? Thanks in advance! Best regards Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
changing lyric font
Hi Everybody, is there a possibility to change the lyric font? I would like to add lyrics in hebrew and found out, how to include utf-8 in the lyrics. For better readability I need a hebrew font other then the standard. For \markup texts that works just fine. But in the \lyricmode it doesn't. Can anyone help me on that? Using Version 2.15.38 with no problems so far. thanks in advance! Kai ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user