Handling quoted lists

2020-09-04 Thread Urs Liska
I'm feeling totally stupid, but after hours of nightly poking and
ly:message "debugging" around I'm at least at a point where I can ask
concrete questions instead of an MWE.

In 
https://github.com/openlilylib/oll-core/blob/master/internal/properties.scm#L566-L611
 (may not be the latest state!) I'm trying to create a macro and get
messed up with quoting etc.

In 
https://github.com/openlilylib/oll-core/blob/master/usage-examples/properties.ly#L10
 a symbol list demo.props is created and properly handled.

But in 
https://github.com/openlilylib/oll-core/blob/master/usage-examples/properties.ly#L50-L51
 a (quasi)quoted list isn't managed correctly. I would now use 
  '(demo props)
here to create a regular symbol list, but this ends up as
  (quote (demo props))
in the macro. When used later in
https://github.com/openlilylib/oll-core/blob/master/internal/properties.scm#L20
  (append '(_propsets) propset-path))
will result in
  (list (quote _propsets) (quote quote) (list (quote demo) (quote
props)))

Spo the question must be simple and me stupid, but how can I add the
symbol list as an argument in Scheme (in the macro invication) so the
last  call will result in a flat symbol list?

Thanks for any pointer, hint or solution!
Urs




Re: unable to install version 2.0

2020-09-04 Thread David Wright
On Fri 04 Sep 2020 at 17:11:27 (-0400), Tom Swan wrote:
> […] Yes, I do set the PATH (in my case in .bashrc)

Not the best place, though many people will notice nothing wrong.
When you enter a subshell, you get another modification of PATH
at each and every level. Presumably you source or "dot in" .bashrc
in your profile. If you want the lowdown, I always consult
  https://mywiki.wooledge.org/DotFiles
(Neither he nor I uses a DM/DE.)

> and I also use bash aliases similarly.

Aliases are fine: you normally only expect them to work in interactive
shells, and they don't grow like PATH and other environment variables
when defined recursively.

> I might have the install problem solved.

Great. And thanks for posting text.

Cheers,
David.



Re: White background below custom dynamic mark so that bar line is partially hidden

2020-09-04 Thread Claire Meyer
Always useful ! Many thanks :)

Claire

