Re: \tweak-like function

2019-09-20 Thread David Kastrup
Werner LEMBERG writes: >> moveDynTweak = -\single \moveDyn \etc > > Thanks! > >>> I naïvely tried >>> >>> moveDynTweak = >>> #(define-music-function (X Y) (number? number?) >>> #{ \once \override DynamicLineSpanner.outside-staff-priority = ##f >>> \once \override

Re: Links in PDF-Files

2019-09-20 Thread Thomas Morley
Am Fr., 20. Sept. 2019 um 18:53 Uhr schrieb Richard Shann : > > On Fri, 2019-09-20 at 12:26 -0400, msk...@ansuz.sooke.bc.ca wrote: > > On Fri, 20 Sep 2019, sir.teddy.the.fi...@gmail.com wrote: > > > Why does lilypond add these links and is there a way to prevent it > > > from > > > doing so? > > >

Re: Improving ly files readability

2019-09-20 Thread Kieren MacMillan
Hi there, > nice ideas for making those comments lines more readable, > espacially when you want to show different levels of importance! 1. I find, if you break the file down into really small include-able files, there aren’t actually that many levels of importance in any single file. 2. I use

Re: \tweak-like function

2019-09-20 Thread Werner LEMBERG
>> moveDynTweak = >> #(define-music-function (X Y) (number? number?) >> #{ \tweak DynamicLineSpanner.outside-staff-priority ##f >> \tweak DynamicText.X-offset #X >> \offset DynamicLineSpanner.Y-offset #Y >> \etc #}) > > Should have worked when using

Re: different staff-staff spacing throughout piece

2019-09-20 Thread Andrew Bernard
HI Rachel, Read NR 4.4.2 Explicit staff and system positioning. I use this technique a good deal. Wouldn't this do the job? [I am referring to 2.19.83 NR.] Andrew On Fri, 20 Sep 2019 at 07:03, Rachel Knight via lilypond-user < lilypond-user@gnu.org> wrote: > Is it possible to have different

\tweak-like function

2019-09-20 Thread Werner LEMBERG
Dear LilyPonders, please consider this snippet. moveDyn = #(define-music-function (X Y) (number? number?) #{ \once \override DynamicLineSpanner.outside-staff-priority = ##f \once \override DynamicText.X-offset = #X \once \offset Y-offset #Y DynamicLineSpanner #})

Re: drinking song symbols

2019-09-20 Thread karl
You got some nice looking wineglasses there, but more detail isn't really worth it when making small symbols. Cheers, /Karl Hammar ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Scheme question

2019-09-20 Thread Jay Vara
I have defined three pair lists nameCpitch, nameEpitch, nameGpitch and nameApitch. I want to assign nameold to one of the four depending on the value of pitch. I set pitch to G and have a set of if statements to define nameold. However it is not working. When I print one of the lists I

Re: drinking song symbols

2019-09-20 Thread karl
Pierre Perol-Schneider: > Hum, weird. Maybe you could change the dimension, e.g.: > > #(define-markup-command (wineGlass layout props)() > (interpret-markup layout props >(markup > (#:with-dimensions (cons 0.2 1.1) (cons 0.3 2.7) ;; <= Set dimensions > (#:stencil >

Re: Improving ly files readability

2019-09-20 Thread karl
foxfanfare: ... > By that, I mean, how do you use the comments lines to make clear > parts, sections, etc. through your file and make it nice to read. ... I don't think that help at all. Use a consequent layout in your files, and it will be easier for you to navigate in them. Use includes to

Re: Non-default tuplet numbers

2019-09-20 Thread Phil Holmes
- Original Message - From: "Andrew Bernard" To: Sent: Friday, September 20, 2019 1:00 AM Subject: Non-default tuplet numbers The documentation in the NR for non-default tuplet numbers has an example that appears to me to be musical nonsense. For people coming across this concept

Re: drinking song symbols

2019-09-20 Thread Pierre Perol-Schneider
A little simplified: \version "2.19.83" #(define-markup-command (wineGlass layout props)() (interpret-markup layout props (markup (#:stencil (make-path-stencil '(M 0.14 0.00 C 0.09 0.00 0.17 0.07 0.31 0.07 C 0.42 0.07 0.46 0.07 0.55 0.13 L

Re: drinking song symbols

2019-09-20 Thread Pierre Perol-Schneider
Ok, well, how about: \version "2.19.83" #(define-markup-command (wineGlass layout props)() (interpret-markup layout props (markup (#:stencil (make-path-stencil '(M 0.141 0 C 0.094 0.004 0.168 0.066 0.309 0.066 C 0.445 0.066 0.461 0.07 0.551 0.129

Re: Scheme question

2019-09-20 Thread Jay Vara
Stefano, That works perfectly. The Cond conditional is even better. Thank you, Jay -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org

Re: drinking song symbols

