Re: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread tisimst
This worked for me:

%-- SNIP -

#(append! default-script-alist
   (list
`(mon-articulation
   . (
   (text . ,#{ \markup \essai #})
   (stencil . ,ly:text-interface::print)
   ; any other properties
   (toward-stem-shift-in-column . 0.0)
   (padding . 0.20)
   (avoid-slur . around)
   (direction . ,UP)

%-- SNIP -

HTH,
Abraham

On Mon, Apr 6, 2015 at 7:13 AM, Schneidy [via Lilypond] 
ml-node+s1069038n174112...@n5.nabble.com wrote:

 Hi All,

 I've followed this conversation with a lot of interest:

 http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html

 However, there's something I'm missing.
 I'm trying to put my own glyph into a new articulation script without
 success: I still have to go through the feta glyph and change the stencil
 afterward.
 Is there a simple way to avoid this additional workaround ?

 TIA
 Pierre

  Snippet 
 \version 2.19.2

 %% Nothing realistic here, 'essai' is just to show something:
 essai =
 \markup
 \scale #'(-2 . -2)
 \override #'(filled . #t)
 \path #0.01
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))


 %% New articulation:
 #(append! default-script-alist
(list
 `(mon-articulation
. (
;; In order to put my own glyph named 'essai'
;; I want to modify this line:
(script-stencil . (feta . (thumb . thumb)))
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.20)
(avoid-slur . around)
(direction . ,UP)

 monArticulation = #(make-articulation mon-articulation)

 %% workaround to show what I'd like to get:
 monArticulation-workaround =
   #(define-event-function
  (parser location)
  ()
  #{
-\tweak stencil #(lambda
  (grob)
  (grob-interpret-markup grob essai))
\monArticulation
  #})


 {
   c'\monArticulation
   c'\monArticulation-workaround
 }

 \layout {
   \context {
 \Score
 scriptDefinitions = #default-script-alist
   }
 }

 %%


 ___
 lilypond-user mailing list
 [hidden email] http:///user/SendEmail.jtp?type=nodenode=174112i=0
 https://lists.gnu.org/mailman/listinfo/lilypond-user
  ~Pierre


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lilypond.1069038.n5.nabble.com/Custom-glyph-articulation-WAS-Creating-new-articulation-adding-to-an-internal-alist-tp174112.html
  To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
 To unsubscribe from Lilypond, click here
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=
 .
 NAML
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-glyph-articulation-WAS-Creating-new-articulation-adding-to-an-internal-alist-tp174112p174125.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: Lilyjazz from a blind user

2015-04-06 Thread Urs Liska

Am 06.04.2015 um 19:40 schrieb tisimst:

Daniel,

Sorry for my late reply. I'll send you the source files later today for
those scores. Hopefully they won't be too hard to follow :-)



There will be usage-example files for most (or hopefully all) fonts 
available in openLilyLib soon, then together with complete source files.


--
Urs Liska
www.openlilylib.org

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


Re: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Abraham Lee
However, in version 2.18.2, I discovered that I had to change the markup
definition of essai slightly:

%-- SNIP -

\version 2.18.2

%% Nothing realistic here, 'essai' is just to show something:
essai =
\markup
*\center-align % --- not needed in latest unstable*
\scale #'(-2 . -2)
\override #'(filled . #t)
\path #0.01
#'((moveto0.58   0.91)
   (curveto   0.58   0.83   0.63   0.80   0.70   0.80)
   (curveto   0.90   0.80   0.87   1.15   1.11   1.28)
   (curveto   0.90   1.29   0.58   1.11   0.58   0.91))


