Proposed tweak to bagpipe.ly

2014-03-02 Thread Ben Beeson

  
  
Hi all,
  

Today I decided to transcribe the Kilberry setting
  for "The Desparate Battle".  While I was working on that I created
  a small piece of code that you may consider useful enough to
  include in the next version of bagpipe.ly for the LilyPond world.
  The code is below and represents a way to mark the Taorluath,
  Taorluath A Mach, Crunluath, and Crunluath A Mach symbols as the
  Kilberry book does for 
"The Desparate Battle".  This code
follows other piobaireachd notation examples already in
bagpipe.ly, so hopefully it will be straightforward to add this
if the maintainer/author agrees. 
  
*** code snippet here 

txtaortaoramcruncrunam = \markup { 
            \override #'(baseline-skip . 1.0)
                 \column {
                     \center-align "T"
                     \center-align \scale #'(-1
  . -1) "T"
                     \lower #2.5 \center-align
  "C"
                     \lower #1 \center-align
  \scale #'(-1 . -1) "C"
                 }
}
 
  *** end snippet **



Here is a snapshot of the result.

  



  

Cheers,


Ben 

  

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


eps picture embedding into score

2014-03-02 Thread Mátyás Seress
Hi all,

I have a line of music in *.eps format. And I have a properly working
lilypond source code of a choir piece. The piece has a title, composer name
etc. as well.

I'd like to do the following: the eps picture should be the first line of
the music - coming right after the header - aligned in the center, and then
the normal vector graphical lilypond-made score should follow.
The output should be pdf.

I tried to use \eps-file, but it didn't work. :(
Can anyone help me?

Thanks,

Mat

ps.: I use \version "2.14.2" and Frescobaldi IDE
pps.: For those out there who wonder why I'm doing this: the eps is a
gregorian chant, and lilypond just wasn't good enough for that - it has
known issues with accidentals and ligatures-lyrics misplacement.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: eps picture embedding into score

2014-03-02 Thread Pierre Perol-Schneider
2014-03-02 11:51 GMT+01:00 Mátyás Seress :

> Hi all,
>

Hi Mat,


> I tried to use \eps-file, but it didn't work. :(
> Can anyone help me?
>

not \eps-file but \epsfile : \epsfile axis (number) size (number)
file-name(string)
see : http://lilypond.org/doc/v2.14/Documentation/notation/graphic

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


Hiding specific staves/removing delimiters

2014-03-02 Thread Bridge
Hello, 

I have a slight problem with writing divisi strings on two staves. If I
write the parts on two independent staves and connect them with a square
delimiter, later on in the score when the strings are to play in unison, the
delimiter persists and I haven't found a way to remove it. I came up with a
somewhat inelegant solution to this problem, which is to simply write the
divisi sections on a grand staff with a switched out delimiter and making a
new hidden staff which contains the unison music. This works rather well,
except for the fact that the hidden staff shows up on the first page. Is
there any way to hide the staff absolutely until it is needed? If not, does
anybody know how to remove a delimiter mid-score?

Thanks in advance.

P.S.: If it wasn't obvious, this is what I mean:

\version "2.16.0"

\score {
<<
\new GrandStaff <<
\new Staff { s1 }
\new Staff { s1 }
>>
% Should be hidden
\new Staff { s1 }
>>  
}


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


Re: Hiding specific staves/removing delimiters

2014-03-02 Thread Phil Holmes
- Original Message - 
From: "Bridge" 

To: 
Sent: Sunday, March 02, 2014 12:30 PM
Subject: Hiding specific staves/removing delimiters



Hello,

I have a slight problem with writing divisi strings on two staves. If I
write the parts on two independent staves and connect them with a square
delimiter, later on in the score when the strings are to play in unison, 
the
delimiter persists and I haven't found a way to remove it. I came up with 
a

somewhat inelegant solution to this problem, which is to simply write the
divisi sections on a grand staff with a switched out delimiter and making 
a

new hidden staff which contains the unison music. This works rather well,
except for the fact that the hidden staff shows up on the first page. Is
there any way to hide the staff absolutely until it is needed? If not, 
does

anybody know how to remove a delimiter mid-score?

Thanks in advance.

P.S.: If it wasn't obvious, this is what I mean:

\version "2.16.0"

\score {
<<
\new GrandStaff <<
\new Staff { s1 }
\new Staff { s1 }
>>
% Should be hidden
\new Staff { s1 }
>>
}


