Re: Cannot use italics for lyrics text

2012-09-27 Thread Thomas Morley
2012/9/27 Thomas CHARDIN :
> I feared that the stanza number would also be in italics doing this...
> But it happens to work fine; thanks!
>
>
> Thomas

Glad to here this!

Please don't forget to answer to all.
Others might be interested, if it works for you, too.

Regards,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Cannot use italics for lyrics text

2012-09-27 Thread Thomas Morley
2012/9/27 Thomas Chardin :
> Hi,
>
> Using the code below I manage to change the global font and size. The stanza
> number color is also applied but the italics shape asked is not applied, 
> without
> any error message. Does someone have any idea why this is not working?
>
> My code is:
>
> \version "2.14.2"
>
> %%snip: page variables
>
> sopWords = \lyricmode {
>   \override StanzaNumber #'color = #(rgb-color .72 .13 .06)
>   \set stanza = "1."
>   %%snip: lyrics text
> }
>
> bassMusic = {
>   %%snip: music
> }
>
> \score {
>   \new ChoirStaff <<
> %%snip: other staves
> \new Lyrics = "sopranos" << s1 >>
> \new Staff <<
>   \new Voice = "basses" << \global \bassMusic >> >>
> \context Lyrics = sopranos \lyricsto basses \sopWords >>
>
>   \layout {
> \context {
>   \Lyrics
>   \override LyricSpace #'minimum-distance = #1.0
>   \override LyricText #'font-name = #"Adobe Garamond Pro"
>   \override LyricText #'font-size = #2
>   \override LyricText #'font-shape = #'italic
> }
>   }
> }
>
> Thanks in advance,
>
>
> Thomas C.
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


I'm not a text-nerd but I think there is "Adobe Garamond Pro" _and_
"Adobe Garamond Pro Italic", so
\override LyricText #'font-shape = #'italic
is superfluous, if
\override LyricText #'font-name = #"Adobe Garamond Pro Italic"
is set.

At least I did a successful "womm"-test (works on my machine). :)


HTH,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug in lyrics placement in mensural music?

2012-09-27 Thread Trevor Daniels

Phil Holmes wrote Thursday, September 27, 2012 5:02 PM


> The code below produces the image attached.  As can be seen, using a 
> StaffGroup with mensural staves places the lyrics above the top stave, and I 
> can't find an over-ride that gets them in the proper place.  I _think_ this 
> must be a bug, but wondering if anyone knows better?

No, it's not a bug.  The problem is not with the lyrics but with
MensuralStaff, which is not accepted by StaffGroup, so they
both get pushed to the bottom.

Try:

\new StaffGroup \with { \accepts MensuralStaff } {
  <<
\new MensuralStaff
{
  \new MensuralVoice = melody \relative c'' { c4 c c c }
}
\new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

\new MensuralStaff
{
  \new MensuralVoice = lower \relative c'' { c4 c c c }
}
\new Lyrics \lyricsto lower \lyricmode { Some lower words here }
  >>
}

Trevor
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Cannot use italics for lyrics text

2012-09-27 Thread Thomas Chardin
Hi,

Using the code below I manage to change the global font and size. The stanza
number color is also applied but the italics shape asked is not applied, without
any error message. Does someone have any idea why this is not working?

My code is:

\version "2.14.2"

%%snip: page variables

sopWords = \lyricmode {
  \override StanzaNumber #'color = #(rgb-color .72 .13 .06)
  \set stanza = "1."
  %%snip: lyrics text
}

bassMusic = {
  %%snip: music
}

\score {
  \new ChoirStaff <<
%%snip: other staves
\new Lyrics = "sopranos" << s1 >>
\new Staff <<
  \new Voice = "basses" << \global \bassMusic >> >>
\context Lyrics = sopranos \lyricsto basses \sopWords >>

  \layout {
\context {  
  \Lyrics
  \override LyricSpace #'minimum-distance = #1.0
  \override LyricText #'font-name = #"Adobe Garamond Pro"
  \override LyricText #'font-size = #2
  \override LyricText #'font-shape = #'italic
}
  }
}

Thanks in advance,


Thomas C.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Excessive type-strictness?

2012-09-27 Thread David Kastrup
James Harkins  writes:

