can I force the KeySignature to display when a new clef requires it?

2015-05-05 Thread Kieren MacMillan
Hi all, Yet another situation (see thread http://lists.gnu.org/archive/html/lilypond-user/2015-04/msg00274.html) where I want to force a grob to appear, but can’t seem to find a way to do it… I have a percussion staff containing music for a single player who switches between pitched and

Re: Thumb in fret-diagram

2015-05-05 Thread Stephen MacNeil
Hi patrick, This is the workaround I used to create fret-diagrams with a thumb. http://mglessons.com/lilypond/fret-diagram.ly http://mglessons.com/lilypond/fret-diagram.pdf HTH Stephen %% cut #(define-public (stack-stencil-overlay stencils) Recursive function to add stencils together

Re: Color tweaks (edition engraver)

2015-05-05 Thread David Nalesnik
On Mon, May 4, 2015 at 10:04 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Kieren, On Sat, May 2, 2015 at 6:29 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, Out of curiosity, do you get results with color-tweaks2.ly (attached somewhere above)? Same

Re: Thumb in fret-diagram

2015-05-05 Thread pls
Thanks! On 05.05.2015, at 14:21, Stephen MacNeil classicalja...@gmail.com wrote: Hi patrick, This is the workaround I used to create fret-diagrams with a thumb. http://mglessons.com/lilypond/fret-diagram.ly http://mglessons.com/lilypond/fret-diagram.pdf HTH Stephen %% cut

Re: Moving Copyright Notice

2015-05-05 Thread Paul Morris
Hi Michael, On May 5, 2015, at 6:48 AM, Michael Gerdau m...@qata.de wrote: in the context of this thread I have a possibly stupid question: From reading the documentation under http://lilypond.org/doc/v2.18/Documentation/notation/custom-titles-headers-and-footers I thought the proper

Re: Thumb in fret-diagram

2015-05-05 Thread Stephen MacNeil
No problem, hope it does what you need. Stephen On Tue, May 5, 2015 at 9:13 AM, pls p.l.schm...@gmx.de wrote: Thanks! On 05.05.2015, at 14:21, Stephen MacNeil classicalja...@gmail.com wrote: Hi patrick, This is the workaround I used to create fret-diagrams with a thumb.

Re: Lyric tie inside word?

2015-05-05 Thread Tobias Braun
Whoa! This works and the output is nice-looking, but what the ***? That's a ton of code you hacked together there! Shouldn't such a solution go into LilyPond itself in some way? (Maybe with a proper API where you can specify start and end characters inside the word, similar to \( and \).) Am

Re: Centering a rest in a bar

2015-05-05 Thread Andrew Bernard
Well, having just posted this I find the technique described on the lilypond blog. But I am unable to download the code from the attached email link from 2013. Can anybody help? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Problem with repeats: stray bar line

2015-05-05 Thread Simon Albrecht
I correct myself: http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats.html#normal-repeats, at ‘Known issues and warnings’ has a remark about \unfoldRepeats (necessary for MIDI output) giving wrong results if measurePosition is set in an \alternative. This is probably the reason

Re: Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
Btw: I'm of course getting the bar check warnings described under Known issues and warnings if I put \unfoldRepeats in my MIDI context. Not very nice at all, especially for such a relatively simple piece of music ... Am 06.05.2015 um 01:02 schrieb Simon Albrecht simon.albre...@mail.de:

Centering a rest in a bar

2015-05-05 Thread Andrew Bernard
Greetings All, Is there a way to centre a rest in a bar - an ordinary rest, not a multi measure rest? The following vastly oversimplified snippet shows rests sitting at the left, as indeed they should, entirely correct. But my composer wants them in the middle. How does one achieve this,

Re: Lyric tie inside word?

2015-05-05 Thread Thomas Morley
2015-05-06 1:02 GMT+02:00 Tobias Braun lists.tob...@braun-abstatt.de: Never mind. It's working now, thanks a lot! Good night, Tobias Am 06.05.2015 um 00:51 schrieb Simon Albrecht simon.albre...@mail.de: So sorry. I should’ve tested the code before posting… You need to use \line { }

Repeat bar lines inside \markup block?

2015-05-05 Thread Tobias Braun
Hi, Is there a way to print nice repeat bar lines in a \markup block used for verses of a song printed below the main score, instead of having to resort to |: or /:? I tried pasting the respective unicode signs and they display fine in my text editor, but unfortunately, LilyPond turns them

Re: Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
Ok, but the fix tells me to alter a global browser setting, which I may not want to after all. It says this is required To get automatic language selection. What I really want, however, is manual language selection. Isn't that what the language links at the bottom are for? Instead, I am getting

RE: Problem with repeats: stray bar line

2015-05-05 Thread Mark Stephen Mrotek
Tobias: My understanding, which is certainly limited, is that Lilypond reads the first alternate ending and sees only three beats and assumes that the second alternate starts (read not played) with the fourth beat. Again a case when a human performer is smarter than a computer! So we have to tell

Re: Lyric tie inside word?

2015-05-05 Thread Tobias Braun
How would I put that character _below_ a word (as opposed to in-between two words)? Am 06.05.2015 um 01:16 schrieb Kieren MacMillan kieren_macmil...@sympatico.ca: Hi all, Can’t you just use ‿ ?? I’ve used it in the past, and it’s worked wonderfully for me. Hope this helps, Kieren.

Re: Repeat bar lines inside \markup block?

2015-05-05 Thread Thomas Morley
2015-05-06 1:24 GMT+02:00 Tobias Braun lists.tob...@braun-abstatt.de: Hi, Is there a way to print nice repeat bar lines in a \markup block used for verses of a song printed below the main score, instead of having to resort to |: or /:? I tried pasting the respective unicode signs and they

Re: Lyric tie inside word?

2015-05-05 Thread Tobias Braun
Never mind. It's working now, thanks a lot! Good night, Tobias Am 06.05.2015 um 00:51 schrieb Simon Albrecht simon.albre...@mail.de: So sorry. I should’ve tested the code before posting… You need to use \line { } instead of a simple string in . See attachment. Am 06.05.2015 um 00:41

Re: Lyric tie inside word?

2015-05-05 Thread Kieren MacMillan
Hi all, Can’t you just use ‿ ?? I’ve used it in the past, and it’s worked wonderfully for me. Hope this helps, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info

Re: Centering a rest in a bar

2015-05-05 Thread David Nalesnik
Hi Andrew, On Tue, May 5, 2015 at 8:36 PM, Andrew Bernard andrew.bern...@gmail.com wrote: Well, having just posted this I find the technique described on the lilypond blog. But I am unable to download the code from the attached email link from 2013. Can anybody help? This came up recently.

Re: Can't compile after upgrade to 2.19.19

2015-05-05 Thread Keith OHara
Stan Mulder st45882wz at earthlink.net writes: convert-ly will change something like gsharp to g-sharp, but it won't change gsharp4 to g-sharp4. Anything with a number after it doesn't convert properly. So I've had to do all those manually (or with search and replace). Oops. The rule in

Re: Problem with repeats: stray bar line

2015-05-05 Thread Simon Albrecht
Indeed. I’ll make a bug report. Yours, Simon Am 06.05.2015 um 00:55 schrieb Tobias Braun: http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats.html Search for Timing.measureLength there. Am 06.05.2015 um 00:52 schrieb Simon Albrecht simon.albre...@mail.de: Am 06.05.2015 um

Re: Lyric tie inside word?

2015-05-05 Thread Simon Albrecht
Nice one again, Harm! :-) I love how every ‘normal’ person would come up with some twenty lines of ‘ordinary’ code, whereas you deliver hundreds of lines of code with a fancy solution… Kudos! And, finally, (!) good night :-) Am 06.05.2015 um 01:08 schrieb Thomas Morley: How about: \version