Is:

\layout {
\context {
\Staff \RemoveEmptyStaves
\override VerticalAxisGroup.remove-first = ##t
}
}

what you're looking for?

--
Phil Holmes 



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


Re: Hiding specific staves/removing delimiters

2014-03-02 Thread Bridge
Phil Holmes-2 wrote
> Is:
> 
> \layout {
> \context {
> \Staff \RemoveEmptyStaves
> \override VerticalAxisGroup.remove-first = ##t
> }
> }
> 
> what you're looking for?
> 
> --
> Phil Holmes 
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

As a last resort, that would work, but there are many more instruments apart
from the strings in question (violas) and I prefer to have them all visible
on the first page. I was more looking for a way to hide only one specific
staff instead of all of them. Though it is useful to know how to do that, so
thanks.





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hiding-specific-staves-removing-delimiters-tp160023p160025.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: Hiding specific staves/removing delimiters

2014-03-02 Thread Phil Holmes
- Original Message - 
From: "Bridge" 

To: 
Sent: Sunday, March 02, 2014 1:49 PM
Subject: Re: Hiding specific staves/removing delimiters



Phil Holmes-2 wrote

Is:

\layout {
\context {
\Staff \RemoveEmptyStaves
\override VerticalAxisGroup.remove-first = ##t
}
}

what you're looking for?

--
Phil Holmes


___
lilypond-user mailing list



lilypond-user@



https://lists.gnu.org/mailman/listinfo/lilypond-user


As a last resort, that would work, but there are many more instruments 
apart
from the strings in question (violas) and I prefer to have them all 
visible

on the first page. I was more looking for a way to hide only one specific
staff instead of all of them. Though it is useful to know how to do that, 
so

thanks.



Try:

\new Score {
<<
\new Staff { R1 R1 R1 R1 R1 R1 R1 R1 }
\new Staff { R1 R1 R1 R1 R1 R1 R1 R1 }
\new Staff { R1 R1 R1 R1 R1 R1 R1 R1 }
\new Staff \with { \override VerticalAxisGroup.remove-first = ##t } { R1 R1 
R1 R1 R1 R1 R1 R1 }



}

\layout {
\context {
\Staff \RemoveEmptyStaves
}
}



--
Phil Holmes 



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


coloring a complete score

2014-03-02 Thread Urs Liska

Hi all,

is there a way to color a complete score with one color?

That is, is there any generic or base object whose color property could 
be overridden to apply to _everything_ in a score?


Or is there a way to color the resulting score output, be it svg or pdf?

TIA
Urs

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


Re: eps picture embedding into score

2014-03-02 Thread Pierre Perol-Schneider
2014-03-02 15:05 GMT+01:00 Mátyás Seress :

> Hi Pierre,
>
> unfortunately it still doesn't work. I attached a dummy code and a
> picture, to explain how I want it: the picture should be inserted before
> all the other vectorgraphical scores.
> But in the documentation it says for \epsfile you have to use a \markup
> environment, so basically you have to attach the picture to a written note.
> That's not what I want.
>
> Is there any hope to solve this?
>
> Thx,
>
> Mat
>
>
\markup\epsfile #X #10 #"C:/smiley.eps"

would do the job !
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond benchmarks - request for proposals

2014-03-02 Thread Jan Warchoł
Hi,

i was cc'ed, so despite my "official" absence i'll reply :-)

2014-03-01 12:01 GMT+01:00 Urs Liska :

> Hello LilyPond users,
>
> LilyPond's declared claim is "automated engraving", and we're often
> talking about how exceptionally good its default results are. But we're
> also often talking about stuff that isn't good enough by default (see for
> example Janek's blog post about how many slurs and ties he had to fix for
> our big Fried edition).
> [...]
> These benchmarks would automatically be built for any new version of the
> website and give us a clear picture of what has to be done to achieve
> perfection.
>
> Today I'd like to ask for suggestions: a) to assemble a set of score
> _types_ to be used in that benchmark series, b) possibly for concrete
> suggestions.
>


A choral piece:
https://github.com/janek-warchol/eja-mater-demonstration
In the first commit (566213f) you can see the "raw" (no manual adjustments)
version, and the following commits add adjustments one-by-one, often with
rationale in the commit message.  I think this is a very good resource for
benchmarking.

