Please ignore this test

2015-07-11 Thread Urs Liska
I have not received several posts from the last day due to a
misconfiguration of my mail server.
This is a test to see if my mailing list subscription has suffered from
this.

Please ignore.
Except if you have sent me a personal email yesterday. In that case
please resend it to be sure it reached me ;-)

Urs

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


Generating scores from Scheme

2015-07-11 Thread H. S. Teoh
Hi,

Is it possible to use Scheme to generate \score blocks? What's the
correct syntax for doing this? I'm working on a set of Scheme functions
to facilitate working with orchestral scores, and I'd like a way to loop
over a list of instrument names and generate \score blocks for the
corresponding instrument parts.


T

-- 
"Holy war is an oxymoron." -- Lazarus Long

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


Re: Overriding font size in markup variable

2015-07-11 Thread Andrew Bernard
Hi Javier,

No, that does not work. But if you are going to type '\override #'(font-size . 
10)’ why not remove the font size specification from your variable and just 
preface it with '\abs-fontsize #10’ or whatever you require? Alternatively, if 
you require a few sizes, and don’t want to type the size specification all the 
time, have a variable for each size: thisTextLarge, thisTextMedium, 
thisTextSmall, etc. Don’t forget that lilypond has built in 
\huge and \teeny and friends \larger and \smaller (although I see you want 
absolute sizes).

Andrew


On 12 July 2015 at 11:08:57, Javier Ruiz-Alma (jav...@ruiz-alma.com) wrote:

I have a markup variable preformatted to specific font size.

I wish to use the same variable elsewhere, but override the font-size to 
smaller size.  Can this be done?


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


Overriding font size in markup variable

2015-07-11 Thread Javier Ruiz-Alma
I have a markup variable preformatted to specific font size.
I wish to use the same variable elsewhere, but override the font-size to 
smaller size.  Can this be done?
Snippet:%*

