Re: \unset in paper block

2019-08-05 Thread Werner LEMBERG
> I wonder whether it is possible to use \unset in the paper block. > The use-case is lyluatex, which sets `left-margin'; I want to unset > this value so that lilypond only takes the line width into account > to automatically center it. > > In other words, I would like to have > >% from lylu

Re: \unset in paper block

2019-08-05 Thread Simon Albrecht
Hi Werner, IIRC these assignments in \paper and \layout and \header blocks are functionally equivalent to defining a variable in Scheme like #(define left-margin 100) (omitting the unit here for simplicity). The kind of \unset you’re asking for requires the previous value to have been saved

RE: Overriding a global declaration

2019-08-05 Thread John McWilliam
OK! I am posting this to everyone . John Sent from Mail for Windows 10 From: Thomas Morley Sent: Monday, August 5, 2019 2:21 PM To: John McWilliam Cc: lilypond-user Subject: Re: Overriding a global declaration Am Mo., 5. Aug. 2019 um 12:46 Uhr schrieb John McWilliam : > > >

Re: \unset in paper block

2019-08-05 Thread Werner LEMBERG
> IIRC these assignments in \paper and \layout and \header blocks are > functionally equivalent to defining a variable in Scheme like > > #(define left-margin 100) Yes. > The kind of \unset you’re asking for requires the previous value to > have been saved onto some stack, which I doubt exists/

Re: Mysterious behavior in music function

2019-08-05 Thread David Kastrup
Thomas Morley writes: > Hi Marc, > > two Problems: > (1) > A postevent can't be attached to a music-variable, this feature will > be likely be available with next stable. Well, next unstable anyway but I think I'll pull this one into the stable branch since it otherwise is too much of a candidat

Re: \unset in paper block

2019-08-05 Thread David Kastrup
Werner LEMBERG writes: >> I wonder whether it is possible to use \unset in the paper block. >> The use-case is lyluatex, which sets `left-margin'; I want to unset >> this value so that lilypond only takes the line width into account >> to automatically center it. >> >> In other words, I would li

Repository with color themes for Frescobaldi

2019-08-05 Thread Robert Kubosz
I know that not all Lilyponders use Frescobaldi, but certainly all Frescobaldiers use Lilypond ;-) so please don't be mad at me that I created this post here. Due to lack of proper colorschemes for Frescobaldi I created a repository with them on github: https://github.com/rkubosz/base16-frescobal

Re: How to correctly use scheme functions and/or math in define-music-function?

2019-08-05 Thread Simon Albrecht
Hi Matt, before I dive into your music functions: doesn’t \version "2.19.83" { sn4 4:64 8: 8 } do what you want? This is covered in NR (Notation Reference) 1.4.2.b. I haven’t tried it’s MIDI playback, but since it’s a synonym for the \repeat tremolo 16 sn64 notation, there shouldn’t be a pro

Re: Repository with color themes for Frescobaldi

2019-08-05 Thread Guy Stalnaker
Much appreciated! Thanks for your work on this. Best regards. -- “Happiness is the meaning and the purpose of life, the whole aim and end of human existence.” ― Aristotle On Mon, Aug 5, 2019, 11:24 AM Robert Kubosz wrote: > I know that not all Lilyponders use Frescobaldi, but certainly all

Re: \unset in paper block

2019-08-05 Thread Werner LEMBERG
>> To ask differently: In file `paper.scm' I can see >> >> (module-remove! m 'line-width) >> >> to remove `line-width'; I now wonder what value for `m' I have to >> use... > > \paper { > #(module-remove! (current-module) 'line-width) > } > > should work for doing this via Scheme. This wor

Re: How to correctly use scheme functions and/or math in define-music-function?

2019-08-05 Thread Matt Huber
Ugh, it does, in fact. I totally missed it in the manual somehow, but you have to include "articulate.ly" and use the \articulate command to make it work. Thanks! ~Matt On Mon, Aug 5, 2019 at 12:45 PM Simon Albrecht wrote: > Hi Matt, > > before I dive into your music functions: doesn’t > > \ver

Re: \unset in paper block

2019-08-05 Thread David Kastrup
Werner LEMBERG writes: >>> To ask differently: In file `paper.scm' I can see >>> >>> (module-remove! m 'line-width) >>> >>> to remove `line-width'; I now wonder what value for `m' I have to >>> use... >> >> \paper { >> #(module-remove! (current-module) 'line-width) >> } >> >> should work

Re: \unset in paper block

2019-08-05 Thread Simon Albrecht
On 05.08.19 23:10, Werner LEMBERG wrote: To ask differently: In file `paper.scm' I can see (module-remove! m 'line-width) to remove `line-width'; I now wonder what value for `m' I have to use... \paper { #(module-remove! (current-module) 'line-width) } should work for doing this via S

Re: Alternating text and music

2019-08-05 Thread Simon Albrecht
On 03.08.19 21:03, David Wright wrote: I'm not sure what "tiny bit on networks" means, It was a tiny bit sarcastic, IIUC ;-) Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: \unset in paper block

2019-08-05 Thread David Kastrup
Simon Albrecht writes: > On 05.08.19 23:10, Werner LEMBERG wrote: To ask differently: In file `paper.scm' I can see (module-remove! m 'line-width) to remove `line-width'; I now wonder what value for `m' I have to use... >>> \paper { >>>#(module-remove! (curr

Re: Alternating text and music

2019-08-05 Thread David Kastrup
Simon Albrecht writes: > On 03.08.19 21:03, David Wright wrote: >> I'm not sure what "tiny bit on networks" means, > > It was a tiny bit sarcastic, IIUC ;-) I usually don't read the HTML-formatted versions of the mails on this list, so the tiny sarcasm mark was lost on me. -- David Kastrup __

Re: \unset in paper block

2019-08-05 Thread Aaron Hill
On 2019-08-05 2:30 pm, David Kastrup wrote: Simon Albrecht writes: By the way, I happened to see that section 1.3.4 of the Extending Manual sets off on the fact that it’s not possible to attach articulations to variables (“We know that `{ \music -. -> }' will not work in LilyPond”). So when tha

Re: Alternating text and music

2019-08-05 Thread David Wright
On Mon 05 Aug 2019 at 23:41:51 (+0200), David Kastrup wrote: > Simon Albrecht writes: > > On 03.08.19 21:03, David Wright wrote: > >> I'm not sure what "tiny bit on networks" means, > > > > It was a tiny bit sarcastic, IIUC ;-) > > I usually don't read the HTML-formatted versions of the mails on

Re:Transposing instrument best practice

2019-08-05 Thread Flaming Hakama by Elaine
> -- Forwarded message -- > From: Lukas-Fabian Moser > To: Simon Albrecht , lilypond-user < > lilypond-user@gnu.org> > Cc: > Bcc: > Date: Thu, 1 Aug 2019 00:40:31 +0200 > Subject: Re: Transposing instrument best practice > Hi, > > > Given the highly confusing nature of the subject,