Another two examples are here (too big for an attachment, so they'll be
availabe in my Dropbox for a couple weeks)
https://www.dropbox.com/sh/6v9z7tapu5n48k6/htaH4MQlcQ
There's one solo violin fragment with many problems marked, and another
choral piece with a lot of markings (i know that the pdf is compiled with
an old lily version, but >90% of the problems marked there remain in
2.19.3). Unfortunately the sources for the choral piece are partly broken -
lyrics don't align with appropriate notes (but it's easy to fix that).  The
meaning of the colored markings is explained in another pdf.

I hope it'll be useful.

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


composing Scheme identifiers?

2014-03-02 Thread Simon Albrecht

Hello,

I currently work on a mass setting by Palestrina. The music is stored in 
variables sopranoK, altoK, tenorK, bassK, sopranoVerseK, …, sopranoG, 
altoG, etc. etc. for the different parts and movements. Now since I need 
a separate \score block for each movement, but these score blocks will 
all be identical except for the single letter appended to the variables, 
I thought it would be elegant to define a music function like (in short)

scoreSetup =
#(define-music-function
(parser location letter)
(string?)
#{
\score {
\new Staff = "bassus" \with { instrumentName = "bassus" }
% this is supposed to give the same result as @code{\bassK} for example…
#(string->identifier (string-append "bass" $letter))
}
#}
)

Unfortunately, there is no such procedure like string->identifier in 
Scheme and string->symbol doesn’t work. Can you help me (as a newbie in 
Scheme) to find a working solution?

Thanks in advance,

Simon

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


Re: coloring a complete score

2014-03-02 Thread Pierre Perol-Schneider
2014-03-02 15:13 GMT+01:00 Urs Liska :

> Hi all,
>

Hi Urs,


> is there a way to color a complete score with one color?
>

=> http://lsr.di.unimi.it/LSR/Item?id=443

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


Re: coloring a complete score

2014-03-02 Thread Urs Liska

Am 02.03.2014 15:20, schrieb Pierre Perol-Schneider:

2014-03-02 15:13 GMT+01:00 Urs Liska :


Hi all,



Hi Urs,



is there a way to color a complete score with one color?



=> http://lsr.di.unimi.it/LSR/Item?id=443

HTH
Pierre


Thanks, works perfectly.

I could simply put it in the \layout block.

Urs

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


Re: composing Scheme identifiers?

2014-03-02 Thread David Kastrup
Simon Albrecht  writes:

> Hello,
>
> I currently work on a mass setting by Palestrina. The music is stored
> in variables sopranoK, altoK, tenorK, bassK, sopranoVerseK, …,
> sopranoG, altoG, etc. etc. for the different parts and movements. Now
> since I need a separate \score block for each movement, but these
> score blocks will all be identical except for the single letter
> appended to the variables, I thought it would be elegant to define a
> music function like (in short)
> scoreSetup =
> #(define-music-function
> (parser location letter)
> (string?)
> #{
> \score {
> \new Staff = "bassus" \with { instrumentName = "bassus" }
> % this is supposed to give the same result as @code{\bassK} for example…
> #(string->identifier (string-append "bass" $letter))
> }
> #}
> )
>
> Unfortunately, there is no such procedure like string->identifier in
> Scheme and string->symbol doesn’t work. Can you help me (as a newbie
> in Scheme) to find a working solution?

$(ly:parser-lookup parser (string->symbol (string-append "bass" letter)))

-- 
David Kastrup

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


Ancient tablature template

2014-03-02 Thread Schneidy
Hi LilyPonders,

I'm working on an ancient tablature form.
The idea is to get an simple tool that helps people to rewrite ancient tab
together with a standard modern score.

Herewith is a first attempt including 3 outputs :
1. a worksheet including three staves, to help dispaching voices, a rhythm
and a tab to control the ancient tab output.
2. a clean ancient tab
3. a guitar score (draft) with all possible annotations and easily
transposable for a futur clean score.

Tab letters are taken from the Bravura font.
Lettrine is from an easy-to-find free font called "Arabesque Initialen".

Please be so kind to give me your opinion (good or bad) and ideas about this
template.

Cheers,
~Pierre

MorlayeContreclare.pdf
  

PS. Facsimile is just for info. In this example the need of a three staves
is not obvious but will surely be for instruments like lute.
 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ancient-tablature-template-tp160034.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: Hiding specific staves/removing delimiters

