Re: lilypond-announce

2014-04-30 Thread Federico Bruni
Me too.. and the emails are in the archives:
http://lists.gnu.org/archive/html/info-lilypond/2014-04/threads.html



2014-04-30 0:17 GMT+02:00 Phil Holmes m...@philholmes.net:

  I sent notifications for both, and I received them back from the mailing
 list.  07/04/14 08:18 and 21/04/14 08:34.

 --
 Phil Holmes



 - Original Message -
 *From:* Daniel Rosen drose...@gmail.com
 *To:* lilypond-user Mailing 
 List(lilypond-user@gnu.org)lilypond-user@gnu.org)
 *Sent:* Tuesday, April 29, 2014 10:12 PM
 *Subject:* lilypond-announce

  I subscribe to the lilypond-announce list’s RSS feed so that I can get
 reliable, timely notifications of new versions being released, but the list
 was silent for each of the two most recent releases (2.19.4 or 2.19.5). Was
 this just an oversight?



 DR



 --

 ___
 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


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


Re: How to split system?

2014-04-30 Thread Alexander Kobel

On 04/30/2014 04:12 AM, Rus wrote:

Hello!
How to make a split system, like in the attached file?


Hi Rus,

this is going to be a few pointers to semi-solutions, that's all I can 
offer.


The closest I know which can be achieved (fairly) easily is what Simon 
Bailey used for the coda here:

  http://lists.gnu.org/archive/html/lilypond-user/2013-12/msg01086.html
Although I did not see his code, I assume he used \stopStaff, plus some 
tweaks like here:


http://stackoverflow.com/questions/8213679/lilypond-snippet-for-a-separate-coda

Thomas Morley wrote a more involved approach to allow for braces and 
brackets, which I only found a few minutes ago when looking for Simon's 
mail in the archive:

  http://lists.gnu.org/archive/html/lilypond-user/2013-12/msg01027.html
It also works for braces instead of brackets if you change the \addBar 
invocation (see, e.g., line 344 of the Lily file attached there) to { 
instead of [;  but you need to manually adjust the padding (kerning) 
and size of the brace.  In particular, the approach is not robust to 
changes in vertical spacing AFAICS.


I am not aware of any clean solution (\stopScore / \startScore, anyone?) 
that interrupts all staves at once and then redraws the Score-level 
braces and brackets at an arbitrary point in the system.  Also, I do not 
know whether you can access the positions of the original system braces 
at a certain point in time to manually draw them with the same settings. 
 I once spent several hours trying to figure out a way to do it, but 
it's beyond my current knowledge.  Which does /not/ mean impossible, of 
course...



HTH anyway,
Alexander

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


Re: Read multiple lines from an input-pipe

2014-04-30 Thread Urs Liska

Am 29.04.2014 13:26, schrieb Urs Liska:

Am 29.04.2014 12:24, schrieb Urs Liska:

Hi all,

I'm writing a set of functions to retrieve Git repository information
for use in a score:
https://github.com/openlilylib/snippets/tree/master/editorial-tools/git-commands



I'm using a function provided by Lars Haulin in a comment to a blog post
that is essentially the one for open-input-pipe given here:
https://www.gnu.org/software/guile/manual/html_node/Pipes.html

In addition to what is already there I want to write commands that use
more than one line of the Git commands' output (e.g. print the whole
commit message).
How would I approach that in Scheme?
What I need is for example a list of all strings that the command
outputs.
Do I have to write some kind of loop while the pipe is open?
Or is there a way to get the whole output as one string or a list of
strings?


Well, RTFM at least gives a start:
Using read-delimited instead of read-line returns the complete output in
one string.

And using (string-split git-function-name #\newline)
provides me with a list of strings.

Next step to find out will be to process this list of strings to a
usable markup function ...

Urs



I've tried around for quite some time now to no avail, probably having 
tried _everything_ except the right solution ;-) so I have to come back 
here and ask.


I now have this implementation:

#(use-modules (ice-9 popen))
#(use-modules (ice-9 rdelim))

#(define (strsystem_internal cmd)
   (let* ((port (open-input-pipe cmd))
  (str (read-delimited  port)))
 (close-pipe port)
 str))