> In lilypond 2.15.36, I just hit an issue where this override caused
> lilypond to exit with code 1.

Exit 1 is a regular error, so you should have seen an error message.

> \once \override NoteColumn #'force-hshift = #1
>
> Changing it to this allowed compilation to succeed:
>
> \once \override NoteColumn #'force-hshift = #1.0
>
> I tried to make a MCE but both overrides worked in that context.

I have taken a thorough look at the code using the shift, and there is
nothing looking suspicious.

I suspect you may have had something like a \version string mismatch, or
some misspelling, like l or I instead of 1, or a non-breaking space ( )
somewhere where it does not belong.

> I just wanted to ask if anyone else had seen anything like this. For
> the bug squad folks and David: I do not intend this as a complete bug
> report; please do not chastise me for failing to include a tiny
> example or whatnot. I'm only asking for others' experiences at this
> point.

Not likely anything of any relevance to you.

-- 
David Kastrup


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug in lyrics placement in mensural music?

2012-09-27 Thread Eluze
Phil Holmes wrote
> The code below produces the image attached.  As can be seen, using a 
> StaffGroup with mensural staves places the lyrics above the top stave, and
> I 
> can't find an over-ride that gets them in the proper place.  I _think_
> this 
> must be a bug, but wondering if anyone knows better?

as a workaround you can put the Lyrics inside the MensuralStaff:

\new StaffGroup {  <<
\new MensuralStaff <<
  \new MensuralVoice = melody \relative c'' { c4 c c c }
  \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }
>>
\new MensuralStaff <<
  \new MensuralVoice = lower \relative c'' { c4 c c c }
  \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
>>
  >>
}

alignBelowContext doesn't seem to work.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bug-in-lyrics-placement-in-mensural-music-tp133721p133723.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


Re: Excessive type-strictness?

2012-09-27 Thread Eluze
James Harkins-2 wrote
> In lilypond 2.15.36, I just hit an issue where this override caused
> lilypond to exit with code 1.
> 
> \once \override NoteColumn #'force-hshift = #1
> 
> Changing it to this allowed compilation to succeed:
> 
> \once \override NoteColumn #'force-hshift = #1.0
> 
> I tried to make a MCE but both overrides worked in that context.
> 
> I just wanted to ask if anyone else had seen anything like this. For the
> bug squad folks and David: I do not intend this as a complete bug report;
> please do not chastise me for failing to include a tiny example or
> whatnot. I'm only asking for others' experiences at this point.

I'm afraid you'll have to make a more complete report because I can't
reproduce any error with force-hshift = #1 

tested 2.15.1 - 2.17.3 (just the ones on my pc)

please also report which OS you're using!

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Excessive-type-strictness-tp133719p133722.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


Bug in lyrics placement in mensural music?

2012-09-27 Thread Phil Holmes
The code below produces the image attached.  As can be seen, using a 
StaffGroup with mensural staves places the lyrics above the top stave, and I 
can't find an over-ride that gets them in the proper place.  I _think_ this 
must be a bug, but wondering if anyone knows better?


\new StaffGroup {
 <<
   \new MensuralStaff
   {
 \new MensuralVoice = melody \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

   \new MensuralStaff
   {
 \new MensuralVoice = lower \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
 >>
}

{  <<
   \new MensuralStaff
   {
 \new MensuralVoice = melody \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

   \new MensuralStaff
   {
 \new MensuralVoice = lower \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
 >>
}

\new StaffGroup {
 <<
   \new Staff
   {
 \new Voice = melody \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

   \new Staff
   {
 \new Voice = lower \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
 >>
}



--
Phil Holmes

<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Excessive type-strictness?

2012-09-27 Thread James Harkins
In lilypond 2.15.36, I just hit an issue where this override caused lilypond to 
exit with code 1.

\once \override NoteColumn #'force-hshift = #1

Changing it to this allowed compilation to succeed:

\once \override NoteColumn #'force-hshift = #1.0

I tried to make a MCE but both overrides worked in that context.

I just wanted to ask if anyone else had seen anything like this. For the bug 
squad folks and David: I do not intend this as a complete bug report; please do 
not chastise me for failing to include a tiny example or whatnot. I'm only 
asking for others' experiences at this point.

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