%% New articulation:
#(append! default-script-alist
   (list
`(mon-articulation
   . (
   (text . ,#{ \markup \essai #})
   (stencil . ,ly:text-interface::print)
   ; any other properties
   (toward-stem-shift-in-column . 0.0)
   (padding . 0.30)
   (avoid-slur . around)
   ;(script-priority . 100)
   (direction . ,UP)

monArticulation = #(make-articulation mon-articulation)

{
  % this is what happens when treated as
  % a markup with other scripts (notice
  % the order and mis-alignment)
  c'^\essai^^!

  % this is what happens when treated as
  % a script/articulation with other scripts
  % (alignment is correct and order can
  % be controlled with script-priority property)
  c'\monArticulation^^!
}

\layout {
  \context {
\Score
scriptDefinitions = #default-script-alist
  }
}

%-- SNIP -

- Abraham

On Mon, Apr 6, 2015 at 11:15 AM, tisimst tisimst.lilyp...@gmail.com wrote:

 This worked for me:

 %-- SNIP -

 #(append! default-script-alist
(list
 `(mon-articulation
. (
(text . ,#{ \markup \essai #})
(stencil . ,ly:text-interface::print)
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.20)
(avoid-slur . around)
(direction . ,UP)

 %-- SNIP -

 HTH,
 Abraham

 On Mon, Apr 6, 2015 at 7:13 AM, Schneidy [via Lilypond] [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=174125i=0 wrote:

 Hi All,

 I've followed this conversation with a lot of interest:

 http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html

 However, there's something I'm missing.
 I'm trying to put my own glyph into a new articulation script without
 success: I still have to go through the feta glyph and change the stencil
 afterward.
 Is there a simple way to avoid this additional workaround ?

 TIA
 Pierre

  Snippet 
 \version 2.19.2

 %% Nothing realistic here, 'essai' is just to show something:
 essai =
 \markup
 \scale #'(-2 . -2)
 \override #'(filled . #t)
 \path #0.01
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))


 %% New articulation:
 #(append! default-script-alist
(list
 `(mon-articulation
. (
;; In order to put my own glyph named 'essai'
;; I want to modify this line:
(script-stencil . (feta . (thumb . thumb)))
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.20)
(avoid-slur . around)
(direction . ,UP)

 monArticulation = #(make-articulation mon-articulation)

 %% workaround to show what I'd like to get:
 monArticulation-workaround =
   #(define-event-function
  (parser location)
  ()
  #{
-\tweak stencil #(lambda
  (grob)
  (grob-interpret-markup grob essai))
\monArticulation
  #})


 {
   c'\monArticulation
   c'\monArticulation-workaround
 }

 \layout {
   \context {
 \Score
 scriptDefinitions = #default-script-alist
   }
 }

 %%


 ___
 lilypond-user mailing list
 [hidden email] http:///user/SendEmail.jtp?type=nodenode=174112i=0
 https://lists.gnu.org/mailman/listinfo/lilypond-user
  ~Pierre


 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://lilypond.1069038.n5.nabble.com/Custom-glyph-articulation-WAS-Creating-new-articulation-adding-to-an-internal-alist-tp174112.html
  To start a new topic under User, email [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=174125i=1
 To unsubscribe from Lilypond, click here.
 NAML
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



 --
 View this message in 

Re: Lilyjazz from a blind user

2015-04-06 Thread tisimst
Daniel,

Sorry for my late reply. I'll send you the source files later today for
those scores. Hopefully they won't be too hard to follow :-)

Regards,
Abraham

On Sat, Apr 4, 2015 at 1:35 PM, Daniel Contreras [via Lilypond] 
ml-node+s1069038n174065...@n5.nabble.com wrote:

 Hello everyone,
 I am attempting to use lilypond to write jazz charts for a small jazz
 combo, and possibly a jazz trombone ensemble. I downloaded and installed
 the lilyjazz fonts from fonts.openlilylib.org. My question is pertaining
 to the sample PDF documents that came with the zip file. Is there a way I
 could get the lilypond source files that these documents derived from? If
 that is not available, I really just want to know the proper way of
 notating cords/changes. I read the section in the notation reference about
 court names, however, how does one for example write A13 sharp 11?  Sorry
 for the long post, thank you for any answers that would point me in the
 right direction.

 Daniel Contreras
 ___
 lilypond-user mailing list
 [hidden email] http:///user/SendEmail.jtp?type=nodenode=174065i=0
 https://lists.gnu.org/mailman/listinfo/lilypond-user


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lilypond.1069038.n5.nabble.com/Lilyjazz-from-a-blind-user-tp174065.html
  To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
 To unsubscribe from Lilypond, click here
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=
 .
 NAML
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilyjazz-from-a-blind-user-tp174065p174127.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


Staff ends before \clef, \time and \key

2015-04-06 Thread Reinhold Kainhofer

Hi all,
It's been quite a while since I last used LilyPond, and I finally 
decided to wrap up the last, huge edition I was working on for quite a 
while.


Here is the first issue I'm running into:
If I end a piece with a \bar || and after that only want to indicate a 
key/clef/time change, the staff lines stop with the bar line. A typical 
use case is in a work with multiple movements to indicate attacca to 
the next movement, which is written as a separate \score. Minimal example:


\version 2.19.19
\relative c'' {
  c4 a b c
  \bar||
  \key f \major \time 3/4
}

Output PDF is attached.

Any idea how to keep the staff lines alive until the key/time/clef change?

Thanks,
Reinhold

--
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com/
 * Open Tools, Software Development, http://www.open-tools.net/
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com/

\version 2.19.19

\relative c'' {
  c4 a b c 
  \bar|| 
  \key f \major \time 3/4 \clef bass {}
}

staff_end.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Pierre Perol-Schneider
Hi Jacques,

Actually the aim here was more to understand how to modify the articulation
script than to find a workaround.
Thanks for trying though!
Cheers,
Pierre

2015-04-06 18:21 GMT+02:00 Jacques Menu imj-muz...@bluewin.ch:

 Hello Pierre,

 Not sure I got what you’re after, can this help? Would need to be offset
 to the right, though:

 
 \version 2.19.17

 myArticulationPath =
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))

 myArticulation =
 \markup {
   \scale #'(-2 . -2)
   \override #'(filled . #t)
   \path #0.01 #myArticulationPath
 }

 {
   c'^\myArticulation
 }
 

 Le 6 avr. 2015 à 15:42, Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com a écrit :

 Hi Urs,

 Tanks for the tip but I'm afraid not. Actually it says:
 Some extensions that have been made possible through extra glyphs in the
 Arnold font.

 What I'd like is to avoid using any of the existing or extra glyph, just a
 custom path drawing.

 Cheers,
 Pierre

 2015-04-06 15:24 GMT+02:00 Urs Liska u...@openlilylib.org:

 I don't know this out of my hat.
 But you may look into my file in openlilylib. It's ly/stylesheets
 /fonts/arnold-extensions.ily (I think).

 Good luck
 Urs

 Am 6. April 2015 15:12:49 MESZ, schrieb Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com:

 Hi All,

 I've followed this conversation with a lot of interest:

 http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html

 However, there's something I'm missing.
 I'm trying to put my own glyph into a new articulation script without
 success: I still have to go through the feta glyph and change the stencil
 afterward.
 Is there a simple way to avoid this additional workaround ?

 TIA
 Pierre

  Snippet 
 \version 2.19.2

 %% Nothing realistic here, 'essai' is just to show something:
 essai =
 \markup
 \scale #'(-2 . -2)
 \override #'(filled . #t)
 \path #0.01
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))


 %% New articulation:
 #(append! default-script-alist
(list
 `(mon-articulation
. (
;; In order to put my own glyph named 'essai'
;; I want to modify this line:
(script-stencil . (feta . (thumb . thumb)))
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.20)
(avoid-slur . around)
(direction . ,UP)

 monArticulation = #(make-articulation mon-articulation)

 %% workaround to show what I'd like to get:
 monArticulation-workaround =
   #(define-event-function
  (parser location)
  ()
  #{
-\tweak stencil #(lambda
  (grob)
  (grob-interpret-markup grob essai))
\monArticulation
  #})


 {
   c'\monArticulation
   c'\monArticulation-workaround
 }

 \layout {
   \context {
 \Score
 scriptDefinitions = #default-script-alist
   }
 }

 %%


 --

 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: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Pierre Perol-Schneider
Hi Abraham,

2015-04-06 19:34 GMT+02:00 Abraham Lee tisimst.lilyp...@gmail.com:

 However, in version 2.18.2, I discovered that I had to change the markup
 definition of essai slightly:


Good point, thanks !!



 %-- SNIP -

 \version 2.18.2

 %% Nothing realistic here, 'essai' is just to show something:
 essai =
 \markup
 *\center-align % --- not needed in latest unstable*
 \scale #'(-2 . -2)
 \override #'(filled . #t)
 \path #0.01
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))


 %% New articulation:
 #(append! default-script-alist
(list
 `(mon-articulation
. (
(text . ,#{ \markup \essai #})
(stencil . ,ly:text-interface::print)
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.30)
(avoid-slur . around)
;(script-priority . 100)
(direction . ,UP)


Just perfect !!! Thank you very much.
I've simplified it a little, but again, it's exactly what I was looking for
this morning:

#(append! default-script-alist
   (list
`(mon-articulation
   . (
   (stencil . ,ly:text-interface::print)
   (text . ,essai)
   ; any other properties
   (toward-stem-shift-in-column . 0.0)
   (padding . 0.20)
   (avoid-slur . around)
   (direction . ,UP)

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


RE: Staff ends before \clef, \time and \key

2015-04-06 Thread Mark Stephen Mrotek
Reinhold,

I have done it under 2.18 with and without the clef change and the staff lines 
continue.
Your snippet compiles correctly under 2.18.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of 
Reinhold Kainhofer
Sent: Monday, April 06, 2015 12:04 PM
To: lilypond-user@gnu.org
Subject: Staff ends before \clef, \time and \key

Hi all,
It's been quite a while since I last used LilyPond, and I finally decided to 
wrap up the last, huge edition I was working on for quite a while.

Here is the first issue I'm running into:
If I end a piece with a \bar || and after that only want to indicate a 
key/clef/time change, the staff lines stop with the bar line. A typical use 
case is in a work with multiple movements to indicate attacca to the next 
movement, which is written as a separate \score. Minimal example:

\version 2.19.19
\relative c'' {
   c4 a b c
   \bar||
   \key f \major \time 3/4
}

Output PDF is attached.

Any idea how to keep the staff lines alive until the key/time/clef change?

Thanks,
Reinhold

--
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com/
  * Open Tools, Software Development, http://www.open-tools.net/
  * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com/



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


Re: Staff ends before \clef, \time and \key

2015-04-06 Thread Cynthia Karl

 On Apr 6, 2015, at 2:04 PM, lilypond-user-requ...@gnu.org wrote:
 
 Message: 3
 Date: Mon, 06 Apr 2015 21:04:22 +0200
 From: Reinhold Kainhofer reinh...@kainhofer.com
 Subject: Staff ends before \clef, \time and \key
 
 Hi all,
 It's been quite a while since I last used LilyPond, and I finally 
 decided to wrap up the last, huge edition I was working on for quite a 
 while.
 
 Here is the first issue I'm running into:
 If I end a piece with a \bar || and after that only want to indicate a 
 key/clef/time change, the staff lines stop with the bar line. A typical 
 use case is in a work with multiple movements to indicate attacca to 
 the next movement, which is written as a separate \score. Minimal example:
 
 \version 2.19.19
 \relative c'' {
   c4 a b c
   \bar||
   \key f \major \time 3/4
 s8
 }
 
 Output PDF is attached.
 
 Any idea how to keep the staff lines alive until the key/time/clef change?
 
 Thanks,
 Reinhold
 
 -- 
 --
 Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com/
  * Open Tools, Software Development, http://www.open-tools.net/
  * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com/


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


Re: box around notes

2015-04-06 Thread Pierre Perol-Schneider
BTW, regarding the smiley up on the last rest, did you see this:
http://lsr.di.unimi.it/LSR/Item?id=904
JFYI, Cheers
Pierre

2015-04-07 0:04 GMT+02:00 Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com:

 Nice work Klaus, thanks for sharing.
 Cheers,
 Pierre

 2015-04-06 23:55 GMT+02:00 Klaus Blum benbigno...@gmx.de:

 Hi David,

 here's my first attempt to apply my drawing function to your project.
 Thanks
 again for sharing this really cool tool!

 I've played around with some settings, and I also experimented with the
 messed up dynamics problem when taking the engravers out of the score
 context.
 It works if you set outside-staff-priority to a value high enough:
\override MusicBoxer.outside-staff-priority = #1
\override Box.outside-staff-priority = #1
 However, this leads to a warning:
 Ein Objekt außerhalb der Notenzeile sollte eine Richtung haben, Vorgabe
 ist
 »nach oben«
 (Following the lilypond translation, this is the original warning message:
 #: axis-group-interface.cc:786
 msgid an outside-staff object should have a direction, defaulting to up)

 It seems that there is something taken into account for spacing
 calculations, but LilyPond doesn't know if this mysterious something is
 located above or below the score.

 By the way, if I put a box around an eighth note that is attached to a
 beam,
 the beam completely disappears. With MusicBoxer this is not the case.

 Unfortunately I cannot be much of help for any explanation because the way
 LilyPond acts behind the scenes is still a mystery to me...

 Cheers,
 Klaus

 boxer4.ly http://lilypond.1069038.n5.nabble.com/file/n174138/boxer4.ly
 boxer4.pdf http://lilypond.1069038.n5.nabble.com/file/n174138/boxer4.pdf
 



 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/box-around-notes-tp35581p174138.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



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


Re: Staff ends before \clef, \time and \key

2015-04-06 Thread Thomas Morley
2015-04-06 21:18 GMT+02:00 Mark Stephen Mrotek carsonm...@ca.rr.com:
 Reinhold,

 I have done it under 2.18 with and without the clef change and the staff 
 lines continue.
 Your snippet compiles correctly under 2.18.

 Mark

 -Original Message-
 From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
 [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of 
 Reinhold Kainhofer
 Sent: Monday, April 06, 2015 12:04 PM
 To: lilypond-user@gnu.org
 Subject: Staff ends before \clef, \time and \key

 Hi all,
 It's been quite a while since I last used LilyPond, and I finally decided to 
 wrap up the last, huge edition I was working on for quite a while.

 Here is the first issue I'm running into:
 If I end a piece with a \bar || and after that only want to indicate a 
 key/clef/time change, the staff lines stop with the bar line. A typical use 
 case is in a work with multiple movements to indicate attacca to the next 
 movement, which is written as a separate \score. Minimal example:

 \version 2.19.19
 \relative c'' {
c4 a b c
\bar||
\key f \major \time 3/4
 }

 Output PDF is attached.

 Any idea how to keep the staff lines alive until the key/time/clef change?

 Thanks,
 Reinhold

 --

Same buggy output with 2.19.16 and 2.19.17

Please file a bugreport.


Sorry to be of not more help righ now,
  Harm

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


documenting public Scheme functions

2015-04-06 Thread David Nalesnik
Hi list,

Here's something which I think will be useful to Schemers.

Public functions written in Scheme aren't documented (except in the
source).  (The list of Scheme functions in the Internals Reference
consists of functions defined in C++ which are available in Scheme.)  The
attached will produce a list of all such functions, giving useful
information including a documentation string where provided.  Markup
functions (which are documented elsewhere in their Lily syntax -- i.e.,
\rest for rest-markup -- can be omitted.)  You can also list the contents
of other modules.

It would be nice to include the source-file in the output, in case someone
wants to see the code.  How could I get at that info?

Also, pure-unpure-containers  aren't caught at this point.  How can I get
their docstrings?

Hope this proves useful!

David
\version 2.19.17

#(define (get-binding-list iface)
   (let* ((iface (resolve-module iface))
  (bindings (struct-ref iface 0)))
 (hash-map-list cons bindings)))

#(define (symbol-closure-list iface)
   (let* ((bindings (get-binding-list iface))
  (bindings
   (map
(lambda (b) (cons (car b) (variable-ref (cdr b
bindings))
  (closures
   (filter
(lambda (b) (closure? (cdr b)))
bindings))
  (closures
   (sort closures
 (lambda (x y) (symbol? (car x) (car y))
 closures))

#(define (omit-markup-functions lst)
   (remove
(lambda (elt)
  (string-contains (symbol-string (car elt)) markup))
lst))

#(define (symbol-closure-doc-list iface omit-markups?)
   (let* ((closures (symbol-closure-list iface))
  (closures (if omit-markups?
(omit-markup-functions closures)
closures)))
 (map (lambda (c)
(list
 (car c)
 (cdr c)
  (let ((doc (procedure-documentation (cdr c
(if doc doc DOCME
   closures)))

% UNCOMMENT THE FOLLOWING TO SEND TO A FILE:

%#(set-current-output-port (open-output-file closures.txt))

%% boolean determines whether markup commands (which are documented
%% in their Lily syntax) are included.

#(format #t ~:{~a~%~a~%~3t~s~%__~%~%~} (symbol-closure-doc-list '(lily) #t))

%#(format #t ~:{~a~%~a~%~3t~s~%__~%~%~} (symbol-closure-doc-list '(srfi srfi-1) #f))___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: documenting public Scheme functions

2015-04-06 Thread David Nalesnik
On Mon, Apr 6, 2015 at 6:53 PM, David Nalesnik david.nales...@gmail.com
wrote:



 Also, pure-unpure-containers  ...


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


Re: Reading a property

2015-04-06 Thread Klaus Blum
Hi everybody, 

here is an updated version where a small problem has been resolved (see
attachment).
I hope this can be useful for some people. If you have any suggestions,
please go ahead. Maybe I'll do some cleanup and turn it into a snippet...

Cheers, 
Klaus

ColorSpan-Showcase.ly
http://lilypond.1069038.n5.nabble.com/file/n174137/ColorSpan-Showcase.ly  
ColorSpan-Showcase.pdf
http://lilypond.1069038.n5.nabble.com/file/n174137/ColorSpan-Showcase.pdf  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Reading-a-property-tp173954p174137.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: box around notes

2015-04-06 Thread Klaus Blum
Hi David, 

here's my first attempt to apply my drawing function to your project. Thanks
again for sharing this really cool tool!

I've played around with some settings, and I also experimented with the
messed up dynamics problem when taking the engravers out of the score
context.
It works if you set outside-staff-priority to a value high enough:
   \override MusicBoxer.outside-staff-priority = #1
   \override Box.outside-staff-priority = #1
However, this leads to a warning:
Ein Objekt außerhalb der Notenzeile sollte eine Richtung haben, Vorgabe ist
»nach oben«
(Following the lilypond translation, this is the original warning message:
#: axis-group-interface.cc:786
msgid an outside-staff object should have a direction, defaulting to up)

It seems that there is something taken into account for spacing
calculations, but LilyPond doesn't know if this mysterious something is
located above or below the score.

By the way, if I put a box around an eighth note that is attached to a beam,
the beam completely disappears. With MusicBoxer this is not the case.

Unfortunately I cannot be much of help for any explanation because the way
LilyPond acts behind the scenes is still a mystery to me...

Cheers, 
Klaus

boxer4.ly http://lilypond.1069038.n5.nabble.com/file/n174138/boxer4.ly  
boxer4.pdf http://lilypond.1069038.n5.nabble.com/file/n174138/boxer4.pdf  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/box-around-notes-tp35581p174138.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: box around notes

2015-04-06 Thread Pierre Perol-Schneider
Nice work Klaus, thanks for sharing.
Cheers,
Pierre

2015-04-06 23:55 GMT+02:00 Klaus Blum benbigno...@gmx.de:

 Hi David,

 here's my first attempt to apply my drawing function to your project.
 Thanks
 again for sharing this really cool tool!

 I've played around with some settings, and I also experimented with the
 messed up dynamics problem when taking the engravers out of the score
 context.
 It works if you set outside-staff-priority to a value high enough:
\override MusicBoxer.outside-staff-priority = #1
\override Box.outside-staff-priority = #1
 However, this leads to a warning:
 Ein Objekt außerhalb der Notenzeile sollte eine Richtung haben, Vorgabe
 ist
 »nach oben«
 (Following the lilypond translation, this is the original warning message:
 #: axis-group-interface.cc:786
 msgid an outside-staff object should have a direction, defaulting to up)

 It seems that there is something taken into account for spacing
 calculations, but LilyPond doesn't know if this mysterious something is
 located above or below the score.

 By the way, if I put a box around an eighth note that is attached to a
 beam,
 the beam completely disappears. With MusicBoxer this is not the case.

 Unfortunately I cannot be much of help for any explanation because the way
 LilyPond acts behind the scenes is still a mystery to me...

 Cheers,
 Klaus

 boxer4.ly http://lilypond.1069038.n5.nabble.com/file/n174138/boxer4.ly
 boxer4.pdf http://lilypond.1069038.n5.nabble.com/file/n174138/boxer4.pdf



 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/box-around-notes-tp35581p174138.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

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


Re: box around notes

2015-04-06 Thread Simon Albrecht

Am 07.04.2015 um 00:07 schrieb Pierre Perol-Schneider:
BTW, regarding the smiley up on the last rest, did you see this: 
http://lsr.di.unimi.it/LSR/Item?id=904
What’s your reason to not code that one with smiley = 
#(define-markup-function …)?

Just asking, it might be irrelevant to the output. But, good work :-)

Yours, Simon

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


Re: documenting public Scheme functions

2015-04-06 Thread David Nalesnik
On Mon, Apr 6, 2015 at 6:53 PM, David Nalesnik david.nales...@gmail.com
wrote:

 Hi list,

 Here's something which I think will be useful to Schemers.

 Public functions written in Scheme aren't documented (except in the
 source).  (The list of Scheme functions in the Internals Reference
 consists of functions defined in C++ which are available in Scheme.)  The
 attached will produce a list of all such functions, giving useful
 information including a documentation string where provided.  Markup
 functions (which are documented elsewhere in their Lily syntax -- i.e.,
 \rest for rest-markup -- can be omitted.)  You can also list the contents
 of other modules.


A little more concise...
\version 2.19.17

#(define (get-binding-list iface)
   (ly:module-alist (resolve-module iface)))

#(define (symbol-closure-list iface)
   (let* ((bindings (get-binding-list iface))
  (closures
   (filter
(lambda (b) (closure? (cdr b)))
bindings))
  (closures
   (sort closures
 (lambda (x y) (symbol? (car x) (car y))
 closures))

#(define (omit-markup-functions lst)
   (remove
(lambda (elt)
  (string-contains (symbol-string (car elt)) markup))
lst))

#(define (symbol-closure-doc-list iface omit-markups?)
   (let* ((closures (symbol-closure-list iface))
  (closures (if omit-markups?
(omit-markup-functions closures)
closures)))
 (map (lambda (c)
(list
 (car c)
 (cdr c)
 (or (procedure-documentation (cdr c))
 DOCME)))
   closures)))

% UNCOMMENT THE FOLLOWING TO SEND TO A FILE:

%#(set-current-output-port (open-output-file closures.txt))

%% boolean determines whether markup commands (which are documented
%% in their Lily syntax) are included.

#(format #t ~:{~a~%~a~%~3t~s~%__~%~%~} (symbol-closure-doc-list '(lily) #t))

%#(format #t ~:{~a~%~a~%~3t~s~%__~%~%~} (symbol-closure-doc-list '(srfi srfi-1) #f))___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: box around notes

2015-04-06 Thread Pierre Perol-Schneider
Hi Simon,
Hmm interesting question...
Well, actually I don't remember, it's quite old now.
What I can imagine is that I didn't want to have to add '\markup'-s, e.g.:
title = \markup\smiley #size
instead of:
title = \smiley #size

But to be honest, there must be a reason, I simply don't remember it ;)

Thank you for your kind remark,
Cheers,
Pierre

2015-04-07 1:14 GMT+02:00 Simon Albrecht simon.albre...@mail.de:

 Am 07.04.2015 um 00:07 schrieb Pierre Perol-Schneider:

 BTW, regarding the smiley up on the last rest, did you see this:
 http://lsr.di.unimi.it/LSR/Item?id=904

 What’s your reason to not code that one with smiley =
 #(define-markup-function …)?
 Just asking, it might be irrelevant to the output. But, good work :-)

 Yours, Simon

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


Re: documenting public Scheme functions

2015-04-06 Thread Pierre Perol-Schneider
Hi David,
Simply thank you very, very much!!
Cheers,
Pierre

2015-04-07 3:39 GMT+02:00 David Nalesnik david.nales...@gmail.com:



 On Mon, Apr 6, 2015 at 6:53 PM, David Nalesnik david.nales...@gmail.com
 wrote:

 Hi list,

 Here's something which I think will be useful to Schemers.

 Public functions written in Scheme aren't documented (except in the
 source).  (The list of Scheme functions in the Internals Reference
 consists of functions defined in C++ which are available in Scheme.)  The
 attached will produce a list of all such functions, giving useful
 information including a documentation string where provided.  Markup
 functions (which are documented elsewhere in their Lily syntax -- i.e.,
 \rest for rest-markup -- can be omitted.)  You can also list the contents
 of other modules.


 A little more concise...


 ___
 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: box around notes

2015-04-06 Thread Pierre Perol-Schneider
I've add it as a markup, just in case.
Cheers
Pierre

2015-04-07 6:08 GMT+02:00 Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com:

 Hi Simon,
 Hmm interesting question...
 Well, actually I don't remember, it's quite old now.
 What I can imagine is that I didn't want to have to add '\markup'-s, e.g.:
 title = \markup\smiley #size
 instead of:
 title = \smiley #size

 But to be honest, there must be a reason, I simply don't remember it ;)

 Thank you for your kind remark,
 Cheers,
 Pierre


 2015-04-07 1:14 GMT+02:00 Simon Albrecht simon.albre...@mail.de:

 Am 07.04.2015 um 00:07 schrieb Pierre Perol-Schneider:

 BTW, regarding the smiley up on the last rest, did you see this:
 http://lsr.di.unimi.it/LSR/Item?id=904

 What’s your reason to not code that one with smiley =
 #(define-markup-function …)?
 Just asking, it might be irrelevant to the output. But, good work :-)

 Yours, Simon



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


Re: Displaying a staff despite \removeEmptyStaves

2015-04-06 Thread Anton Curl

On 06/04/2015 00:23, Urs Liska wrote:

I don't know enough about your setup, but if you'd write
\hide MultiMeasureRest
it should make the rests invisible but still act as rests.

Maybe this helps?
Urs
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Yes! exactly what I needed. Thanks!

Is there a shorter command than \override MultiMeasureRest.transparent = 
##f to display the rests again?


Anton Curl

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


Score Layout, several questions

2015-04-06 Thread N. Andrew Walsh
Good morning,

I've been tasked with preparing the score of what will be a critical
edition of some liturgical works of a lesser-known 18th-century composer.
Because of the nature of the source (the composer was writing at a
monastery), the originals are engraved using single-press typesetting (ie,
each note is its own block, so staff-lines and whatnot aren't continuous),
so it's an interesting exercise in historical scores. However, I have some
questions about some aspects of using Lily to do this. Namely:

1) I'd really like to use the ScholarLY tools to add annotations to the
score, and I've managed to include it in my .ly file with the following:

--

\version 2.19.18


#(set-global-staff-size 13)


%%Include OpenLilyLib and init ScholarLY

\include openlilylib


\useLibrary Scholarly


\useModule scholarly.annotate


\paper {


 #(define fonts

(set-global-fonts

#:music emmentaler

#:brace emmentaler

#:roman Linux Libertine G

#:sans Linux Biolinum G

#:typewriter DejaVu Sans Mono

#:factor (/ staff-height pt 20 )))

---
(NB: I have the global-staff-size set way up at the top because of the
staff-height within the \paper block, which has to come after
set-global-staff-size, right?)
However, compiling throws an error at the \paper {  line, and then a
bunch more, like this from the log:
---
openLilyLib: library infrastructure successfully loaded.

/home/[$HOME]/.lilypond/openlilylib/ly/scholarly/annotate/__main__.ily:46:1:
error: syntax error, unexpected SCM_TOKEN, expecting '{'

#(define annotations '())

/home/[$HOME]/.lilypond/openlilylib/ly/scholarly/annotate/__main__.ily:51:1:
warning: openLilyLib: Module already loaded. Skipping
utility.rhythmic-location

\useModule utility.rhythmic-location
/home/[$DOCS]/transkription kayser/messen/messe 1/transkription kayser 1.
messe c-dur.ly:22:3: error: unrecognized string, not in text script or
\lyricmode
  indent = 1.5\cm
[SNIP]
/home/[$DOCS]/transkription kayser/messen/messe 1/transkription kayser 1.
messe c-dur.ly:12:8: error: errors found, ignoring music expression
\paper
   {

/home/[$DOCS]/transkription kayser/messen/messe 1/transkription kayser 1.
messe c-dur - kyrie.ly:13:8: error: wrong type for argument 1. Expecting
pitch, found c
\key
   c \major

--

Am I formatting something wrong in my file? Does incorporating openlilylib
introduce new ways of specifying the \paper block? Also, is there a way to
use scholarLY without producing a pdf in color? The end product has to be
b/w, for reasons that should become clear below.


2) Also, for this project, I have from the publisher an exemplar of their
typesetting standards. One of the things I notice is that they have an
almost pathological avoidance of beams crossing staff lines at an angle. To
avoid this, most measures with beams move them outside of the staff
entirely, and make the beam angle itself (if there is any) considerably
shallower. Is there a general setting I can set to achieve something
similar? I can't really convince the publisher to change their æsthetics,
and I only see options for setting stem length absolutely.


3) Lastly, is there a general way to increase space between systems on a
page? I only have room for two to a page, but there looks like about .5cm
free along the bottom margin. I'd prefer to spread the systems out from one
another a bit more; how can I do this?


Thanks for the help. I just started working with Lily last Friday, she
seems nice.


Cheers,


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


Re: Displaying a staff despite \removeEmptyStaves

2015-04-06 Thread Anton Curl

On 06/04/2015 11:48, Simon Albrecht wrote:

Yes: \undo\hide MultiMeasureRest.

Yours, Simon

Very well.

Thanks to all of you!

Anton Curl

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


Breaking news: kerning on Windows does work now!

2015-04-06 Thread Karol Majewski
I want to say big 'Thank You' to Masamichi Hosoda, who managed to fix this 
nasty bug! Issues 2656 and 2657 can be marked as 'Fixed' now :)

- Karol



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


Re: Displaying a staff despite \removeEmptyStaves

2015-04-06 Thread Simon Albrecht

Am 06.04.2015 um 09:59 schrieb Anton Curl:

On 06/04/2015 00:23, Urs Liska wrote:

I don't know enough about your setup, but if you'd write
\hide MultiMeasureRest
it should make the rests invisible but still act as rests.

Maybe this helps?
Urs
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Yes! exactly what I needed. Thanks!

Is there a shorter command than \override MultiMeasureRest.transparent 
= ##f to display the rests again?

Yes: \undo\hide MultiMeasureRest.

Yours, Simon

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


Re: Score Layout, several questions

2015-04-06 Thread N. Andrew Walsh
oh, heavens! I'm sorry, I didn't mean I was trying to reproduce them (and
yes, that's what I meant about the score: it looks like that, though with
oval noteheads. Just figuring out what printing technology they were using
would be interesting to me. I wonder if they were deliberately using older
types because of the liturgical nature of the material). I just meant it's
interesting work transcribing it into modern notation. No, I do intend for
the score to be a fully modern edition.

Anyway, no, I didn't mean to imply I actually wanted to reproduce that
notation. Just that it's fun (?) to read.

Thanks for the tips on Beam.damping. I'll fiddle around with it.

Cheers,

A

On Mon, Apr 6, 2015 at 3:22 PM, Phil Holmes m...@philholmes.net wrote:

  Perhaps something like the attached image?  FWIW when I set these, under
 _no circumstances_ do I try to replicate the non-continuous staff lines.

 --
 Phil Holmes



 - Original Message -
 *From:* Andrew Bernard andrew.bern...@gmail.com
 *To:* N. Andrew Walsh n.andrew.wa...@gmail.com
 *Cc:* lilypond-user@gnu.org
 *Sent:* Monday, April 06, 2015 2:14 PM
 *Subject:* Re: Score Layout, several questions

 Where you refer to:

 the originals are engraved using single-press typesetting (ie, each note
 is its own block, so staff-lines and whatnot aren't continuous), so it's an
 interesting exercise in historical scores.”

 Andrew


 On 6 April 2015 at 22:44:15, N. Andrew Walsh (n.andrew.wa...@gmail.com)
 wrote:

 I'm unsure what you mean by trying to engrave the gaps in the staff lines
 between the type sorts.

  --

 ___
 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


Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Pierre Perol-Schneider
Hi All,

I've followed this conversation with a lot of interest:
http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html

However, there's something I'm missing.
I'm trying to put my own glyph into a new articulation script without
success: I still have to go through the feta glyph and change the stencil
afterward.
Is there a simple way to avoid this additional workaround ?

TIA
Pierre

 Snippet 
\version 2.19.2

%% Nothing realistic here, 'essai' is just to show something:
essai =
\markup
\scale #'(-2 . -2)
\override #'(filled . #t)
\path #0.01
#'((moveto0.58   0.91)
   (curveto   0.58   0.83   0.63   0.80   0.70   0.80)
   (curveto   0.90   0.80   0.87   1.15   1.11   1.28)
   (curveto   0.90   1.29   0.58   1.11   0.58   0.91))


%% New articulation:
#(append! default-script-alist
   (list
`(mon-articulation
   . (
   ;; In order to put my own glyph named 'essai'
   ;; I want to modify this line:
   (script-stencil . (feta . (thumb . thumb)))
   ; any other properties
   (toward-stem-shift-in-column . 0.0)
   (padding . 0.20)
   (avoid-slur . around)
   (direction . ,UP)

monArticulation = #(make-articulation mon-articulation)

%% workaround to show what I'd like to get:
monArticulation-workaround =
  #(define-event-function
 (parser location)
 ()
 #{
   -\tweak stencil #(lambda
 (grob)
 (grob-interpret-markup grob essai))
   \monArticulation
 #})


{
  c'\monArticulation
  c'\monArticulation-workaround
}

\layout {
  \context {
\Score
scriptDefinitions = #default-script-alist
  }
}

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


Re: Score Layout, several questions

2015-04-06 Thread Andrew Bernard
Where you refer to:

the originals are engraved using single-press typesetting (ie, each note is 
its own block, so staff-lines and whatnot aren't continuous), so it's an 
interesting exercise in historical scores.”

Andrew


On 6 April 2015 at 22:44:15, N. Andrew Walsh (n.andrew.wa...@gmail.com) wrote:


I'm unsure what you mean by trying to engrave the gaps in the staff lines 
between the type sorts. 

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


Re: Score Layout, several questions

2015-04-06 Thread Mark Knoop
At 14:43 on 06 Apr 2015, N. Andrew Walsh wrote:
Thanks for the snippet. Do you know of any way to set that
*generally*? At the least, a way to set the difference between the
first and last Beam.positions values to be less than some maximum?

Try experimenting with different values of Beam.damping.

Documentation/internals/beam.html

-- 
Mark Knoop

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


Re: Score Layout, several questions

2015-04-06 Thread David Nalesnik
On Mon, Apr 6, 2015 at 8:22 AM, Phil Holmes m...@philholmes.net wrote:

  Perhaps something like the attached image?  FWIW when I set these, under
 _no circumstances_ do I try to replicate the non-continuous staff lines.

 --
 Phil Holmes



 - Original Message -
 *From:* Andrew Bernard andrew.bern...@gmail.com
 *To:* N. Andrew Walsh n.andrew.wa...@gmail.com
 *Cc:* lilypond-user@gnu.org
 *Sent:* Monday, April 06, 2015 2:14 PM
 *Subject:* Re: Score Layout, several questions

 Where you refer to:

 the originals are engraved using single-press typesetting (ie, each note
 is its own block, so staff-lines and whatnot aren't continuous), so it's an
 interesting exercise in historical scores.”

 Andrew


Not that I would do it either, but see the following for a possible
approach:

http://www.mail-archive.com/lilypond-user%40gnu.org/msg99423.html

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


Re: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Pierre Perol-Schneider
Hi Urs,

Tanks for the tip but I'm afraid not. Actually it says:
Some extensions that have been made possible through extra glyphs in the
Arnold font.

What I'd like is to avoid using any of the existing or extra glyph, just a
custom path drawing.

Cheers,
Pierre

2015-04-06 15:24 GMT+02:00 Urs Liska u...@openlilylib.org:

 I don't know this out of my hat.
 But you may look into my file in openlilylib. It's ly/stylesheets
 /fonts/arnold-extensions.ily (I think).

 Good luck
 Urs

 Am 6. April 2015 15:12:49 MESZ, schrieb Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com:

 Hi All,

 I've followed this conversation with a lot of interest:

 http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html

 However, there's something I'm missing.
 I'm trying to put my own glyph into a new articulation script without
 success: I still have to go through the feta glyph and change the stencil
 afterward.
 Is there a simple way to avoid this additional workaround ?

 TIA
 Pierre

  Snippet 
 \version 2.19.2

 %% Nothing realistic here, 'essai' is just to show something:
 essai =
 \markup
 \scale #'(-2 . -2)
 \override #'(filled . #t)
 \path #0.01
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))


 %% New articulation:
 #(append! default-script-alist
(list
 `(mon-articulation
. (
;; In order to put my own glyph named 'essai'
;; I want to modify this line:
(script-stencil . (feta . (thumb . thumb)))
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.20)
(avoid-slur . around)
(direction . ,UP)

 monArticulation = #(make-articulation mon-articulation)

 %% workaround to show what I'd like to get:
 monArticulation-workaround =
   #(define-event-function
  (parser location)
  ()
  #{
-\tweak stencil #(lambda
  (grob)
  (grob-interpret-markup grob essai))
\monArticulation
  #})


 {
   c'\monArticulation
   c'\monArticulation-workaround
 }

 \layout {
   \context {
 \Score
 scriptDefinitions = #default-script-alist
   }
 }

 %%

 --

 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: Score Layout, several questions

2015-04-06 Thread Andrew Bernard
Re beaming positions control:

An example snippet:

\version 2.19.17

treble = \relative c'' {
  \once \override Beam.positions = #'(-3 . -3)
  c8 e g a
  \once \override Beam.positions = #'(3 . 3)
  c, g e c
}

\score {
  \new Staff { \treble }
}

You seem to have jumped in the deep end! Welcome to lilypond!

Are you serious about trying to engrave the gaps in the staff lines between the 
type sorts? Or do I misunderstand?

Andrew

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


Re: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Urs Liska
I don't know this out of my hat.
But you may look into my file in openlilylib. It's ly/stylesheets 
/fonts/arnold-extensions.ily (I think).

Good luck
Urs

Am 6. April 2015 15:12:49 MESZ, schrieb Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com:
Hi All,

I've followed this conversation with a lot of interest:
http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html

However, there's something I'm missing.
I'm trying to put my own glyph into a new articulation script without
success: I still have to go through the feta glyph and change the
stencil
afterward.
Is there a simple way to avoid this additional workaround ?

TIA
Pierre

 Snippet 
\version 2.19.2

%% Nothing realistic here, 'essai' is just to show something:
essai =
\markup
\scale #'(-2 . -2)
\override #'(filled . #t)
\path #0.01
#'((moveto0.58   0.91)
   (curveto   0.58   0.83   0.63   0.80   0.70   0.80)
   (curveto   0.90   0.80   0.87   1.15   1.11   1.28)
   (curveto   0.90   1.29   0.58   1.11   0.58   0.91))


%% New articulation:
#(append! default-script-alist
   (list
`(mon-articulation
   . (
   ;; In order to put my own glyph named 'essai'
   ;; I want to modify this line:
   (script-stencil . (feta . (thumb . thumb)))
   ; any other properties
   (toward-stem-shift-in-column . 0.0)
   (padding . 0.20)
   (avoid-slur . around)
   (direction . ,UP)

monArticulation = #(make-articulation mon-articulation)

%% workaround to show what I'd like to get:
monArticulation-workaround =
  #(define-event-function
 (parser location)
 ()
 #{
   -\tweak stencil #(lambda
 (grob)
 (grob-interpret-markup grob essai))
   \monArticulation
 #})


{
  c'\monArticulation
  c'\monArticulation-workaround
}

\layout {
  \context {
\Score
scriptDefinitions = #default-script-alist
  }
}

%%




___
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: Score Layout, several questions

2015-04-06 Thread David Nalesnik
On Mon, Apr 6, 2015 at 8:38 AM, David Nalesnik david.nales...@gmail.com
wrote:



 On Mon, Apr 6, 2015 at 8:22 AM, Phil Holmes m...@philholmes.net wrote:

  Perhaps something like the attached image?  FWIW when I set these,
 under _no circumstances_ do I try to replicate the non-continuous staff
 lines.

 --
 Phil Holmes



 - Original Message -
 *From:* Andrew Bernard andrew.bern...@gmail.com
 *To:* N. Andrew Walsh n.andrew.wa...@gmail.com
 *Cc:* lilypond-user@gnu.org
 *Sent:* Monday, April 06, 2015 2:14 PM
 *Subject:* Re: Score Layout, several questions

 Where you refer to:

 the originals are engraved using single-press typesetting (ie, each note
 is its own block, so staff-lines and whatnot aren't continuous), so it's an
 interesting exercise in historical scores.”

 Andrew


 Not that I would do it either, but see the following for a possible
 approach:

 http://www.mail-archive.com/lilypond-user%40gnu.org/msg99423.html



Of course, this following simple example reveals the flaws right away!

 \version 2.19.16

\new Staff 
  \repeat unfold 8 {
\startStaff s4 \stopStaff
  }
  {
\override Staff.StaffSymbol.stencil =
#(lambda (grob)
   (let ((st (ly:staff-symbol::print grob)))
 (ly:stencil-scale st 0.95 1)))
a4 a a a
a4 a a a
  }


%%%
How to deal with symbols that happen at the same time but are separated
horizontally--for example, a clef and a time signature?

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


Re: Score Layout, several questions

2015-04-06 Thread N. Andrew Walsh
Thanks for the snippet. Do you know of any way to set that *generally*? At
the least, a way to set the difference between the first and last
Beam.positions values to be less than some maximum?

I'm unsure what you mean by trying to engrave the gaps in the staff lines
between the type sorts.

Also, I fixed the errors I was getting with the ScholarLY module (I moved
those snippets to below the score blocks, and the problem went away).

Thanks for the help.

Cheers,

A

On Mon, Apr 6, 2015 at 2:15 PM, Andrew Bernard andrew.bern...@gmail.com
wrote:

 Re beaming positions control:

 An example snippet:

 \version 2.19.17

 treble = \relative c'' {
   \once \override Beam.positions = #'(-3 . -3)
   c8 e g a
   \once \override Beam.positions = #'(3 . 3)
   c, g e c
 }

 \score {
   \new Staff { \treble }
 }

 You seem to have jumped in the deep end! Welcome to lilypond!

 Are you serious about trying to engrave the gaps in the staff lines
 between the type sorts? Or do I misunderstand?

 Andrew


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


Re: Score Layout, several questions

2015-04-06 Thread Phil Holmes
Perhaps something like the attached image?  FWIW when I set these, under _no 
circumstances_ do I try to replicate the non-continuous staff lines.

--
Phil Holmes


  - Original Message - 
  From: Andrew Bernard 
  To: N. Andrew Walsh 
  Cc: lilypond-user@gnu.org 
  Sent: Monday, April 06, 2015 2:14 PM
  Subject: Re: Score Layout, several questions


  Where you refer to:


  the originals are engraved using single-press typesetting (ie, each note is 
its own block, so staff-lines and whatnot aren't continuous), so it's an 
interesting exercise in historical scores.”


  Andrew




  On 6 April 2015 at 22:44:15, N. Andrew Walsh (n.andrew.wa...@gmail.com) wrote:



  I'm unsure what you mean by trying to engrave the gaps in the staff lines 
between the type sorts. 




--


  ___
  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: Score Layout, several questions

2015-04-06 Thread Paul Morris
N. Andrew Walsh wrote
 3) Lastly, is there a general way to increase space between systems on a
 page? I only have room for two to a page, but there looks like about .5cm
 free along the bottom margin. I'd prefer to spread the systems out from
 one
 another a bit more; how can I do this?

You want to change the system-system-spacing settings:
http://lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables

Since you're using openlilylib, see also:
https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/scale-vertical-spacing

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Score-Layout-several-questions-tp174100p174119.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: Score Layout, several questions

2015-04-06 Thread Simon Albrecht

Am 06.04.2015 um 15:50 schrieb N. Andrew Walsh:
oh, heavens! I'm sorry, I didn't mean I was trying to reproduce them 
(and yes, that's what I meant about the score: it looks like that, 
though with oval noteheads. Just figuring out what printing technology 
they were using would be interesting to me. I wonder if they were 
deliberately using older types because of the liturgical nature of the 
material).
No, it’s just a matter of typesetting (with moveable types) being 
cheaper than engraving (in copper plates) at the time.

~ Simon

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


Re: Custom glyph articulation [WAS: Creating new articulation (adding to an internal alist) ]

2015-04-06 Thread Jacques Menu
Hello Pierre,

Not sure I got what you’re after, can this help? Would need to be offset to the 
right, though:


\version 2.19.17

myArticulationPath =
#'((moveto0.58   0.91)
   (curveto   0.58   0.83   0.63   0.80   0.70   0.80)
   (curveto   0.90   0.80   0.87   1.15   1.11   1.28)
   (curveto   0.90   1.29   0.58   1.11   0.58   0.91))

myArticulation =
\markup {
  \scale #'(-2 . -2)
  \override #'(filled . #t)
  \path #0.01 #myArticulationPath
}

{
  c'^\myArticulation
}


 Le 6 avr. 2015 à 15:42, Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com a écrit :
 
 Hi Urs,
 
 Tanks for the tip but I'm afraid not. Actually it says:
 Some extensions that have been made possible through extra glyphs in the 
 Arnold font.
 
 What I'd like is to avoid using any of the existing or extra glyph, just a 
 custom path drawing.
 
 Cheers,
 Pierre
 
 2015-04-06 15:24 GMT+02:00 Urs Liska u...@openlilylib.org 
 mailto:u...@openlilylib.org:
 I don't know this out of my hat.
 But you may look into my file in openlilylib. It's ly/stylesheets 
 /fonts/arnold-extensions.ily (I think).
 
 Good luck
 Urs
 
 Am 6. April 2015 15:12:49 MESZ, schrieb Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com mailto:pierre.schneider.pa...@gmail.com:
 Hi All,
 
 I've followed this conversation with a lot of interest:
 http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html
  
 http://lilypond.1069038.n5.nabble.com/Creating-new-articulation-adding-to-an-internal-alist-td172689.html
 
 However, there's something I'm missing.
 I'm trying to put my own glyph into a new articulation script without 
 success: I still have to go through the feta glyph and change the stencil 
 afterward.
 Is there a simple way to avoid this additional workaround ?
 
 TIA
 Pierre
 
  Snippet 
 \version 2.19.2
 
 %% Nothing realistic here, 'essai' is just to show something:
 essai = 
 \markup
 \scale #'(-2 . -2)
 \override #'(filled . #t) 
 \path #0.01 
 #'((moveto0.58   0.91)
(curveto   0.58   0.83   0.63   0.80   0.70   0.80)
(curveto   0.90   0.80   0.87   1.15   1.11   1.28)
(curveto   0.90   1.29   0.58   1.11   0.58   0.91))
 
 
 %% New articulation: 
 #(append! default-script-alist
(list
 `(mon-articulation
. (
;; In order to put my own glyph named 'essai'
;; I want to modify this line:
(script-stencil . (feta . (thumb . thumb))) 
; any other properties
(toward-stem-shift-in-column . 0.0)
(padding . 0.20)
(avoid-slur . around)
(direction . ,UP)
 
 monArticulation = #(make-articulation mon-articulation)
 
 %% workaround to show what I'd like to get:
 monArticulation-workaround = 
   #(define-event-function 
  (parser location) 
  ()
  #{
-\tweak stencil #(lambda 
  (grob) 
  (grob-interpret-markup grob essai))
\monArticulation 
  #})
 
 
 { 
   c'\monArticulation 
   c'\monArticulation-workaround
 }
 
 \layout {
   \context {
 \Score
 scriptDefinitions = #default-script-alist
   }
 }
 
 %%
 
 
 
 lilypond-user mailing list
 lilypond-user@gnu.org mailto:lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user 
 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