Re: Current octave in relative mode

2020-05-16 Thread David Kastrup
antlists writes: > On 17/05/2020 00:04, David Kastrup wrote: >> antlists writes: >> >>> On 16/05/2020 23:19, David Kastrup wrote: > As I say, I think this function or something similar has made its way > into lilypond proper. >>> What advantage over the solution using make-relative

Re: Current octave in relative mode

2020-05-16 Thread antlists
On 17/05/2020 00:04, David Kastrup wrote: antlists writes: On 16/05/2020 23:19, David Kastrup wrote: As I say, I think this function or something similar has made its way into lilypond proper. What advantage over the solution using make-relative that I posted do you see here? Because if

Re: Current octave in relative mode

2020-05-16 Thread David Kastrup
antlists writes: > On 16/05/2020 23:19, David Kastrup wrote: >>> As I say, I think this function or something similar has made its way >>> into lilypond proper. > >> What advantage over the solution using make-relative that I posted do >> you see here? > > Because if I understand the OP correctly

Re: PNG generation ignoring color

2020-05-16 Thread Valentin Villenave
On 5/16/20, David Kastrup wrote: > Like the warning LilyPond prints out indicates, the X11 #rrggbb > convention is not supported for specifying colors. x11-color instead > supports _named_ colors like "green". Chris, you *could* simply change the definition or your function as follows: co

Re: Current octave in relative mode

2020-05-16 Thread antlists
On 16/05/2020 23:19, David Kastrup wrote: As I say, I think this function or something similar has made its way into lilypond proper. What advantage over the solution using make-relative that I posted do you see here? Because if I understand the OP correctly, what he wants is \resetRelative

Re: Resources For Learning Scheme?

2020-05-16 Thread Thomas Morley
Am So., 17. Mai 2020 um 00:27 Uhr schrieb Valentin Villenave : > > On 5/16/20, Caio Barros wrote: > > I wasn't aware Urs wrote this book. This is very nice! > > I agree. > > Obviously one of the first places to check out is our in-house manual > (sadly still unfinished): > http://lilypond.org/doc/

Re: Resources For Learning Scheme?

2020-05-16 Thread Valentin Villenave
On 5/16/20, Caio Barros wrote: > I wasn't aware Urs wrote this book. This is very nice! I agree. Obviously one of the first places to check out is our in-house manual (sadly still unfinished): http://lilypond.org/doc/v2.21/Documentation/extending/ Cheers, -- V.

Re: Current octave in relative mode

2020-05-16 Thread David Kastrup
antlists writes: > On 15/05/2020 12:28, antlists wrote: >> There's a function Han Wen wrote for me years ago, that's made its >> way in to standard lilypond. It's probably mentioned in the docu >> about relative mode. Something along the lines of >>   c1  \highlight { c8 d e f g f e d } >>

Re: Current octave in relative mode

2020-05-16 Thread antlists
On 15/05/2020 12:28, antlists wrote: There's a function Han Wen wrote for me years ago, that's made its way in to standard lilypond. It's probably mentioned in the docu about relative mode. Something along the lines of   c1  \highlight { c8 d e f g f e d }   \setAbsoluteOctave ...  

Re: PNG generation ignoring color

2020-05-16 Thread David Kastrup
Chris Spencer writes: > How do you retain note color for PNG and SVG generation? > > I have the following Lilypond file test.ly: > > \version "2.18" > color = #(define-music-function (parser location color) (string?) #{ > \once \override NoteHead #'color = #(x11-color color) > \on

Re: Identify included files

2020-05-16 Thread David Kastrup
"Fr. Samuel Springuel" writes: >> On 15 May, 2020, at 5:04 PM, David Kastrup wrote: >> >> "Fr. Samuel Springuel" writes: >> >>> Before I start writing a script to do this, is there an existing tool >>> which will identify all the `\include` files that a LilyPond file >>> depends on? Even bet

PNG generation ignoring color

2020-05-16 Thread Chris Spencer
How do you retain note color for PNG and SVG generation? I have the following Lilypond file test.ly: \version "2.18" color = #(define-music-function (parser location color) (string?) #{ \once \override NoteHead #'color = #(x11-color color) \once \override Stem #'color = #(x11-colo

Re: Resources For Learning Scheme?