2014-03-02 Thread Bridge
That works thanks. Do you by any chance know how to remove delimiters though?
I created a StaffGroup for the clarinets and even when only the bass
clarinet is playing the delimiter is still drawn. I have tried everything,
but the documentation is so unclear in this regard that I do not have any
clue what to do. This is my latest attempt:

\set StaffGroup.systemStartDelimiter.style #'bar-line

Unsurprisingly, it doesn't do anything, but I really cannot make any sense
of how to navigate grob interfaces or what the proper syntax is. The
documentation should really include a more straightforward tutorial of
interfaces if you ask me.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hiding-specific-staves-removing-delimiters-tp160023p160035.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


Breathe mark problem

2014-03-02 Thread Peter Gentry
Lilypond 2.18.0 - Windows Vista Home Premium (fully patched)- Frescobaldi 2.0.13

When \breathe is used with beams the score fails to compile with "unexpected 
EVENT_IDENTIFIER"

{
 \clef "treble"
 \time 4/4
 g''8 [  g'8 (  ]  a'8 [  f'8 ]  bes'8 \breathe )   [  bes'8 (  ]  c''8 [  f'8 
] )  |  % 37
}

It doesn't appear to matter which note is followed by \breathe if there is a 
beam it fails - take baems away and it works. Does
anyone know a workaround or tweak to achieve a breath mark between two beamed 
notes?

Thanks in advance

regards
Peter Gentry 



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


Re: Breathe mark problem

2014-03-02 Thread David Kastrup
"Peter Gentry"  writes:

> Lilypond 2.18.0 - Windows Vista Home Premium (fully patched)- Frescobaldi 
> 2.0.13
>
> When \breathe is used with beams the score fails to compile with
> "unexpected EVENT_IDENTIFIER"
>
> {
>  \clef "treble"
>  \time 4/4
>  g''8 [ g'8 ( ] a'8 [ f'8 ] bes'8 \breathe ) [ bes'8 ( ] c''8 [ f'8 ]
> ) | % 37
> }
>
> It doesn't appear to matter which note is followed by \breathe if
> there is a beam it fails - take baems away and it works. Does anyone
> know a workaround or tweak to achieve a breath mark between two beamed
> notes?

\breathe is not an articulation but rather a music event of its own.  So
it has to come after any articulations on the previous note.

{
 \clef "treble"
 \time 4/4
 g''8 [ g'8 ( ] a'8 [ f'8 ] bes'8 ) [ \breathe bes'8 ( ] c''8 [ f'8 ]
) | % 37
}


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


RE: Breathe mark problem

2014-03-02 Thread Peter Gentry

>-Original Message-
>From: David Kastrup [mailto:d...@gnu.org] 
>Sent: Sunday, March 02, 2014 4:28 PM
>To: Peter Gentry
>Cc: lilypond-user@gnu.org
>Subject: Re: Breathe mark problem
>
>"Peter Gentry"  writes:
>
>> Lilypond 2.18.0 - Windows Vista Home Premium (fully patched)- 
>> Frescobaldi 2.0.13
>>
>> When \breathe is used with beams the score fails to compile with 
>> "unexpected EVENT_IDENTIFIER"
>>
>> {
>>  \clef "treble"
>>  \time 4/4
>>  g''8 [ g'8 ( ] a'8 [ f'8 ] bes'8 \breathe ) [ bes'8 ( ] c''8 [ f'8 ]
>> ) | % 37
>> }
>>
>> It doesn't appear to matter which note is followed by \breathe if 
>> there is a beam it fails - take baems away and it works. Does anyone 
>> know a workaround or tweak to achieve a breath mark between 
>two beamed 
>> notes?
>
>\breathe is not an articulation but rather a music event of 
>its own.  So it has to come after any articulations on the 
>previous note.
>
>
Thanks David. 

I was put off by the manual reference   "note\breathe" as the syntax'
Placing \breathe after the "note)[" never occurred to me.
I think of a breath mark in the same light as other textural annotations - an 
indictaion or advice for the performer rather than an
event as such. We live and learn (and forget), thanks.


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


Re: composing Scheme identifiers?