Re: Cross-Staff Kneed Beams; Nested Voices

2015-05-05 Thread Sam Bivens
Hi Simon, Carl, and Stephen, Thanks for all of the helpful remarks. I've been consulting the manual for weeks now on various issues, but apparently I kept looking right past the most important bit: In all but the simplest works it is advisable to create explicit |Voice| contexts... Alas, I had

Re: Lyric tie inside word?

2015-05-05 Thread Thomas Morley
2015-05-06 1:19 GMT+02:00 Tobias Braun lists.tob...@braun-abstatt.de: Whoa! This works and the output is nice-looking, but what the ***? That's a ton of code you hacked together there! Shouldn't such a solution go into LilyPond itself in some way? (Maybe with a proper API where you can

Re: Lyric tie inside word?

2015-05-05 Thread Kieren MacMillan
Hi Tobias, How would I put that character _below_ a word (as opposed to in-between two words)? Maybe like: \version 2.19.17 \markup \combine test \translate #'(0.85 . -0.5) ‿ Hope this helps! Kieren. Kieren MacMillan, composer ‣ website:

Re: Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats.html Search for Timing.measureLength there. Am 06.05.2015 um 00:52 schrieb Simon Albrecht simon.albre...@mail.de: Am 06.05.2015 um 00:46 schrieb Tobias Braun: So modifying measureLength, as suggested by the documentation,

Re: Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
I tried both variants. Either of them seem to produce the bar check warnings. Am 06.05.2015 um 01:09 schrieb Simon Albrecht simon.albre...@mail.de: I correct myself: http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats.html#normal-repeats, at ‘Known issues and warnings’ has a

Re: vertical alignment

2015-05-05 Thread Phil Holmes
It's because you/he has put the lower note in the upper voice, so LilyPond shifts it to show this. Firstly, though, you can simplify it immensely by getting rid of most of the { } So: try this: { c2. c4~ c1 bes1 a1 } \\ {g2. aes4~ aes1 ges1 des1 } -- Phil Holmes - Original

Re: vertical alignment

2015-05-05 Thread pls
Hi Ole, in measure 3 your friend swapped voices. It should read {bes1} \\ { ges1} instead of {ges1} \\ { bes1} . hth patrick On 05.05.2015, at 17:08, Ole Schmidt oleschm...@gmx.net wrote: Hi, A friend showed me his first leadsheed to proofread and we both stumbled over the strange

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-05-05 Thread Shane Brandes
That is indeed a clever way of manipulating the absolute mode good for some things, but not terribly handy once you get into active keyboard music as you would end up thinking like a drifting organ tuner. Shane On Mon, May 4, 2015 at 10:57 PM, Keith OHara k-ohara5...@oco.net wrote: Federico

vertical alignment

2015-05-05 Thread Ole Schmidt
Hi, A friend showed me his first leadsheed to proofread and we both stumbled over the strange alignment in bar three of the attached file. Is this a bug or a feature? thanks for help ole code%%% \version 2.18.2 \new Staff \relative c'' { \key des\major\time

Re: Color tweaks (edition engraver)

2015-05-05 Thread Kieren MacMillan
Hi David, And it works with that editionEngraver example. It definitely works with a minimal EE example… Nice work! However, I added it to my current (definitely non-minimal!) score, and it fails with: In procedure ly:music-property in expression (ly:music-property (ly:event-property

Re: Color tweaks (edition engraver)

2015-05-05 Thread David Nalesnik
Hi Kieren, On Tue, May 5, 2015 at 8:57 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, And it works with that editionEngraver example. It definitely works with a minimal EE example… Nice work! However, I added it to my current (definitely non-minimal!) score, and it

Re: Problem with repeats: stray bar line

2015-05-05 Thread Simon Albrecht
And, an obvious point: If you modify measureLength, you’d have to modify it again after the second alternative, else all following music (if there were any) would go on with 3/4 time (without a printed change of TimeSignature!). Am 05.05.2015 um 23:56 schrieb Tobias Braun: Yes, it does,

Re: Lyric tie inside word?

2015-05-05 Thread Tobias Braun
I got it to work in \lyricmode now, but it still won't work in the \markup section. If I do it like you say below, I just get the code printed in the lyrics. If I end the string before \override and start a new one after köñiglichen, it works, but then I get line breaks around königlichen.

Re: Lyric tie inside word?

2015-05-05 Thread Simon Albrecht
So sorry. I should’ve tested the code before posting… You need to use \line { } instead of a simple string in . See attachment. Am 06.05.2015 um 00:41 schrieb Tobias Braun: I got it to work in \lyricmode now, but it still won't work in the \markup section. If I do it like you say below, I

Re: Problem with repeats: stray bar line

2015-05-05 Thread Simon Albrecht
Am 06.05.2015 um 00:46 schrieb Tobias Braun: So modifying measureLength, as suggested by the documentation, isn't a good idea after all? Shouldn't the documentation be updated accordingly then? In which place? Please give a link. ~ Simon ___

Re: Lyric tie inside word?

2015-05-05 Thread Simon Albrecht
Just include everything except \markup instead of the word: \markup { \fill-line { \hspace #0.1 \column { \vspace #0.5 \line { \bold 2. \column { Er ging aus der Kammer sein, / dem \override #'(word-space . 0) \tied-lyric #kö~niglichen Saal so rein, /

Re: Problem with repeats: stray bar line

2015-05-05 Thread Simon Albrecht
Well, in Lilypond we always try to represent the musical content appropriately, and contrary to what Steven suggested, the measure length doesn’t change here, only the second alternative ‘misses out one beat’ or starts at another measure position. So setting measurePosition is the way to go

Re: Accessing context properties (e.g. the current key) from a music function?

2015-05-05 Thread Leah Velleman
The problem arises because \applyContext is evaluated later than \transpose. When music functions do their work, contexts have not been created yet, The output shows that the original binding of k is in effect when \transpose is called. Aha! Thank you — that makes sense.

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-05-05 Thread Steve Lacy
+1 to Keith's idea. In fact, I remember first learning about \relative and being *amazed* that it didn't work as described. I'm mostly transcribing/re-engraving for solo violin, and most pieces stay within a small 2-octave range. The \relative c'''{ ...} syntax was exactly what I wanted. Steve

Re: trill spanner

2015-05-05 Thread Pierre Perol-Schneider
Or a more elegant one: \version 2.18.2 \relative { c' -\tweak style #'trill \startTextSpan d e f \stopTextSpan } Cheers, Pierre 2015-05-05 8:52 GMT+02:00 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com: Hi Craig, Try: \version 2.18.2 \relative { c' -\tweak

Re: spanned text like Retenu...

2015-05-05 Thread Venus' Wink
Thanks of Mr. Perol-Schneider, I've found the way to make it bold style: { \override TextSpanner.bound-details.left.text = \markup{\bold Retenu} \startTextSpan ... \stopTextSpan } but not yet - how to cancel italic style, - how to expand it to bar. Thanks Venus' Wink -Original

Re: trill spanner

2015-05-05 Thread Pierre Perol-Schneider
Hi Craig, Try: \version 2.18.2 \relative { c' -\tweak bound-details.left.text \markup\null \startTrillSpan d e f \stopTrillSpan } Cheers, Pierre 2015-05-05 7:19 GMT+02:00 Craig Dabelstein craig.dabelst...@gmail.com: Dear Lilyponders, Could anyone tell me how to produce a trill

Re: spanned text like Retenu...

2015-05-05 Thread Pierre Perol-Schneider
Hi Venus' Wink, Try : \version 2.18.2 \relative { \once \override TextSpanner.bound-details.left.text = \markup \bold Retenu \once \override TextSpanner.to-barline = ##t c'4 %% optional: %-\tweak bound-details.left.text \markup\normal-text\bold Retenu %-\tweak to-barline

Re: trill spanner

2015-05-05 Thread Davide Liessi
Dear Pierre, Il 05/05/15 09.01, Pierre Perol-Schneider ha scritto: Or a more elegant one: \version 2.18.2 \relative { c' -\tweak style #'trill \startTextSpan d e f \stopTextSpan } this might be more elegant than your first solution (matter of taste), but I would consider it

Re: spanned text like Retenu...

2015-05-05 Thread Pierre Perol-Schneider
Oops, wrong copy/paste, so here again: \version 2.18.2 \relative { \once \override TextSpanner.bound-details.left.text = \markup\normal-text\bold Retenu \once \override TextSpanner.to-barline = ##t c'4 %% optional: %-\tweak bound-details.left.text \markup\normal-text\bold

Re: my favorite bug :-)

2015-05-05 Thread ArnoldTheresius
Carl Sorensen-3 wrote On 5/4/15 1:35 AM, ArnoldTheresius lt; Arnold.Wendl@ gt; wrote: 2. the PS file, because it's used for another postprocessing: I generate a booklet layout PDF from it (this PDF uses the double sheet size, e.g. A3) How do you do this? This is something I'm very

Re: trill spanner

2015-05-05 Thread Craig Dabelstein
Thanks Pierre and Davide, That will work fine. Much appreciated. Craig On Tue, 5 May 2015 at 17:44 Davide Liessi davide.lie...@gmail.com wrote: Dear Pierre, Il 05/05/15 09.01, Pierre Perol-Schneider ha scritto: Or a more elegant one: \version 2.18.2 \relative { c'

Cross-Staff Kneed Beams; Nested Voices

2015-05-05 Thread Sam Bivens
Hi guys, Two questions that I just can't figure out for some reason: First, I can't manage to create kneed beams for the right hand cross-staff eighth notes in the below example. I've attempted to invoke \override Beam.auto-knee-gap, but to no avail (so it's not included here). Here's the code,

Re: Cross-Staff Kneed Beams; Nested Voices

2015-05-05 Thread Simon Albrecht
Hi Sam, welcome to the list! Some notes: – For future posts, it is useful if you include code examples as an attachment, so they won’t get messed up somewhere on the way. That makes it easier for others to help. – On your first question: The problems cease to appear if you use the commands

Re: Cross-Staff Kneed Beams; Nested Voices

2015-05-05 Thread Carl Sorensen
On 5/5/15 1:26 PM, Sam Bivens sambiv...@gmail.com wrote: Second, is it possible to create nested multiple voices? What I mean is to insert multiple voices within a single voice of a larger multi-voice context. I need to create a third voice for one measure of a piece and I'm

Re: Can't compile after upgrade to 2.19.19

2015-05-05 Thread Stan Mulder
Keith OHara k-ohara5a5a at oco.net writes: At version 2.19.16, the name changed from 'eflat' to 'e-flat' The convert-ly program will change existing files for you. I first saw it suggested here https://code.google.com/p/lilypond/issues/detail?id=4076#c20 convert-ly will change something like

Re: Cross-Staff Kneed Beams; Nested Voices

2015-05-05 Thread Simon Albrecht
And I forgot: Am 05.05.2015 um 22:26 schrieb Sam Bivens: Second, is it possible to create nested multiple voices? What I mean is to insert multiple voices within a single voice of a larger multi-voice context. No, a voice cannot contain another voice. But, as referenced, you can create

Re: spanned text like Retenu...

2015-05-05 Thread Venus' Wink
Hi Pierre, Both of your ways bring me to my purpose. Thanks a lot. Venus' Wink -Original Message- From: pierre.schneider.pa...@gmail.com Sent: Tue, 5 May 2015 09:48:14 +0200 To: venuswi...@inbox.com Subject: Re: spanned text like Retenu... Oops,  wrong copy/paste, so here  again:

Re: Upper and Lower slurs in \partCombine

2015-05-05 Thread Phil Holmes
Just reading the section on slurs takes you immediately to the snippet on double slurs, so it's not really that hard to see. -- Phil Holmes - Original Message - From: David B. Stocker To: Simon Albrecht ; lilypond-user@gnu.org Sent: Monday, May 04, 2015 6:15 PM Subject:

Re: spanned text like Retenu...

2015-05-05 Thread Venus' Wink
I resend my attachment. But I think Mr. Perol-Schneider has understood my intent. The attachment is about 5kBytes, so it doesn't seem oversize. Probably, something unlucky occured. But it was lucky that very similar question was posted at almost same time. Thanks Venus' Wink -Original

Re: Moving Copyright Notice

2015-05-05 Thread Pierre Perol-Schneider
Hi Simon, simply put oddFooterMarkup defs in a 'paper' bloc: \version 2.18 \paper { oddFooterMarkup = \markup { \column { \fill-line { %% Copyright header field only on first page in each bookpart. \on-the-fly #part-first-page \fromproperty #'header:copyright

Re: Moving Copyright Notice

2015-05-05 Thread Simon Albrecht
Hello everybody, Am 05.05.2015 um 02:02 schrieb Adam Michael Wood: I would like the copyright notice to appear just below the last system of music, flush left. (See for example, the copyright notices under hymns in almost every hymnal.) Is there a way to move the copyright notice this way?

Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
Hi, I have a weird problem with repeats that I just can't figure out. I've read the docs and tried different things for hours now, to no avail. Here's my minimal example: %% \version 2.18.2 \relative c' { \partial 4 \repeat volta 2 { c4 | c c c c | c c

Re: Lyric tie inside word?

2015-05-05 Thread Simon Albrecht
Hello Tobias, I’m not sure what you tried previously, but this should do what you want: \markup \override #'(word-space . 0) \tied-lyric #kö~niglichen See http://lilypond.org/doc/v2.18/Documentation/notation/music Admittedly, it’s not as elegant as the one in the EG :-) – that would require a

RE: Problem with repeats: stray bar line

2015-05-05 Thread Mark Stephen Mrotek
Tobias: Does this work? \version 2.18.2 \relative c' { \partial 4 \repeat volta 2 { c4 | c c c c | c c c } \repeat volta 2 { d4 | d d d d | } \alternative { { e4 e e } { \set Timing.measurePosition = #(ly:make-moment 1/4) f4 f f } } } Mark

Re: Lyric tie inside word?

2015-05-05 Thread Tobias Braun
Hello Simon, Thanks a lot! Marvelous, I'd never have been able to come up with this. I'm just not quite sure yet how to integrate it with the rest of my lyrics. At the moment, it looks something like this: \markup { \fill-line { \hspace #0.1 \column { \vspace #0.5

RE: Problem with repeats: stray bar line

2015-05-05 Thread Steven Weber
Because you're in 4/4 and didn't tell Lilypond that the alternative bars were in 3/4. See http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats for details on how to fix this. --Steven -Original Message- From: lilypond-user-bounces+panteck=hotmail@gnu.org

Re: Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
Hi Steven, thanks for the reply. But I'm not really in 3/4 in those measures, am I? I mean, together with the partial measure at the very beginning, the alternative measures add up to 4/4 again, right? Unfolding all the repeats should give a proper 4/4 piece where the partial measure at the

Re: Problem with repeats: stray bar line

2015-05-05 Thread Tobias Braun
Yes, it does, thank you! But the docs tell me to use measureLength in some way. Is using measurePosition, as you suggested, just another way of doing the same thing? Or is my situation that much different from the docs so that a different property has to be modified? Tobias Am 05.05.2015 um

Re: Moving Copyright Notice

2015-05-05 Thread Michael Gerdau
Hi list, in the context of this thread I have a possibly stupid question: From reading the documentation under http://lilypond.org/doc/v2.18/Documentation/notation/custom-titles-headers-and-footers I thought the proper syntax would be \on-the-fly \part-first-page \fromproperty

Re: Jianpu Notation

2015-05-05 Thread MING TSANG
Paul David : I test the jianpu10a.ly with the following code and notice that a tie note is not working properly.  %snippet begin .\version 2.18.2\language english global = {  \key f\major}\include jianpu10a.ly notes = { c'1 f'2( g') g'2~g'2 e'2. r4 } \new JianpuStaff