2019-09-20 Thread Hans Åberg
> On 20 Sep 2019, at 16:06, k...@aspodata.se wrote: > > Pierre Perol_Schneider: >> Well, I've tried to print it with global staff size set to #15, and it >> still looks fine to me... >> Sorry if I'm wrong. >> >> Le ven. 20 sept. 2019 à 13:09, a écrit : >>> You got some nice looking wineglasses

Re: drinking song symbols

2019-09-20 Thread Hans Åberg
> On 20 Sep 2019, at 18:27, David Kastrup wrote: > > Hans Åberg writes: > >>> On 20 Sep 2019, at 16:06, k...@aspodata.se wrote: >>> >>> Pierre Perol_Schneider: Well, I've tried to print it with global staff size set to #15, and it still looks fine to me... Sorry if I'm wrong.

Re: Scheme question

2019-09-20 Thread Stefano Troncaro
Hi Jay, your 'if' statements are not nested properly. See: #(define nameold (if (equal? pitch "C") nameCpitch (if (equal? pitch "E") nameEpitch (if (equal? pitch "G") nameGpitch (if (equal? pitch "A")

Re: Links in PDF-Files

2019-09-20 Thread Michael Gerdau
Insert \pointAndClickOff in your ly file. Kind regards, Michael Mobil gesendet > Am 20.09.2019 um 18:16 schrieb sir.teddy.the.fi...@gmail.com: > >  > Hi all, > whenever I create a pdf document with lilypond, every single note gets a link > attached to it. > This link looks something like

Re: drinking song symbols

2019-09-20 Thread karl
Pierre Perol_Schneider: > Well, I've tried to print it with global staff size set to #15, and it > still looks fine to me... > Sorry if I'm wrong. > > Le ven. 20 sept. 2019 à 13:09, a écrit : > > You got some nice looking wineglasses there, but more detail isn't > > really worth it when making

Re: Links in PDF-Files

2019-09-20 Thread mskala
On Fri, 20 Sep 2019, sir.teddy.the.fi...@gmail.com wrote: > Why does lilypond add these links and is there a way to prevent it from > doing so? Use the "-dno-point-and-click" option on the command line when you run LilyPond to turn off these links. The links are intended to make it easier to

Re: \tweak-like function

2019-09-20 Thread David Kastrup
Werner LEMBERG writes: > Dear LilyPonders, > > > please consider this snippet. > > moveDyn = > #(define-music-function (X Y) (number? number?) > #{ \once \override DynamicLineSpanner.outside-staff-priority = ##f > \once \override DynamicText.X-offset = #X > \once

Links in PDF-Files

2019-09-20 Thread sir.teddy.the.first
Hi all, whenever I create a pdf document with lilypond, every single note gets a link attached to it. This link looks something like this: "textedit://PathtoMyFile/definitions.ily:1185:38:39" These links do not really bother me, but there are some applications that highlight every link

Re: Links in PDF-Files

2019-09-20 Thread Richard Shann
On Fri, 2019-09-20 at 12:26 -0400, msk...@ansuz.sooke.bc.ca wrote: > On Fri, 20 Sep 2019, sir.teddy.the.fi...@gmail.com wrote: > > Why does lilypond add these links and is there a way to prevent it > > from > > doing so? > > Use the "-dno-point-and-click" option on the command line when you > run

Re: drinking song symbols

2019-09-20 Thread Pierre Perol-Schneider
Well, I've tried to print it with global staff size set to #15, and it still looks fine to me... Sorry if I'm wrong. Cheers, Pierre Le ven. 20 sept. 2019 à 13:09, a écrit : > You got some nice looking wineglasses there, but more detail isn't > really worth it when making small symbols. > >

Re: \tweak-like function

2019-09-20 Thread Urs Liska
I don't have it up my sleeve right now, but I think you need define-event-function here. HTH Urs Am 20. September 2019 12:48:25 MESZ schrieb Werner LEMBERG : > >Dear LilyPonders, > > >please consider this snippet. > > moveDyn = >#(define-music-function (X Y) (number? number?) > #{

Re: drinking song symbols

2019-09-20 Thread Pierre Perol-Schneider
BTW, simply remove the following lines if the "detail" bothers you: \version "2.19.83" #(set-global-staff-size 16) #(define-markup-command (wineGlass layout props)() (interpret-markup layout props (markup (#:stencil (make-path-stencil '(M 0.14 0.00 C 0.09 0.00

Re: drinking song symbols

2019-09-20 Thread David Kastrup
Hans Åberg writes: >> On 20 Sep 2019, at 16:06, k...@aspodata.se wrote: >> >> Pierre Perol_Schneider: >>> Well, I've tried to print it with global staff size set to #15, and it >>> still looks fine to me... >>> Sorry if I'm wrong. >>> >>> Le ven. 20 sept. 2019 à 13:09, a écrit : You got