Re: Breaking notes up across bar lines when using lyrics

2014-09-08 Thread David Kastrup
Simon Albrecht writes: > Looks like it’s worth a bug report and issue tracker, doesn’t it? > About completion heads engraver and addlyrics being incompatible. More like https://code.google.com/p/lilypond/issues/detail?id=4096> Issue 4096: \addlyrics always creates its own Voice context The ori

Re: Breaking notes up across bar lines when using lyrics

2014-09-07 Thread David Bellows
>However, the attached version of the file using @code{ \new Lyrics \lyricsto "first" } instead of @code{ \addlyrics } works as expected for me*. So working around the problem appears to be easy. Perfect! It now works as expected. Thank you very much! On Sun, Sep 7, 2014 at 3:45 AM, Simon Albrech

Re: Breaking notes up across bar lines when using lyrics

2014-09-07 Thread Simon Albrecht
Looks like it’s worth a bug report and issue tracker, doesn’t it? About completion heads engraver and addlyrics being incompatible. However, the attached version of the file using @code{ \new Lyrics \lyricsto "first" } instead of @code{ \addlyrics } works as expected for me*. So working around t

Re: Breaking notes up across bar lines when using lyrics

2014-09-06 Thread David Bellows
>I have seen issues about this with older version. Cannot find any workaround though... Dang,if a solution doesn't present itself then I'll have to make some tough decisions aesthetics vs functionality. But thanks! On Sat, Sep 6, 2014 at 4:19 AM, Pierre Perol-Schneider < pierre.schneider.pa...@

Re: Breaking notes up across bar lines when using lyrics

2014-09-06 Thread Pierre Perol-Schneider
Hi David, 2014-09-04 22:47 GMT+02:00 David Bellows : In the following code, if you comment out the \addlyrics bit then it works > as it should, but if you leave it in then it doesn't. Does anyone know of a > solution or have any suggestions? > I have seen issues about this with older version. Ca

Breaking notes up across bar lines when using lyrics

2014-09-04 Thread David Bellows
I'm working on a huge project that generates literally tons of scores. I have chosen have Lilypond break notes up at bar lines. Even though the music isn't actually in 4/4 (or whatever) I think it makes it easier to read or look nicer. But when I add lyrics it stops breaking up the notes and every

Re: Using lyrics in a markup

2011-03-04 Thread Marc Hohl
Am 04.03.2011 12:12, schrieb Jan-Peter Voigt: [...] Hello again, I came across our lyrics->markup snippet and made another extension: Stanza numbers often are left to the verse block. Now there is another bool-parameter to the verse-command, wich tells, if the stanza number shall be left

Re: Using lyrics in a markup