#(define-markup-command (gitCommand layout props cmd) (markup?)
   (let* ((result (string-split
   (strsystem_internal (string-append git  cmd))
   #\newline)))
   (interpret-markup layout props
 (car result

If I feed it a command returning multiple lines, e.g.

\gitCommand status

this will create a markup with the first line of git status' result.

What way do I have to go to return either a \markuplist with all the 
lines or a number of \markups, one for each line?
If the command's result has only one line the function should only 
return a single \markup.
And it shouldn't hickup when the result is empty (i.e.. only an 
eof-object?).


Thanks for any suggestions.
Urs


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


Re: easyHeadsOn with numbers or solfege coded in {...}\\{..} construct

2014-04-30 Thread Pierre Perol-Schneider
2014-04-30 0:34 GMT+02:00 MING TSANG tsan...@rogers.com:

 Hi,Pierre:


Hi Emmanuel,


   1. How can I Just increase the size of numbers inside the
 easyNoteheadsOn option? Right now the numbers is too small. A larger number
 inside the notehead will provide better  sight reading.


Ez_noteheads-engraver is made so that the fontsize encreases with the
notehead size.
So with your code there is no other way than \override
Staff.StaffSymbol.staff-space


 2. How can I pass a parameter  (mySize} to \EzON? Now it is hard coded.
  e.g. \EzON #1.5


Please note that StaffSymbol.staff-space and font-size have no linear
relationship : #1.5 is the only point where both figures are merging.
If you need another size you'll have to find manually the right figures.
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Read multiple lines from an input-pipe

2014-04-30 Thread David Kastrup
Urs Liska u...@openlilylib.org writes:

 I've tried around for quite some time now to no avail, probably having
 tried _everything_ except the right solution ;-) so I have to come
 back here and ask.

 I now have this implementation:

 #(use-modules (ice-9 popen))
 #(use-modules (ice-9 rdelim))

 #(define (strsystem_internal cmd)
(let* ((port (open-input-pipe cmd))
   (str (read-delimited  port)))
  (close-pipe port)
  str))

 #(define-markup-command (gitCommand layout props cmd) (markup?)
(let* ((result (string-split
(strsystem_internal (string-append git  cmd))
#\newline)))
(interpret-markup layout props
  (car result

 If I feed it a command returning multiple lines, e.g.

 \gitCommand status

 this will create a markup with the first line of git status' result.

 What way do I have to go to return either a \markuplist with all the
 lines or a number of \markups, one for each line?

You use define-markup-command-list instead of define-markup-command,
interpret-markup-list instead of interpret-markup, and result instead of
(car result).

-- 
David Kastrup

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


Re: [SPAM] Re: Read multiple lines from an input-pipe

2014-04-30 Thread Urs Liska

Am 30.04.2014 10:00, schrieb David Kastrup:

Urs Liska u...@openlilylib.org writes:


I've tried around for quite some time now to no avail, probably having
tried _everything_ except the right solution ;-) so I have to come
back here and ask.

I now have this implementation:

#(use-modules (ice-9 popen))
#(use-modules (ice-9 rdelim))

#(define (strsystem_internal cmd)
(let* ((port (open-input-pipe cmd))
   (str (read-delimited  port)))
  (close-pipe port)
  str))

#(define-markup-command (gitCommand layout props cmd) (markup?)
(let* ((result (string-split
(strsystem_internal (string-append git  cmd))
#\newline)))
(interpret-markup layout props
  (car result

If I feed it a command returning multiple lines, e.g.

\gitCommand status

this will create a markup with the first line of git status' result.

What way do I have to go to return either a \markuplist with all the
lines or a number of \markups, one for each line?


You use define-markup-command-list instead of define-markup-command,
interpret-markup-list instead of interpret-markup, and result instead of
(car result).



Thank you for that. However,
(interpret-markup-list layout props result)
returns all strings concatenated to one line. In the documentation on 
http://www.lilypond.org/doc/v2.18/Documentation/extending/new-markup-list-command-definition.html 
the function

make-justified-lines-markup-list
is used. Is there something similar that I can use here?

Urs

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


Re: Read multiple lines from an input-pipe

2014-04-30 Thread Urs Liska

Am 30.04.2014 10:15, schrieb Urs Liska:

Am 30.04.2014 10:00, schrieb David Kastrup:

Urs Liska u...@openlilylib.org writes:


I've tried around for quite some time now to no avail, probably having
tried _everything_ except the right solution ;-) so I have to come
back here and ask.

I now have this implementation:

#(use-modules (ice-9 popen))
#(use-modules (ice-9 rdelim))

#(define (strsystem_internal cmd)
(let* ((port (open-input-pipe cmd))
   (str (read-delimited  port)))
  (close-pipe port)
  str))

#(define-markup-command (gitCommand layout props cmd) (markup?)
(let* ((result (string-split
(strsystem_internal (string-append git  cmd))
#\newline)))
(interpret-markup layout props
  (car result

If I feed it a command returning multiple lines, e.g.

\gitCommand status

this will create a markup with the first line of git status' result.

What way do I have to go to return either a \markuplist with all the
lines or a number of \markups, one for each line?


You use define-markup-command-list instead of define-markup-command,
interpret-markup-list instead of interpret-markup, and result instead of
(car result).



Thank you for that. However,
(interpret-markup-list layout props result)
returns all strings concatenated to one line. In the documentation on
http://www.lilypond.org/doc/v2.18/Documentation/extending/new-markup-list-command-definition.html
the function
make-justified-lines-markup-list
is used. Is there something similar that I can use here?

Urs



OK, I found my way through it myself :-) The working code is

#(define-markup-command (gitCommand layout props cmd) (markup?)
   (let* ((result (string-split
   (strsystem_internal (string-append git  cmd))
   #\newline)))
   (interpret-markup layout props
 #{ \markup \column #result #})))

Best
Urs


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


Re: [SPAM] Re: Read multiple lines from an input-pipe

2014-04-30 Thread David Kastrup
Urs Liska u...@openlilylib.org writes:

 Thank you for that. However,
 (interpret-markup-list layout props result)
 returns all strings concatenated to one line.

No, it doesn't.  It returns a markup list, and if you put this into a
\markup without change, _then_ this list will be assembled into a single
line by implicitly calling \line on it.

With something like

\markuplist \column-lines \...

you get it properly spaced and broken across pages.  At least that's the
theory.

#(use-modules (ice-9 popen))
#(use-modules (ice-9 rdelim))

#(define (strsystem_internal cmd)
   (let* ((port (open-input-pipe cmd))
  (str (read-delimited  port)))
 (close-pipe port)
 str))

#(define-markup-list-command (gitCommand layout props cmd) (markup?)
  (let* ((result
	  (string-split
	   (strsystem_internal (string-append git  cmd))
	   #\newline)))
(interpret-markup-list layout props result)))

\markuplist \column-lines \gitCommand log -1

In current practice, it would appear that empty strings do not exactly
lead to expected behavior (I mean, wow), so you should use map to swap
them out for non-empty strings.

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


RE: lilypond-announce

2014-04-30 Thread Daniel Rosen
Weird, I could have sworn that I had checked for them on Gmane and that they 
weren't there, but apparently I didn't because they are. However, there does 
appear to be a problem with Gmane's RSS feed 
(http://rss.gmane.org/gmane.comp.gnu.lilypond.announce):

rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; 
xmlns=http://purl.org/rss/1.0/; 
xmlns:taxo=http://purl.org/rss/1.0/modules/taxonomy/xmlns:dc=http://purl.org/dc/elements/1.1/;
 xmlns:syn=http://purl.org/rss/1.0/modules/syndication/; 
xmlns:admin=http://webns.net/mvcb/;
  channel 
rdf:about=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce;
titlegmane.comp.gnu.lilypond.announce/title
link
  http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce
/link
description/
syn:updatePeriodhourly/syn:updatePeriod
  syn:updateFrequency1/syn:updateFrequency
  syn:updateBase1901-01-01T00:00+00:00/syn:updateBase
  items
rdf:Seq
  rdf:li 
rdf:resource=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce/599/
  rdf:li 
rdf:resource=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce/598/
  rdf:li 
rdf:resource=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce/597/
...

DR

From: Phil Holmes [mailto:m...@philholmes.net]
Sent: Tuesday, April 29, 2014 6:18 PM
To: Daniel Rosen; lilypond-user@gnu.org
Subject: Re: lilypond-announce

I sent notifications for both, and I received them back from the mailing list.  
07/04/14 08:18 and 21/04/14 08:34.

--
Phil Holmes


- Original Message -
From: Daniel Rosenmailto:drose...@gmail.com
To: lilypond-user Mailing 
List(lilypond-user@gnu.org)mailto:lilypond-user@gnu.org)
Sent: Tuesday, April 29, 2014 10:12 PM
Subject: lilypond-announce

I subscribe to the lilypond-announce list's RSS feed so that I can get 
reliable, timely notifications of new versions being released, but the list was 
silent for each of the two most recent releases (2.19.4 or 2.19.5). Was this 
just an oversight?

DR


___
lilypond-user mailing list
lilypond-user@gnu.orgmailto: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


A new printed work done with LilyPond

2014-04-30 Thread Francisco Vila
Hello all,

I just wanted to share with you a few photos of this book.

https://secure.flickr.com/photos/pacovila/sets/72157644486452813/

It is published under noncommercial+nonderivative license, but I plan
to publish my own work (this is: the lilypond code itself) under
attribution+sharealike license.

The book, in Spanish, comprises twelve newly composed Christmas carols
talking about my region, Extremadura. It is intended to be used as
teaching materials for music lessons. The authors have written
didactic notes for each and recorded the music on a CD.

The music typesetting work is rather simple, with a minimum of tweaks.
Also, technical needs of this sort of notation aren't complex.

We are fairly satisfied with the results. It is not on sale yet (no
funds for that). What you see in the photos is a b/w homemade print.

Cheers,
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: A new printed work done with LilyPond

2014-04-30 Thread Urs Liska

Am 30.04.2014 13:35, schrieb Francisco Vila:

Hello all,

I just wanted to share with you a few photos of this book.

https://secure.flickr.com/photos/pacovila/sets/72157644486452813/

It is published under noncommercial+nonderivative license, but I plan
to publish my own work (this is: the lilypond code itself) under
attribution+sharealike license.

The book, in Spanish, comprises twelve newly composed Christmas carols
talking about my region, Extremadura. It is intended to be used as
teaching materials for music lessons. The authors have written
didactic notes for each and recorded the music on a CD.

The music typesetting work is rather simple, with a minimum of tweaks.
Also, technical needs of this sort of notation aren't complex.

We are fairly satisfied with the results. It is not on sale yet (no
funds for that). What you see in the photos is a b/w homemade print.

Cheers,



Nice one!
Not everything has to be complex ;-)

Urs

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


Re: A new printed work done with LilyPond

2014-04-30 Thread Pierre Perol-Schneider
2014-04-30 13:35 GMT+02:00 Francisco Vila paconet@gmail.com:

 Hello all,


Hi Francisco,


 I just wanted to share with you a few photos of this book.


Congrats !
Cheers,
~Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A new printed work done with LilyPond

2014-04-30 Thread Ralph Palmer
Very nice, Francisco! Thank you for sharing.
Ralph

On Wed, Apr 30, 2014 at 7:35 AM, Francisco Vila paconet@gmail.comwrote:

 Hello all,

 I just wanted to share with you a few photos of this book.

 https://secure.flickr.com/photos/pacovila/sets/72157644486452813/


-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A new printed work done with LilyPond

2014-04-30 Thread quicksilvercarr...@yahoo.co.uk

Very neat, nicely presented

Graheme

On 30/04/14 12:35, Francisco Vila wrote:

Hello all,

I just wanted to share with you a few photos of this book.





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


Re: A new printed work done with LilyPond

2014-04-30 Thread Marc Hohl

Am 30.04.2014 13:35, schrieb Francisco Vila:
[...]

We are fairly satisfied with the results.


Yes, it looks very nice indeed!

Marc


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


Re: Automated custom clef settings for custom staves (revisited)

2014-04-30 Thread Paul Morris
Paul Morris wrote
 I wrote a music function that takes music with standard clef settings and
 returns the music with customized clef settings.  

Here's an improved version that also handles cue clefs.  Designed for
treble, bass, and alto clefs, so it may not work with other clefs (with more
work they could be added).

Cheers,
-Paul


%%%

\version 2.18.2

clefsMod =
#(define-music-function (parser location mus) (ly:music?)
   Takes music with standard clef settings for standard staff, and
returns the music with custom clef settings for custom staff.
Only tested with treble, bass, and alto clefs.
   (let ((current-glyph ))
 (music-map
  (lambda (m)
(let ((sym (ly:music-property m 'symbol)))
  (cond

   ((or (eq? 'clefGlyph sym)
(eq? 'cueClefGlyph sym))
(set! current-glyph (ly:music-property m 'value)))

   ((or (eq? 'clefPosition sym)
(eq? 'cueClefPosition sym))
(ly:music-set-property! m 'value
  (* 5/2 (ly:music-property m 'value

   ((or (eq? 'middleCClefPosition sym)
(eq? 'middleCCuePosition sym))
(ly:music-set-property! m 'value
  (+ (round (* 12/7 (ly:music-property m 'value)))
(cond
 ((equal? current-glyph clefs.G) -2)
 ((equal? current-glyph clefs.F) 2)
 (else 0) ;; includes clefs.C

   ((or (eq? 'clefTransposition sym)
(eq? 'cueClefTransposition sym))
(ly:music-set-property! m 'value
  (round (* 12/7 (ly:music-property m 'value)))
m)
  mus)))

someMusic = \relative f' {
  \clef treble
  c8 d e f g a b c
  \clef alto
  c,, d e f g a b c
  \clef bass
  c,, d e f g a b c
  \clef treble_8
  c d e f g a b c
}

% standard staff
\new Staff {
  \someMusic
}

% custom staff (chromatic scale based staff)
\new Staff \with {
  staffLineLayoutFunction = #ly:pitch-semitones
  \override StaffSymbol.line-positions = #'(-8 -4 4 8)
  \override Stem.no-stem-extend = ##t
}
\clefsMod {
  \someMusic
} 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Automated-custom-clef-settings-for-custom-staves-revisited-tp161934p161960.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


Namespace for includes

2014-04-30 Thread Knute Snortum
Is there anything like a namespace for include files?  Like JSP or XML has.
 I'm finding that if I have a lot of includes in my file, I will get
clashes in variable definitions.  For instance a variable like \global will
have to become \courAllStaves, where cour is the namespace.  This is a
very primitive form of namespacing from the BASIS days.  Is there anything
better?

(I don't know Scheme very well, so if the answer is, Write it in Scheme,
I'll make an effort to learn more.)

Knute Snortum
(via Gmail)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bertrand Bordage - LilyPond

2014-04-30 Thread Pierre Perol-Schneider
2014-04-30 14:46 GMT+02:00 Nir Somoto n...@somoto.net:

 Hi,

 I recently downloaded *LilyPond *and found it very useful and interesting.
 I have a few suggestions and I'm looking for the person responsible for
 business development.

 Can you please refer me to the relevant contact?


I'm afraid we do not make business here.
See for more info : http://en.wikipedia.org/wiki/GNU_Project
Cheers
~Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Automated custom clef settings for custom staves (revisited)

2014-04-30 Thread Pierre Perol-Schneider
2014-04-30 20:03 GMT+02:00 Paul Morris p...@paulwmorris.com:


 Here's an improved version that also handles cue clefs.  Designed for
 treble, bass, and alto clefs, so it may not work with other clefs (with
 more
 work they could be added).


Hi Paul,
I'm sure I've already seen this code or part of it...
Have you send it somewhere else ?
Anyway I'm not a client for this kind of notation but I appreciate the idea.
Thanks for sharing,

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


slur slope question

2014-04-30 Thread Karol Majewski
Please, take a look at the attachment. This is excerpt from one the old Henle 
Verlag editions. Although slur goes from bes to bes, it is sloped - because of 
staccato. And it looks absolutely fine.

Now, look how LilyPond handles this:

{
 bes8 ( d'16 c'16 bes4 -. )
}

Here, there is this gap between first note head and slur start point, which 
doesn't look good. Of course I know that I can tweak this via \offsetPositions 
(http://lsr.di.unimi.it/LSR/Item?id=748). But the question is: can I change 
this behavior in more general way? For example by overriding one of Slur.detail 
parameters?

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


Re: How to split system?

2014-04-30 Thread Nick Payne

On 30/04/14 12:12, Rus wrote:

Hello!
How to make a split system, like in the attached file?


You can adapt something like this:

\relative c'' {

\repeat unfold 4 { c1 }

\bar ||

\cadenzaOn \stopStaff

\repeat unfold 4 { % Adjust unfold counter to manipulate indentation

s

\noBreak

\bar 

}

\cadenzaOff \startStaff

\bar ||

\repeat unfold 4 { c1 }

\bar |.

}


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


Re: Automated custom clef settings for custom staves (revisited)

2014-04-30 Thread Paul Morris
Schneidy wrote
 Hi Paul,
 I'm sure I've already seen this code or part of it...
 Have you send it somewhere else ?
 Anyway I'm not a client for this kind of notation but I appreciate the
 idea.
 Thanks for sharing,

Hi Pierre,
No I haven't posted this particular code anywhere else...  (Well except
there's now a version of it in my clairnote-code.ly file here:
http://clairnote.org/software/ )  So I'm not sure, maybe it's similar to
some snippets in the LSR?  I looked at some of those for examples of using
music-map, but I can't remember which.  

Glad you appreciate the idea.  This code is not really useful outside of
this narrow and marginal use case, but the basic approach it takes (of
altering music with a music function as a way of separating content from
presentation) might be helpful for other things.

Cheers,
-Paul




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Automated-custom-clef-settings-for-custom-staves-revisited-tp161934p161967.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


How to create a text spanner with a half arrow on right side

2014-04-30 Thread Kate Sekula
I am trying to create a text span solid line that ends with just 1/2 of an 
arrowhead on the right side.  Is there a way to set a graphic, something 
simple like ...

samplePath =
  #'((moveto 0 0)
 (lineto -1 -.5)
 (closepath))

... as the right text for the spanner?  Something like:

\once \override TextSpanner.bound-details.right.text = \samplePath


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


Odp: How to create a text spanner with a half arrow on right side

2014-04-30 Thread Karol Majewski
\override TextSpanner.bound-details.right.text = \markup { \postscript 
#samplePath }

--Karol


 I am trying to create a text span solid line that ends with just 1/2 of an
 arrowhead on the right side.  Is there a way to set a graphic, something
 simple like ...
 
 samplePath =
   #'((moveto 0 0)
  (lineto -1 -.5)
  (closepath))
 
 ... as the right text for the spanner?  Something like:
 
 \once \override TextSpanner.bound-details.right.text = \samplePath
 
 
 ___
 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


Odp: How to create a text spanner with a half arrow on right side

2014-04-30 Thread Karol Majewski
And of course:

samplePath =
#
  0 0 moveto
  2 0 lineto
  0 1 lineto
  closepath
  fill
  stroke




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


Re: easyHeadsOn with numbers or solfege coded in {...}\\{..} construct

2014-04-30 Thread MING TSANG
Pierre:

On Wednesday, April 30, 2014 3:59:03 AM, Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com wrote:
 
2014-04-30 0:34 GMT+02:00 MING TSANG tsan...@rogers.com:

Hi,Pierre:

Hi Emmanuel,
 
1. How can I Just increase the size of numbers inside the easyNoteheadsOn 
option? Right now the numbers is too small. A larger number inside the notehead 
will provide better  sight reading.

Ez_noteheads-engraver is made so that the fontsize encreases with the notehead 
size. 
So with your code there is no other way than \override 
Staff.StaffSymbol.staff-space 
 

2. How can I pass a parameter  (mySize} to \EzON? Now it is hard coded.  e.g. 
\EzON #1.5 

Please note that StaffSymbol.staff-space and font-size have no linear 
relationship : #1.5 is the only point where both figures are merging. 

If you need another size you'll have to find manually the right figures.

Cheers,

Pierre



Thank you for the explanation.
Since the current code cannot make the number larger in the notehead, is there 
any other way of coding that will accomplish this? If this is not possible, it 
is OK.

I remove mySize from the Ez-noteheads-engraver. 
Then I put mySize = #1.5 before \include Ez-noteheads-engraver.ly, and it 
works fine. I must remember to code  mySize =  before the \include, otherwise 
it won't compile. 

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


Re: How to create a text spanner with a half arrow on right side

2014-04-30 Thread Pierre Perol-Schneider
2014-05-01 0:22 GMT+02:00 Kate Sekula ksek...@usao.edu:

 I am trying to create a text span solid line that ends with just 1/2 of an
 arrowhead on the right side.


Try :


\version 2.18.2

mySpan = {

   \once\override TextSpanner.style = #'line

   \once\override TextSpanner.thickness = #2 % or whatever

   \once\override TextSpanner.bound-details.right.padding = #-2

   \once\override TextSpanner.bound-details.right.text = \markup {

 \hspace #-1

 \draw-line #'(-1 . -.5)

   }

}


% example :


\relative c'' {

   \mySpan

   c4\startTextSpan c c c\stopTextSpan

}





HTH,

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