On Fri, Sep 4, 2020 at 9:00 PM Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> Hi Claire,
> See also:
> https://lilypond.org/doc/v2.20/Documentation/notation/other#index-_005cwhiteout
> Cheers,
> Pierre
>
> Le mar. 1 sept. 2020 à 15:02, Martín Rincón Botero <
> martinrinconbot...@gmail.com> a écrit :
>
>> Great! :-)
>>
>> On Tue 1. Sep 2020 at 14:27 Claire Meyer <
>> claire.meyer.bourhis.lilyp...@gmail.com> wrote:
>>
>>> Hi Martin,
>>>
>>> Thank you ! It works :)
>>>
>>> Claire
>>>
>>> On Tue, Sep 1, 2020 at 2:22 PM Martín Rincón Botero <
>>> martinrinconbot...@gmail.com> wrote:
>>>
 Hi Claire,

 Perhaps

 dolcissimo = \tweak DynamicText.self-alignment-X #LEFT
 #(make-dynamic-script
 (markup #:whiteout #:normal-text #:italic "dolcissimo"))

 works?

 On Tue 1. Sep 2020 at 14:09 Claire Meyer <
 claire.meyer.bourhis.lilyp...@gmail.com> wrote:

> Hi,
>
> I have :
>
> [image: image.png]
>
> And would like something like :
>
> [image: Screenshot_20200901_140443.png]
>
> My dynamic mark looks like :
>
> dolcissimo = \tweak DynamicText.self-alignment-X #LEFT
> #(make-dynamic-script
> (markup #:normal-text #:italic "dolcissimo"))
>
> Has anyone an idea of how to do that ?
>
> Many thanks,
> Claire
>
>
>
>
> --
 www.martinrinconbotero.com



>>>
>>> --
>> www.martinrinconbotero.com
>>
>


Re: unable to install version 2.0

2020-09-04 Thread Tom Swan
Hi David,
Thanks. Yes, I do set the PATH (in my case in .bashrc) and I also use bash 
aliases similarly. I might have the install problem solved. I did "apt-get 
remove lilypond" and then I executed the install script as before. I had 
mistakenly run the wrong version previously, but when I tried again, v2.0 hang 
until I removed the older version. After that, v2.0 now runs correctly. (PS: I 
installed to a private ~/bin folder that I use for various things.) Thank you 
for your help getting me going. -- Tom



Re: unable to install version 2.0

2020-09-04 Thread David Wright
On Fri 04 Sep 2020 at 14:09:06 (-0400), Tom Swan wrote:
>I copied and executed script "lilypond-2.20.0-1.linux-64.sh" from the 
> Downloads page. It seems to run but afterwards, "lilypond --version" still 
> reports GNU LilyPond 2.18.2. What am I doing wrong? Also tried apt-get 
> upgrade lilypond, which reports "lilypond is already the newest version 
> (2.18.2-12build1)" so now I'm stuck. How do I get the newest release?

Please don't post HTML, particularly without any text version.

If you executed   sh lilypond-2.20.0-1.linux-64.sh   it will
presumably have responded with:

  You are about to install LilyPond in /home/tom/lilypond
  A script in /home/tom/bin will be created as a shortcut.

  Press ^C to abort, or Enter to proceed.

Typing   lilypond --version   will run the version in your PATH, which
is unchanged (see ouput from apt-get). Most people won't want
~/lilypond in their PATH (along with directories for other "foreign"
software), so conventionally they put ~/bin in their PATH, with either
the binary (when simple/small) or a script placed in ~/bin. LP does
the latter (typically four scripts plus eight symlinks).

Here's my PATH:

$ echo $PATH
/home/david/bin:/home/david/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
$ 

How to set it? That depends on how you login. If you run X with
startx, then it's simple, put this into your ~/.bash_profile
or ~/.profile or ~/.bash_login, whichever you use. ( For Desktop
users, it's probably somewhere else.)

  export PATH="$HOME/bin:$HOME/.local/bin:$PATH"

Just take care not to have any double colons, or have any
colons at the beginning or end of the PATH.

Cheers,
David.



Re: Fingering: showing strings by dots?

2020-09-04 Thread Pierre Perol-Schneider
Hi Harm and thank you for your detailed answer.
For some reason, at the first time, I was pretty sure it looked like curved
beams...
My mistake!
Cheers,
Pierre

Le dim. 23 août 2020 à 19:11, Thomas Morley  a
écrit :

> Am So., 23. Aug. 2020 um 18:39 Uhr schrieb Pierre Perol-Schneider
> :
> >
> > Sure Harm, here you go:
> https://www.youtube.com/watch?v=YND32HckZqk=1m24s
> > Cheers,
> > Pierre
> >
> > Le dim. 23 août 2020 à 11:02, Thomas Morley 
> a écrit :
> >>
> >> Am So., 23. Aug. 2020 um 10:52 Uhr schrieb Pierre Perol-Schneider
> >> :
> >> >
> >> > Dear Andrew,
> >> >
> >> > Le dim. 23 août 2020 à 08:09, Andrew Bernard <
> andrew.bern...@gmail.com> a écrit :
> >> >
> >> >> I play bass gamba - I've always wanted to do the lovely curved beams
> >> >> (and for Bach,. and the lot!). No chance lilypond will ever be able
> to,
> >> >> I don't think!
> >> >
> >> >
> >> > I saw Harm (T. Morley) making a short presentation (no details) of
> curved beams few months ago (in german).
> >> > So, yes, it's possible...
> >> >
> >> > Cheers,
> >> > Pierre
> >> >
> >> >
> >>
> >> Could you post the link?
> >> I don't remember lol
> >>
> >> Cheers,
> >>   Harm
>
> Hi Pierre,
>
> That's the video of my talk at Salzburg.
> Though, the topic was not about curvy beams. I just showed some images
> to demonstrate what's possible with user-code. Meant as an
> introduction.
> Among those were indeed wavy Beams (more attached).
> Alas, the code for it is much more complicated than the one I actually
> showed during the talk.
> And those wavy Beams don't follow the pitches (as those in the
> manuscripts by Bach etc). I developed the code for the (paid)
> type-setting of some avantgarde composition - there they stand more
> for only vague determined note-durations.
> If you look closely you'll see that the stems need to be adjusted
> frequently.
>
> To summarize, the code for those wavy Beams will not do what's desired
> here!
> Nevertheless it may be not impossible, though I've not the time to
> dive into it...
>
> Cheers,
>   Harm
>


Re: Google Summer of Code final submission!

2020-09-04 Thread Pierre Perol-Schneider
Brilliant Owen, thank you.
Cheers,
Pierre

Le mar. 1 sept. 2020 à 01:16, David Nalesnik  a
écrit :

> On Mon, Aug 31, 2020 at 3:33 AM Owen Lamb  wrote:
> >
> > Hello everyone!
> >
> > I've just completed Google Summer of Code for this year. My work has
> been on adding rudimentary support for SMuFL (a new music font standard)
> and bringing Emmentaler, LilyPond's default font, closer to
> SMuFL-compliance. You can take a look at a summary of my work here:
> >
> > http://lilypondblog.org/2020/08/google-summer-of-code-2020-smufl/
> >
> > (I fixed a few regressions in my code, but it looks like there's still
> one or two lurking around. I'm just going to call it here, though--there's
> not much I can do about them now.)
> >
> > It's been wonderful working with everyone in the development community,
> and I'd like to stick around if I can. I plan on continuing to improve
> SMuFL in LilyPond, but in case I don't follow through, I've included in the
> summary a list of what to do next.
> >
> > Happy LilyPonding,
> > Owen Lamb
> > Arizona State University
>
> Thank you so much for your efforts and dedication!  This is important work.
>
> Best,
> David
>
>


Re: White background below custom dynamic mark so that bar line is partially hidden

2020-09-04 Thread Pierre Perol-Schneider
Hi Claire,
See also:
https://lilypond.org/doc/v2.20/Documentation/notation/other#index-_005cwhiteout
Cheers,
Pierre

Le mar. 1 sept. 2020 à 15:02, Martín Rincón Botero <
martinrinconbot...@gmail.com> a écrit :

> Great! :-)
>
> On Tue 1. Sep 2020 at 14:27 Claire Meyer <
> claire.meyer.bourhis.lilyp...@gmail.com> wrote:
>
>> Hi Martin,
>>
>> Thank you ! It works :)
>>
>> Claire
>>
>> On Tue, Sep 1, 2020 at 2:22 PM Martín Rincón Botero <
>> martinrinconbot...@gmail.com> wrote:
>>
>>> Hi Claire,
>>>
>>> Perhaps
>>>
>>> dolcissimo = \tweak DynamicText.self-alignment-X #LEFT
>>> #(make-dynamic-script
>>> (markup #:whiteout #:normal-text #:italic "dolcissimo"))
>>>
>>> works?
>>>
>>> On Tue 1. Sep 2020 at 14:09 Claire Meyer <
>>> claire.meyer.bourhis.lilyp...@gmail.com> wrote:
>>>
 Hi,

 I have :

 [image: image.png]

 And would like something like :

 [image: Screenshot_20200901_140443.png]

 My dynamic mark looks like :

 dolcissimo = \tweak DynamicText.self-alignment-X #LEFT
 #(make-dynamic-script
 (markup #:normal-text #:italic "dolcissimo"))

 Has anyone an idea of how to do that ?

 Many thanks,
 Claire




 --
>>> www.martinrinconbotero.com
>>>
>>>
>>>
>>
>> --
> www.martinrinconbotero.com
>


Re: unable to install version 2.0

2020-09-04 Thread Aaron Hill

On 2020-09-04 11:47 am, Tom Swan wrote:

PS: Output of /usr/local/bin/lilypond is "No such file or directory"


What about "~/bin/lilypond --version"?


-- Aaron Hill



Re: unable to install version 2.0

2020-09-04 Thread Tom Swan


 
 
  
   PS: Output of /usr/local/bin/lilypond is "No such file or directory"
  
  
   
On September 4, 2020 2:18 PM Kevin Barry  wrote:
   
   

   
   

   
   
Hi Tom,

 


 It looks like you might have two versions installed: 2.18 from apt and 2.20 from the script you downloaded (although normally the downloaded on takes precedence).


 


 Can you check the output of:


 /usr/local/bin/lilypond --version


 ?


 


 Kevin

   
   
   

 On Fri, Sep 4, 2020, 19:09 Tom Swan <
 t...@tomswan.com> wrote:
 


 
 
  
   I copied and executed script "
   lilypond-2.20.0-1.linux-64.sh" from the Downloads page. It seems to run but afterwards, "lilypond --version" still reports GNU LilyPond 2.18.2. What am I doing wrong? Also tried apt-get upgrade lilypond, which reports  "lilypond is already the newest version (2.18.2-12build1)" so now I'm stuck. How do I get the newest release? 
  
  
   
  
 

   
  
  
   
  
  
   http://www.tomswan.com
   
 




Re: unable to install version 2.0

2020-09-04 Thread Kevin Barry
Hi Tom,

It looks like you might have two versions installed: 2.18 from apt and 2.20
from the script you downloaded (although normally the downloaded on takes
precedence).

Can you check the output of:
/usr/local/bin/lilypond --version
?

Kevin

On Fri, Sep 4, 2020, 19:09 Tom Swan  wrote:

> I copied and executed script "lilypond-2.20.0-1.linux-64.sh" from the
> Downloads page. It seems to run but afterwards, "lilypond --version" still
> reports GNU LilyPond 2.18.2. What am I doing wrong? Also tried apt-get
> upgrade lilypond, which reports  "lilypond is already the newest version
> (2.18.2-12build1)" so now I'm stuck. How do I get the newest release?
> 
>
>


unable to install version 2.0

2020-09-04 Thread Tom Swan


 
 
  
   I copied and executed script "lilypond-2.20.0-1.linux-64.sh" from the Downloads page. It seems to run but afterwards, "lilypond --version" still reports GNU LilyPond 2.18.2. What am I doing wrong? Also tried apt-get upgrade lilypond, which reports  "lilypond is already the newest version (2.18.2-12build1)" so now I'm stuck. How do I get the newest release? 
   
  
  
   
   
 




Re: key-change-event listener in 2.20

2020-09-04 Thread Maurits Lamers
From your answer I gather that getting this information this way is fine.
The other, more implicit question: has this change been overlooked when 
creating the changes documentation 
(http://lilypond.org/doc/v2.20/Documentation/changes-big-page.html)?

cheers

Maurits


> Op 3 sep. 2020, om 21:07 heeft Aaron Hill  het 
> volgende geschreven:
> 
> On 2020-09-03 5:03 am, Maurits Lamers wrote:
>> Hi all,
>> I finally figured out what goes wrong here. The issue is that I get
>> the key signature and the last key signature from the context in the
>> following way:
>> (ly:context-property (ly:translator-context engraver) 'keySignature))
>> (ly:context-property (ly:translator-context engraver) 'lastKeySignature))
>> which works in 2.14 up to 2.18. In 2.20 these properties seem to have
>> been renamed to keyAlterations and lastKeyAlterations (according to
>> http://lilypond.org/doc/v2.20/Documentation/internals/key_005fengraver)
>> What would be the best way to support both 2.18 and 2.20? Is there a
>> better / more reliable method of getting this information?
> 
> You could check to see which symbol exists as a translator property:
> 
> 
> (define (translator-property? symbol)
>  (memq symbol all-translation-properties))
> 
> ;; ...
> 
> (ly:context-property
>  (ly:translator-context engraver)
>  (car (filter translator-property? '(keyAlterations keySignature)))
>  '())
> 
> 
> 
> -- Aaron Hill
>