2011-03-04 Thread Jan-Peter Voigt
On 10.02.2011 09:20, Marc Hohl wrote: Am 08.02.2011 12:00, schrieb Jan-Peter Voigt: Hello Marc, hello Jakob, hello list, I just wanted to share a tiny extension of the lyrics->markup function: ... (cond ((eq? (ly:music-property lyrics 'name) 'LyricEvent)

Re: Using lyrics in a markup

2011-02-10 Thread Marc Hohl
Am 08.02.2011 12:00, schrieb Jan-Peter Voigt: Hello Marc, hello Jakob, hello list, I just wanted to share a tiny extension of the lyrics->markup function: ... (cond ((eq? (ly:music-property lyrics 'name) 'LyricEvent) (ly:music-property lyrics 'text))

Re: Using lyrics in a markup

2011-02-08 Thread Jan-Peter Voigt
Hello Marc, hello Jakob, hello list, I just wanted to share a tiny extension of the lyrics->markup function: ... (cond ((eq? (ly:music-property lyrics 'name) 'LyricEvent) (ly:music-property lyrics 'text)) ((eq? (ly:music-property lyrics 'nam

Re: Using lyrics in a markup

2011-01-24 Thread Marc Hohl
Am 24.01.2011 15:33, schrieb Jan-Peter Voigt: Hello Phil, I posted the "improved" version this morning with a bit more text about the possible overrides. So you can approve that and delete the old one or copy either the code of the new snippet (or the attached one) to the old and delete the n

Re: Using lyrics in a markup

2011-01-24 Thread Phil Holmes
- Original Message - From: "Jan-Peter Voigt" To: "Phil Holmes" Cc: "jakob lund" ; "Lilypond-User" Sent: Monday, January 24, 2011 2:33 PM Subject: Re: Using lyrics in a markup Hello Phil, I posted the "improved" version th

Re: Using lyrics in a markup

2011-01-24 Thread Jan-Peter Voigt
Hello Phil, I posted the "improved" version this morning with a bit more text about the possible overrides. So you can approve that and delete the old one or copy either the code of the new snippet (or the attached one) to the old and delete the new one. ... huh??? OK, I try once more ;-) -

Re: Using lyrics in a markup

2011-01-24 Thread Phil Holmes
I've slightly lost the plot of what's needed here. There's http://lsr.dsi.unimi.it/LSR/Item?id=744 which I think could be edited for the new improvements, and there's an improved version waiting for approval. Please let me know if the old version is to be edited or deleted, and whether the new

Re: Using lyrics in a markup

2011-01-24 Thread jakob lund
2011/1/24 jakob lund : > Hi > > 2011/1/24 Jan-Peter Voigt : >> Hi Jakob, hello list, >> >> I was about to answer with my 2.12-version ;-) >> It is essentially like your version (using let and assoc props ...) but >> yours is open for override extension ... > > Why? The only difference (AFAICT) is t

Re: Using lyrics in a markup

2011-01-24 Thread jakob lund
Hi 2011/1/24 Jan-Peter Voigt : > Hi Jakob, hello list, > > I was about to answer with my 2.12-version ;-) > It is essentially like your version (using let and assoc props ...) but > yours is open for override extension ... Why? The only difference (AFAICT) is that you did the clever thing and use

Re: Using lyrics in a markup

2011-01-24 Thread Jan-Peter Voigt
Hi, On 24.01.2011 13:22, jakob lund wrote: By the way, the first version (no line breaks) is here http://lsr.dsi.unimi.it/LSR/Item?id=744 might as well just update that entry if possible? This has to be done by an "LSR-administrator" ;-) If someone is able and willing to do this, go ahead and d

Re: Using lyrics in a markup

2011-01-24 Thread Jan-Peter Voigt
Hi Jakob, hello list, I was about to answer with my 2.12-version ;-) It is essentially like your version (using let and assoc props ...) but yours is open for override extension ... Now its posted to LSR and has to be approved. Best regards and cheers! Jan-Peter On 24.01.2011 10:35, jakob lun

Re: Using lyrics in a markup

2011-01-24 Thread jakob lund
Hi 2011/1/23 jakob lund : > 2011/1/23 Jan-Peter Voigt : >> Hello and thank you Jakob, hello list, >> >> this piece is a great work. It compiles well in 2.13(.47 lilybuntu) and adds >> a very useful function to lily! >> The .ly is attached again, because I think it is good to have it on the >> de

Re: Using lyrics in a markup

2011-01-23 Thread jakob lund
2011/1/23 Jan-Peter Voigt : > Hello and thank you Jakob, hello list, > > this piece is a great work. It compiles well in 2.13(.47 lilybuntu) and adds > a very useful function to lily! > The .ly is attached again, because I think it is good to have it on the > devel-list. > I would like to add it

Re: Using lyrics in a markup

2011-01-23 Thread Jan-Peter Voigt
Hello and thank you Jakob, hello list, this piece is a great work. It compiles well in 2.13(.47 lilybuntu) and adds a very useful function to lily! The .ly is attached again, because I think it is good to have it on the devel-list. I would like to add it to LSR to have it in the main distro once

Re: Using lyrics in a markup

2011-01-23 Thread jakob lund
oops, forgot to reply to list (sorry about the extra spam Jan-Peter) 2011/1/23 jakob lund : > Hi again > > After fiddling some more with this, I came up with a simple solution. > Instead of a string, a LineBreakEvent is inserted into the lyric -- > neither \lyricmode or \addlyrics complain about t

Re: Using lyrics in a markup

2011-01-21 Thread Jan-Peter Voigt
Hello again, so you would have to check (pseudo-scheme): ... (if (and (string? x)(string=? x "")) ( ...)) ... and this would probably be done in the (reduce-hyphens text)-method/function. If this works one could define a variable with the lyrics including the newlines. Then use it filt

Re: Using lyrics in a markup

2011-01-21 Thread Jan Warchoł
2011/1/21 David Kastrup > > Jan Warchoł writes: > > The ś character that you used is used in polish language, for example. > > That's just a bug of your mail reading software.  He used the pilcrow > sign, namely ¶ and not ś. Oh. Good to know. Thanks, Janek __

Re: Using lyrics in a markup

2011-01-21 Thread David Kastrup
Jan Warchoł writes: > 2011/1/20 Marc Hohl >> >> What do you think of allowing to define a additional "line break >> character", for example ś, which could be filtered out within >> \lyricsmode, and used as a newline in the \verse? > > +1, however i'd vote for either: > - specific command (starti

Re: Using lyrics in a markup

2011-01-21 Thread Jan Warchoł
2011/1/20 Marc Hohl > > Am 20.01.2011 09:20, schrieb jakob lund: >> >> However, I am guessing that the desired output is actually >> >>   Tochter Zion, freue dich, >>   jauchze laut, Jerusalem. >>   Sieh, dein König kommt zu dir, >>   ja, er kommt, der Friedefürst. >>   Tochter Zion, freue dich, >

Re: Using lyrics in a markup

2011-01-20 Thread Jan-Peter Voigt
> What do you think of allowing to define a additional "line break character", > for example ¶, which could be filtered out within \lyricsmode, and used as a > newline in the \verse? Thats a good idea! > So your input will look like > \override Lyrics #'ignore-chars= #'(¶) % this is pseudo code! Le

Re: Using lyrics in a markup

2011-01-20 Thread Jan-Peter Voigt
Congratulations and thank you very much! :-) The first "desired" output would be nice, but in that case one has to use line by line input of the lyrics. I think thats OK for church songs like this one. But there are many cases, where I just want a justified markup of the lyrics. Best regards, Jan

Re: Using lyrics in a markup

2011-01-20 Thread Marc Hohl
Am 20.01.2011 09:20, schrieb jakob lund: 2011/1/19 Jan-Peter Voigt: Hello scheme-gurus, nr. 744 is bookmarked ;-) There's one more thing. I tried the verse-command and it works nicely, but it will wrap lines: say you have a stanza like this --snip-- strI = \lyricmode { \set stanza = "1." T

Re: Using lyrics in a markup

2011-01-20 Thread jakob lund
2011/1/19 Jan-Peter Voigt : > Hello scheme-gurus, > nr. 744 is bookmarked ;-) > There's one more thing. I tried the verse-command and it works nicely, but > it will wrap lines: > say you have a stanza like this > --snip-- > strI = \lyricmode > { >   \set stanza = "1." >   Toch -- ter Zi -- on, freu

Re: Using lyrics in a markup

2011-01-19 Thread Jan-Peter Voigt
Hello scheme-gurus, nr. 744 is bookmarked ;-) There's one more thing. I tried the verse-command and it works nicely, but it will wrap lines: say you have a stanza like this --snip-- strI = \lyricmode { \set stanza = "1." Toch -- ter Zi -- on, freu -- e dich, jauch -- ze laut, Je -- ru -- sa

Re: Using lyrics in a markup

2011-01-19 Thread jakob lund
2011/1/18 Marc Hohl : > Am 18.01.2011 18:56, schrieb Graham Percival: >> >> On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote: >>> >>> These functions should be bundled in a snippet, or perhaps included in >>> the >>> lilypond distribution? >> >> Start by adding it to LSR. > > Done. > > htt

Re: Using lyrics in a markup

2011-01-18 Thread Jean-Charles Malahieude
Le 18/01/2011 20:21, Marc Hohl disait : Am 18.01.2011 18:56, schrieb Graham Percival: On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote: These functions should be bundled in a snippet, or perhaps included in the lilypond distribution? Start by adding it to LSR. Done. http://lsr.dsi.

Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl
Am 18.01.2011 18:56, schrieb Graham Percival: On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote: These functions should be bundled in a snippet, or perhaps included in the lilypond distribution? Start by adding it to LSR. Done. http://lsr.dsi.unimi.it/LSR/Snippet?id=744 Regards, Ma

Re: Using lyrics in a markup

2011-01-18 Thread Graham Percival
On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote: > These functions should be bundled in a snippet, or perhaps included in the > lilypond distribution? Start by adding it to LSR. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gn

Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl
Am 18.01.2011 16:10, schrieb jakob lund: [...] Sure... You have to play the game, right? [...] snip Jakob Wow, I am very impressed! The named let construct is absolutely new to me, but allows for very elegant code. These functions should be bundled in a snippet, or perhaps included in the lil

Re: Using lyrics in a markup

2011-01-18 Thread jakob lund
2011/1/18 Jan-Peter Voigt : > Hello List, > > this is a very cool snippet! I also thought of trying this excersize ... > perhaps tomorrow ;-) > I think it should be posted to LSR! > There is one thing I tried: If you have markups in your lyrics: > > words = \lyricmode { This is my ex -- am -- ple \

Re: Using lyrics in a markup

2011-01-18 Thread Jan-Peter Voigt
Hello List, this is a very cool snippet! I also thought of trying this excersize ... perhaps tomorrow ;-) I think it should be posted to LSR! There is one thing I tried: If you have markups in your lyrics: words = \lyricmode { This is my ex -- am -- ple \markup { \italic text } } this functio

Re: Using lyrics in a markup

2011-01-18 Thread jakob lund
2011/1/18 Marc Hohl : > Am 15.01.2011 21:51, schrieb Neil Puttock: >> >> On 15 January 2011 19:01, Marc Hohl  wrote: >> >>> Now I wonder whether it is possible to create a kind of text book by >>> including the lyrics in a markup, perhaps with a scheme function which >>> replaces the " -- " by "".

Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl
Am 15.01.2011 21:51, schrieb Neil Puttock: On 15 January 2011 19:01, Marc Hohl wrote: Now I wonder whether it is possible to create a kind of text book by including the lyrics in a markup, perhaps with a scheme function which replaces the " -- " by "". Is it possible to store the text in a va

Re: Using lyrics in a markup

2011-01-16 Thread Marc Hohl
Am 15.01.2011 21:51, schrieb Neil Puttock: On 15 January 2011 19:01, Marc Hohl wrote: Now I wonder whether it is possible to create a kind of text book by including the lyrics in a markup, perhaps with a scheme function which replaces the " -- " by "". Is it possible to store the text in a va

Re: Using lyrics in a markup

2011-01-15 Thread Neil Puttock
On 15 January 2011 19:01, Marc Hohl wrote: > Now I wonder whether it is possible to create a kind of text book by > including the lyrics in a markup, perhaps with a scheme function which > replaces the " -- " by "". > > Is it possible to store the text in a variable? Store the lyrics first, then

Using lyrics in a markup

2011-01-15 Thread Marc Hohl
Hello list, is there a possibility to re-use lyrics in a markup? I am working on a musical for children and I get the sheets for several instruments, choir, partition etc. by a simple shell script which calls sed and lilypond. Now I wonder whether it is possible to create a kind of text book by

Re: Using lyrics

2006-02-24 Thread stk
> I've also made one more change: a very new language feature allows > \new Foo = "bar" > instead of > \context Foo = "bar" > for the first time you're instantiating a Foo. Thank you! Syntax is important for readability, and \new Foo = "bar" is _much_ clearer. -- Tom ___

Using lyrics [solved]

2006-02-24 Thread Bryan Stanbridge
Thanks for all the help with using lyrics. I must have read the manual too quickly and missed the necessity for instatiating a Lyrics context. It's working well for me now. Cheers, Bryan... ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Using lyrics

2006-02-22 Thread Mats Bengtsson
Quoting David Raleigh Arnold <[EMAIL PROTECTED]>: Quoting the 2.6 manual, at Section 7.3.1: is the same as \context Voice = blah { music } \lyricsto "blah" \new lyrics { LYRICS } ---"Lyrics" after \new has to be capitalized. It's not. daveA This has been corrected in the 2.7 version o

Re: Using lyrics

2006-02-22 Thread Don Blaheta
Quoth Bryan Stanbridge: > I've read TFM and yet I think I may not have the proper grasp on how to > use lyrics. Here's a small example to illustrate what I'm doing. > Hopefully I'm just making a simple mistake. > > \version "2.7.35" % Windows XPSP2, Native install > > \score { > \new Staff {

Re: Using lyrics

2006-02-22 Thread David Raleigh Arnold
On Tuesday 21 February 2006 07:35 am, Bryan Stanbridge wrote: > \score { >   \new Staff { >     \context Voice = "mezzo" {c'1} >     \lyricsto "mezzo" {lah } >   } > } Quoting the 2.6 manual, at Section 7.3.1: is the same as \context Voice = blah { music } \lyricsto "blah" \new lyrics { LYRICS }

Re: Using lyrics

2006-02-22 Thread Gilles
> > \score { > \new Staff { >\context Voice = "mezzo" {c'1} >\lyricsto "mezzo" {lah } > } > } > > When I compile, I don't get any lyrics. If I explicitly set \lyricmode > before {lah }, I still get no lyrics. I must be missing something important. > Two missing bits: Angle brackets

Using lyrics

2006-02-21 Thread Bryan Stanbridge
Greetings, I've read TFM and yet I think I may not have the proper grasp on how to use lyrics. Here's a small example to illustrate what I'm doing. Hopefully I'm just making a simple mistake. \version "2.7.35" % Windows XPSP2, Native install \score { \new Staff { \context Voice = "mezzo"