2014-03-02 Thread Paul Morris
Simon Albrecht-2 wrote
> scoreSetup =
> #(define-music-function
> (parser location letter)
> (string?)
> #{
> \score {
> \new Staff = "bassus" \with { instrumentName = "bassus" }
> % this is supposed to give the same result as @code{\bassK} for example…
> #(string->identifier (string-append "bass" $letter))
> }
> #}
> )

I recently tried a music function like this.  I wanted it to return a score,
but I always got:

  error: music function cannot return #

I wonder whether music functions can return a score at all, or whether I'm
just doing something wrong? Here's a simple example that produces that error
for me:

\version "2.18.0"
scoreSetup =
#(define-music-function
  (parser location letter)
  (string?)
  #{
\score {
  { a b c d }
}
  #})
\scoreSetup "K"



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/composing-Scheme-identifiers-tp160030p160040.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: Hiding specific staves/removing delimiters

2014-03-02 Thread Kieren MacMillan
Hi,

> Do you by any chance know how to remove delimiters though?

Did you look at 
,
 in particular the collapse-height property?

> The documentation should really include a more straightforward tutorial
> of interfaces if you ask me.

You know this is an open-source project, right?

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


Re: composing Scheme identifiers?

2014-03-02 Thread David Kastrup
Paul Morris  writes:

> Simon Albrecht-2 wrote
>> scoreSetup =
>> #(define-music-function
>> (parser location letter)
>> (string?)
>> #{
>> \score {
>> \new Staff = "bassus" \with { instrumentName = "bassus" }
>> % this is supposed to give the same result as @code{\bassK} for example…
>> #(string->identifier (string-append "bass" $letter))
>> }
>> #}
>> )
>
> I recently tried a music function like this.  I wanted it to return a score,
> but I always got:
>
>   error: music function cannot return #

Ah, overlooked that one.

> I wonder whether music functions can return a score at all,

No, use define-scheme-function for that.  With regard to using that
scheme function as a score replacement then, it may conceivably work
only with recent versions of 2.19.  I think that I pulled some commits
for that purpose into 2.18, but that will only get available with 2.18.2
I think.

It's not really all that important as you can always leave out the
\score, and then do use a music function and \score { \scoreSetup ... }
as long as what you want in \scoreSetup does not include output or
header definitions.

-- 
David Kastrup

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


Re: Hiding specific staves/removing delimiters

2014-03-02 Thread David Kastrup
Kieren MacMillan  writes:

> Hi,
>
>> Do you by any chance know how to remove delimiters though?
>
> Did you look at
> ,
> in particular the collapse-height property?
>
>> The documentation should really include a more straightforward tutorial
>> of interfaces if you ask me.
>
> You know this is an open-source project, right?

More importantly, a volunteer-driven project.  While I'm getting paid by
LilyPond users, the deal is that I pick what I'm willing/able to focus
on (or my output becomes fabulously bad anyway), so it does not really
work much differently from true volunteers even for me.

Kieren's point was that "this should be done" suggestions of new tasks
will have a much better chance of getting accomplished if somebody picks
them as his personal goal and responsibility.

-- 
David Kastrup

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


Re: storing and manipulating multi-chunk texts

2014-03-02 Thread Kieren MacMillan
Hi Harm,

Didn’t want to let this slip by without a “thank you” — I appreciate the effort 
and result.

> below some hackery. Though, I'm not convinced about it! […]
> Not very attractive. I think it's the wrong way.
> At least it works for now:

In that light, I’m going to hold off using it for a while, to see if anyone 
else chimes in with comments/improvements.

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


Re: how close are we to having an "addAt" or "insertAt" feature?

2014-03-02 Thread Kieren MacMillan
Hi Jan-Peter,

> I added a function editionMMod, which takes a list of positions.

Spectacular! Thanks.

I’ll continue applying your edition engraver to my real-world files, and see 
what else comes up.
Hopefully, we’ll soon be able to give this to the rest of the community at 
large, in a truly easy-to-use and -understand format.

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


Re: Hiding specific staves/removing delimiters

2014-03-02 Thread Bridge
Much obliged, Kieren, I haven't seen that entry before though I knew what
collapse-height was but frustratingly not how to access it.
  
@David: I meant nothing in particular by my comment, and am always grateful
for the software which is one of the best out there, especially if you
consider the fact that it costs nothing. Forgive me if I seemed
disrespectful, it's just that a convenient reference for LilyPond syntax to
my knowledge doesn't exist yet. It's helpful to be able to see exactly what
properties and subproperties each grob allows the user to access and what
parameters those properties accept but if it's not clear what a
syntactically correct command that controls those properties looks like it
is difficult to put it to any use. Admittedly it has been some months since
I last consulted the documentation though.