2020-05-16 Thread Caio Barros
Em sáb., 16 de mai. de 2020 às 03:08, Jacques Peron escreveu: > This one, by Urs Liska, is specifically about scheme with LilyPond : > https://scheme-book.ursliska.de/scheme/expressions.html > I wasn't aware Urs wrote this book. This is very nice!

Re: Page numbers

2020-05-16 Thread Valentin Villenave
On 5/15/20, brahim.pro wrote: > I would like to change the page number position. Now, it's in the left for > right pages and on the right for left pages. I would like to put them always > on the left. And I would like also to change its font size. Greetings, as Pierre explained, it’s handled by t

Re: Identify included files

2020-05-16 Thread Fr. Samuel Springuel
> On 15 May, 2020, at 5:04 PM, David Kastrup wrote: > > "Fr. Samuel Springuel" writes: > >> Before I start writing a script to do this, is there an existing tool >> which will identify all the `\include` files that a LilyPond file >> depends on? Even better, one that will work in a recursive f

Re: how to encircle a note

2020-05-16 Thread Aaron Hill
On 2020-05-16 10:49 am, Stefan Thomas wrote: Dear community, is it possible to encircle a note in lilypond? And could someone give a short example of code for this? http://lsr.di.unimi.it/LSR/Item?id=722 Including the stem, accidentals, or any articulations would require more work as you have

how to encircle a note

2020-05-16 Thread Stefan Thomas
Dear community, is it possible to encircle a note in lilypond? And could someone give a short example of code for this? Thank You, Stefan

Re: Current octave in relative mode

2020-05-16 Thread Flaming Hakama by Elaine
Sorry, yes I did copy yours because the original one had some kind of formatting problem and I thought that yours was just a reformatting of the original. Thanks, On Sat, May 16, 2020, 3:30 AM David Kastrup wrote: > Flaming Hakama by Elaine writes: > > >> From: Klaus Blum > >> To: "lilypond-

Re: Resources For Learning Scheme?

2020-05-16 Thread Freeman Gilmore
On Sat, May 16, 2020 at 7:34 AM Jamie Beardslee wrote: > > The Guile reference manual [1] contains a good introduction to the > language in general as well as some more in-depth information for > working with guile specifically. > > One of the most useful resources for me in grasping the important

Re: Resources For Learning Scheme?

2020-05-16 Thread Jamie Beardslee
The Guile reference manual [1] contains a good introduction to the language in general as well as some more in-depth information for working with guile specifically. One of the most useful resources for me in grasping the important concepts of scheme was SICP, which is available in text online [2]

Re: Suggestion to make sharps and flats persistent

2020-05-16 Thread David Kastrup
Paul McKay writes: > Hi David > I agree that searching backwards would be horrific. I was not thinking it > would be implemented that way. Suppose one could write something like the > following: > > itsInDmajor = { \override Voice.pitchTweaks = #( (f fs) (c cs) ) > > music = { \ itsInDmajor d4 f

Re: Suggestion to make sharps and flats persistent

2020-05-16 Thread Paul McKay
Hi David I agree that searching backwards would be horrific. I was not thinking it would be implemented that way. Suppose one could write something like the following: itsInDmajor = { \override Voice.pitchTweaks = #( (f fs) (c cs) ) music = { \ itsInDmajor d4 f a c d } and implement it where *pi

Re: Current octave in relative mode

2020-05-16 Thread David Kastrup
Flaming Hakama by Elaine writes: >> From: Klaus Blum >> To: "lilypond-user@gnu.org" >> Cc: >> Bcc: >> Date: Fri, 15 May 2020 12:01:06 +0200 >> Subject: Current octave in relative mode >> Hi, >> >> I have a function that uses a music expression twice. >> My problem is: >> In relative mode, this

Re: Playing with Quartertones

2020-05-16 Thread Hans Åberg
> On 16 May 2020, at 05:35, Michael Heerdegen wrote: > > When I have a midi file containing quartertones, like the ones on this > page for example: > > https://en.wikipedia.org/wiki/Quarter_tone > > or, more generally, other "microtones", is it possible to import the > file in lilypond? How

Re: Resources For Learning Scheme?

2020-05-16 Thread Graham King
This series of presentations by Andy Balaam was helpful to me: https://www.youtube.com/watch?v=byofGyW2L10&list=PLfHYba8zC7hTNImXmUAxuPcmhpgWlZLAc > On 16 May 2020, at 07:08, Jacques Peron wrote: > > This o