\version "2.18.2"
thisText = \markup { \abs-fontsize #20 "My Text" }
\markup {   \column { \fill-line { \thisText } \fill-line { \null } 
\fill-line { \override #'(font-size . 10) \thisText }  %  

Re: \cueClefUnset problem

2015-07-11 Thread Jacques Menu
Fine, thanks!

JM

> Le 11 juil. 2015 à 17:44, Stephen MacNeil  a écrit :
> 
> you can remove the second \clef "bass" as well, sorry I forgot to comment 
> that out
> 
> stephen
> 
> On Sat, Jul 11, 2015 at 9:42 AM, Jacques Menu  > wrote:
> Hello Stephen,
> 
> Now, that’s clever, a better work-around still, thanks!
> 
> JM
> 
> > Le 11 juil. 2015 à 13:28, Stephen MacNeil  > > a écrit :
> >
> > the problem is because of the change of clef, if you start with the bass 
> > clef there is no issue. Bug? i would say so.
> > anyway a workaround is change the clef before then omit it.
> >
> > %%
> >
> >
> > \relative {
> > \time 5/4
> >
> > r4 r4
> > %
> > \once\omit Staff.Clef
> > \clef "bass"
> > %
> > <<
> > {
> > s4 s2
> > \cueClefUnset
> > }
> > \new CueVoice {
> > \set instrumentCueName = \markup{
> > \bold \concat {
> > \larger "1" \raise #0.5 "ère" " " \larger "Fl."
> > }
> > }
> > \cueClef "treble"
> > \stemDown
> > b'16 \p \> [ b b b ]
> > \bar "!"
> > c!8 -. [ c32 c c c ]
> > \!
> > cis8 -. [ cis32 cis cis cis ]
> > }
> > >>
> > | % 81
> > \bar "||"
> > \break
> >
> > %\once\omit Staff.Clef
> > \clef "bass"
> > \time 6/8 | % 81
> > g,8 \pp -. [ g8 -. ] r8 d'8 -. [ d8 -. d8 -. ] | % 82
> > c4 c8 c4. |
> > \bar "|."
> > }
> >
> > %
> >
> > HTH
> >
> > Stephen
> 
> 

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


Re: \cueClefUnset problem

2015-07-11 Thread Stephen MacNeil
you can remove the second \clef "bass" as well, sorry I forgot to comment
that out

stephen

On Sat, Jul 11, 2015 at 9:42 AM, Jacques Menu  wrote:

> Hello Stephen,
>
> Now, that’s clever, a better work-around still, thanks!
>
> JM
>
> > Le 11 juil. 2015 à 13:28, Stephen MacNeil  a
> écrit :
> >
> > the problem is because of the change of clef, if you start with the bass
> clef there is no issue. Bug? i would say so.
> > anyway a workaround is change the clef before then omit it.
> >
> > %%
> >
> >
> > \relative {
> > \time 5/4
> >
> > r4 r4
> > %
> > \once\omit Staff.Clef
> > \clef "bass"
> > %
> > <<
> > {
> > s4 s2
> > \cueClefUnset
> > }
> > \new CueVoice {
> > \set instrumentCueName = \markup{
> > \bold \concat {
> > \larger "1" \raise #0.5 "ère" " " \larger "Fl."
> > }
> > }
> > \cueClef "treble"
> > \stemDown
> > b'16 \p \> [ b b b ]
> > \bar "!"
> > c!8 -. [ c32 c c c ]
> > \!
> > cis8 -. [ cis32 cis cis cis ]
> > }
> > >>
> > | % 81
> > \bar "||"
> > \break
> >
> > %\once\omit Staff.Clef
> > \clef "bass"
> > \time 6/8 | % 81
> > g,8 \pp -. [ g8 -. ] r8 d'8 -. [ d8 -. d8 -. ] | % 82
> > c4 c8 c4. |
> > \bar "|."
> > }
> >
> > %
> >
> > HTH
> >
> > Stephen
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \cueClefUnset problem

2015-07-11 Thread Jacques Menu
Hello Stephen,

Now, that’s clever, a better work-around still, thanks!

JM

> Le 11 juil. 2015 à 13:28, Stephen MacNeil  a écrit :
> 
> the problem is because of the change of clef, if you start with the bass clef 
> there is no issue. Bug? i would say so.
> anyway a workaround is change the clef before then omit it.
> 
> %%
> 
> 
> \relative {
> \time 5/4
> 
> r4 r4
> %
> \once\omit Staff.Clef
> \clef "bass"
> %
> <<
> {
> s4 s2
> \cueClefUnset
> }
> \new CueVoice {
> \set instrumentCueName = \markup{
> \bold \concat {
> \larger "1" \raise #0.5 "ère" " " \larger "Fl."
> }
> }
> \cueClef "treble"
> \stemDown
> b'16 \p \> [ b b b ]
> \bar "!"
> c!8 -. [ c32 c c c ]
> \!
> cis8 -. [ cis32 cis cis cis ]
> }
> >>
> | % 81
> \bar "||"
> \break
> 
> %\once\omit Staff.Clef
> \clef "bass"
> \time 6/8 | % 81
> g,8 \pp -. [ g8 -. ] r8 d'8 -. [ d8 -. d8 -. ] | % 82
> c4 c8 c4. |
> \bar "|."
> }
> 
> %
> 
> HTH
> 
> Stephen


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


Re: \cueClefUnset problem

2015-07-11 Thread Stephen MacNeil
the problem is because of the change of clef, if you start with the bass
clef there is no issue. Bug? i would say so.
anyway a workaround is change the clef before then omit it.

%%


\relative {

\time 5/4


 r4 r4

%

\once\omit Staff.Clef

\clef "bass"

%

<<

{

s4 s2

\cueClefUnset

}

\new CueVoice {

\set instrumentCueName = \markup{

\bold \concat {

\larger "1" \raise #0.5 "ère" " " \larger "Fl."

}

}

\cueClef "treble"

\stemDown

b'16 \p \> [ b b b ]

\bar "!"

c!8 -. [ c32 c c c ]

\!

cis8 -. [ cis32 cis cis cis ]

}

>>

| % 81

\bar "||"

\break


 %\once\omit Staff.Clef

\clef "bass"

\time 6/8 | % 81

g,8 \pp -. [ g8 -. ] r8 d'8 -. [ d8 -. d8 -. ] | % 82

c4 c8 c4. |

\bar "|."

}


%

HTH

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


Re: \cueClefUnset problem

2015-07-11 Thread Jacques Menu
\once\override Staff.CueEndClef.break-visibility = ##(#f #f #f)

produces a large reminder clef, but that solves the issue.

Removing the cueClef is a word around, but I like to have all keys explicit.

Thanks Vaughan and Thomas!

> Le 11 juil. 2015 à 06:47, Vaughan McAlley  a écrit :
> 
> On 11 July 2015 at 06:52, Menu Jacques  wrote:
>> 
>> Hello folks,
>> 
>> In the following code, I get the bass clef twice before the 6/8 time 
>> signature. The problem only arises when the parallel music containing the 
>> new CueVoice is directly followed by a \clef command.
>> 
>> Uncommenting the "\once\omit Staff.Clef » command before \clef "bass" 
>> removes two clefs actually…
>> 
>> Any hint is welcome!
>> 
>> JM
>> 
>> 
>> %
>> 
>> \version "2.19.22"
>> 
>> \relative {
>>  \time 5/4
>> 
>>  r4 r4
>>  <<
>>{
>>  s4 s2
>>  \cueClefUnset
>>}
>>\new CueVoice {
>>  \set instrumentCueName = \markup{
>>\bold \concat {
>>  \larger "1" \raise #0.5 "ère" " " \larger "Fl."
>>}
>>  }
>>  \cueClef "treble"
>>  \stemDown
>>  b'16 \p \> [ b b b ]
>>  \bar "!"
>>  c!8 -. [ c32 c c c ]
>>  \!
>>  cis8 -. [ cis32 cis cis cis ]
>>}
 
>>  | % 81
>>  \bar "||"
>>  \break
>> 
>>  %\once\omit Staff.Clef
>>  \clef "bass"
>>  \time 6/8 | % 81
>>  g,8 \pp -. [ g8 -. ] r8 d'8 -. [ d8 -. d8 -. ] | % 82
>>  c4*5 | c4*5 c4*5 |
>>  \bar "|."
>> }
>> 
>> %
>> 
>> 
>> 
>> 
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
> 
> I had this issue, and the first thing I tried was omitting the Cue
> Clef, which worked fine. It’s probably a matter of taste, but I wonder
> if a small or a large clef is more appropriate here…
> 
> Vaughan
> 
> ___
> 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