Anyway, thanks again.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hiding-specific-staves-removing-delimiters-tp160023p160047.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: Hiding specific staves/removing delimiters

2014-03-02 Thread Kieren MacMillan
Hi,

> It's helpful to be able to see exactly what
> properties and subproperties each grob allows the user to access and what
> parameters those properties accept

I’ve often thought it would be relatively easy for someone with a [fairly 
limited] knowledge of Scheme and C++ (or maybe even just texinfo?) to write a 
script that would generate the following kind of documentation (e.g., in a new 
’properties’ doc section/file):

Notehead
duration-log (integer) => note-head::calc-duration-log
extra-spacing-height (pair of numbers) => 
ly:note-head::include-ledger-line-height
glyph-name (string) => note-head::calc-glyph-name
stem-attachment (pair of numbers) => ly:note-head::calc-stem-attachment
stencil (stencil) => ly:note-head::print
X-offset (number) => ly:note-head::stem-x-shift
Y-extent (pair of numbers) => # >
Y-offset (number) => # >
font-interface.font-encoding (symbol) => [whatever the default setting 
is]
font-interface.font-family (symbol) => [whatever the default setting is]
font-interface.font-name (string) => [whatever the default setting is]
font-interface.font-series (symbol) => [whatever the default setting is]
font-interface.font-shape (symbol) => [whatever the default setting is]
font-interface.font-size (number) => [whatever the default setting is]
etc.

After all, all that information is already in a computer-readable format, 
spread across the various docs (esp. Notation and Internals) and, in some 
cases, the code itself.

Again, though, it’s up to someone to take it on as a personal project, or it 
won’t get done.
I’ve not got nearly the coding chops to do it, nor the time or inkling to learn 
those chops — and my sponsorship budget is prioritized elsewhere.  =\

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


Interplay between keepWithTag and relative music

2014-03-02 Thread Patrick or Cynthia Karl
So I guess I don't understand the subject interplay.  Consider the following 
minimal example:

\version "2.18.0"

A = \relative g' {
  c c c c
  \tag #'up   { c' c c c }
  \tag #'down { c, c c c }
  c c c c
}

\score {
  \keepWithTag #'up \A
}

Based on the description on p477 of the 2.18.0 Notation manual (Untagged music 
and music tagged with name is included; music tagged with any other tag name is 
excluded.), I would expect the pdf output of the above snippet to be the same 
as that for:

\relative g' {
  c c c c
  c' c c c
  c c c c
}

But that's not what I get.  Instead it appears that the music tagged with 
"down" is actually included to the extent that the music in the 3rd measure is 
an octave lower than expected.  Note, too, that an entirely different result is 
obtained if the two \tag lines are interchanged.

I expect that all I need is a pointer to the appropriate documentation that 
explains this.  


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


using manually installed fonts on OSX

2014-03-02 Thread Kevin Patrick Barry
Dear LilyPond users,

I have installed a font on my system (Cardo) and would like my musical
examples to use the same font as the document they will appear in.
LilyPond, however, doesn't seem to recognise that the font exists on
my system.  I can use it fine in LibreOffice, and XeTeX, and it
appears in my font book, where it is a user-installed font. Perhaps
that means it is kept somewhere that LilyPond isn't looking?

I tried running the fc-cache file in the LilyPond install, which just
returned an error, so then I removed the .lilypond-fonts.cache-2/
folder, which forced lilypond to rebuild the font cache (which took
some time). But after this the problem remains (and LilyPond defaults
to putting a sans serif font in place of Cardo).

In my googling I came across a reference to something called
fontconfig, which finds fonts on OSX apparently, but the
website/documentation for it is clearly written for people who know
something about computers (not me), and I couldn't understand any of
it.

Is there any way to get this font working in LilyPond?  It is a
TrueType font. I am using OSX 10.9.2 and LilyPond 2.18.  A minimal
example would be something like:

\relative {
  c_\markup { \override #'(font-name . "Cardo") text }
}

Thanks in advance,
Kevin

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


Right-to-Left

2014-03-02 Thread Hosam Adeeb Nashed
Hi there,
I know Lilypond does have all what most musicians from my region (Egypt)
would dream of, especially customised key signatures.  Still, I dream of the
day I can write music from Right to Left.

You see, there used to be a time when all Christian hymns in Arabic were
written (=off-set) in the most natural direction for reading music under the
music staff.  Currently, this is not the case, unfortunately.

I don't know if, one day, the Lilypond core would permit this with a simple
/Option.  So, my question is this: Is it at all possible to programmatically
control the direction of the written music?  I haven't tried to delve into
the matter myself, preferring to first consult the Gurus before actually
trying; chasing ghosts isn't fun at all...

Thanks in advance for your cooperation.


Hosam Adeeb Nashed



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


Re: composing Scheme identifiers?

2014-03-02 Thread Paul Morris
David Kastrup wrote
>> I wonder whether music functions can return a score at all,
> 
> No, use define-scheme-function for that.  With regard to using that
> scheme function as a score replacement then, it may conceivably work
> only with recent versions of 2.19.  I think that I pulled some commits
> for that purpose into 2.18, but that will only get available with 2.18.2
> I think.

Ok, thanks!  I tried it as a scheme function with 2.19.2 and everything
worked fine.  


> It's not really all that important as you can always leave out the
> \score, and then do use a music function and \score { \scoreSetup ... }
> as long as what you want in \scoreSetup does not include output or
> header definitions.

That's true, but it's still nice to be able to do it (and learn how to do
it).

Thanks again,
-Paul




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/composing-Scheme-identifiers-tp160030p160056.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: using manually installed fonts on OSX

2014-03-02 Thread Henning Hraban Ramm
Am 2014-03-03 um 04:27 schrieb Kevin Patrick Barry :

> I have installed a font on my system (Cardo) and would like my musical
> examples to use the same font as the document they will appear in.
> LilyPond, however, doesn't seem to recognise that the font exists on
> my system.  I can use it fine in LibreOffice, and XeTeX, and it
> appears in my font book, where it is a user-installed font. Perhaps
> that means it is kept somewhere that LilyPond isn't looking?
> ...
> Is there any way to get this font working in LilyPond?  It is a
> TrueType font. I am using OSX 10.9.2 and LilyPond 2.18.  A minimal
> example would be something like:
> 
> \relative {
>  c_\markup { \override #'(font-name . "Cardo") text }
> }

Do you find an entry for Cardo in the list from 
lilypond -dshow-available-fonts x
?
Maybe it’s called Cardo-Regular or the like.


Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)





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


Re: Interplay between keepWithTag and relative music

2014-03-02 Thread David Kastrup
Patrick or Cynthia Karl  writes:

> So I guess I don't understand the subject interplay.  Consider the
> following minimal example:
>
> \version "2.18.0"
>
> A = \relative g' {
>   c c c c
>   \tag #'up   { c' c c c }
>   \tag #'down { c, c c c }
>   c c c c
> }
>
> \score {
>   \keepWithTag #'up \A
> }

> I expect that all I need is a pointer to the appropriate documentation
> that explains this.

http://lilypond.org/doc/v2.18/Documentation/notation/different-editions-from-one-source#using-tags>

Scroll down to:

Known issues and warnings

Calling \relative on a music expression obtained by filtering music
through \keepWithTag or \removeWithTag might cause the octave relations
to change, as only the pitches actually remaining in the filtered
expression will be considered. Applying \relative first, before
\keepWithTag or \removeWithTag, avoids this danger as \relative then
acts on all the pitches as-input.

-- 
David Kastrup

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


Re: using manually installed fonts on OSX

2014-03-02 Thread Martin Tarenskeen



On Mon, 3 Mar 2014, Henning Hraban Ramm wrote:


Am 2014-03-03 um 04:27 schrieb Kevin Patrick Barry :



\relative {
 c_\markup { \override #'(font-name . "Cardo") text }
}



Do you find an entry for Cardo in the list from
lilypond -dshow-available-fonts x
?
Maybe it’s called Cardo-Regular or the like.


Following up on this thread I have a feature request for the Frescobaldi 
developers:


Would it be possible to give us a tool where you can preview and select a 
font from a list and which then inserts the correct fontname in my

lilypond code? That would be nice.

MT

(P.S. I s it ok to post Frescobaldi related questions here, or does 
Frescobaldi have it's own mailinglist?)___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user