Re: End of file event

2018-02-22 Thread David Kastrup
Maurits Lamers writes: > Hi, > > Thanks for your suggestion! Do I understand from your reply that you > don't think there is a dynamic option, ie without adjusting the > lilypond code being processed? > > To clarify the context a bit: what I am doing is reviewing

Local scheme variables used inside a Lilypond code block

2018-02-22 Thread Paolo Prete
Hello, I try to re-post my previous question in a more generic way: is it possible to define local variables in a scheme function and use them in a lilypond code block?Something like (pseudo-code: it doesn't compile): func = #(define-music-function (parser location note) (ly:music)    ((mypitch

Re: fingering

2018-02-22 Thread Thomas Morley
2018-02-22 10:58 GMT+01:00 Gianmaria Lari : > Dear Harm, > > thank you for your really nice help. Your fix worked well and now your > example is perfect! > > I hope others will take advantage of it. > > I copy here the final working code with a screenshot. Glad you like

Re: End of file event

2018-02-22 Thread Maurits Lamers
Hi, The situation is that I want to write out my statistical info collected during the score block processing to an external CSV. In my case students are given a lilypond file template which they need to use. This template contains a single score block in which they need to put their work.

Re: Fermatas with tremolos

2018-02-22 Thread N. Andrew Walsh
Late to the party, but you asked: On Mon, Feb 19, 2018 at 11:47 PM, Thomas Morley wrote: > > https://forums.makemusic.com/viewtopic.php?f=12=2065= > 70206c7b17c9cd8107c4ad1250073f0c > But not discussing how it _should_ be done. > I don't have Gould at hand, does she

Re: fingering

2018-02-22 Thread Gianmaria Lari
Dear Harm, thank you for your really nice help. Your fix worked well and now your example is perfect! I hope others will take advantage of it. I copy here the final working code with a screenshot. \version "2.19.81" %% returns a stencil (created by `ly:text-interface::print') within a circle

fretboard diagram - string labels

2018-02-22 Thread Gilles van Eeden
Dear Lilyponders, I'm trying to create guitar fretboard diagrams like those in the attachment , which contain functional tone labels per string. I've been looking into extending the Fretboards and fret-diagram objects to incorporate string labels, but for now the code involved is a little

Re: Local scheme variables used inside a Lilypond code block

2018-02-22 Thread Paolo Prete
The trivial example you provided doesn't use local Scheme variables inside the Lilypond code block of the "ritpp" function.I definied  "mypitch" and "myduration" inside the "scheme part" and I don't understand if I can use them inside the "#{ #}" scope ((mypitch (ly:music-property note 'pitch

Re: Local scheme variables used inside a Lilypond code block

2018-02-22 Thread David Kastrup
Paolo Prete writes: > The trivial example you provided doesn't use local Scheme variables > inside the Lilypond code block of the "ritpp" function. It is not prohibited reading the accompanying text. Let me quote the relevant part again: > Let me quote from the

Re: Local scheme variables used inside a Lilypond code block

2018-02-22 Thread David Kastrup
Paolo Prete writes: > Hello, > I try to re-post my previous question in a more generic way: is it > possible to define local variables in a scheme function and use them > in a lilypond code block?Something like (pseudo-code: it doesn't > compile): > func =

Re: Spacing between notes

2018-02-22 Thread David Wright
On Mon 19 Feb 2018 at 17:49:51 (-0700), nokel81 wrote: > \score { > \new Staff << > \new Voice = "melody" \relative g' { > \set Score.timing = ##f > g4( d) f \divisioMinima > g( a) a( g2) \divisioMinima > g4( c) a( a

Re: fretboard diagram - string labels

2018-02-22 Thread Gilles van Eeden
Hi Carl, your analysis sounds recognizable. I did notice that a substantial amount of code could be reused, e.g. the string parsing and label printing code. I will have to look at it again and try to wrap my head around lilypond data structures and scheme syntax. Thanks for sharing your

autoBeam and slurs in tab

2018-02-22 Thread Éric
Hello, slurs in polyphonic tab are badly impacted by autoBeam Off/On Looks related to issue #3542 but I'm not able to understand more. My short code : \version "2.19.60" voiceA = { \time 2/4 \voiceOne e'2 2 } voiceB = { \voiceTwo e8( fis) \autoBeamOff g8( a) \autoBeamOn

Re: fingering

2018-02-22 Thread Thomas Morley
2018-02-22 11:03 GMT+01:00 Thomas Morley : > 2018-02-22 10:58 GMT+01:00 Gianmaria Lari : >> Dear Harm, >> >> thank you for your really nice help. Your fix worked well and now your >> example is perfect! >> >> I hope others will take advantage of

Re: fretboard diagram - string labels

2018-02-22 Thread Gilles van Eeden
Hello Kieren, thanks for the tip, I'll look into it. Regards, Gilles On 2018-02-22 15:06, Kieren MacMillan wrote: Hi Gilles, I'm trying to create guitar fretboard diagrams like those in the attachment , which contain functional tone labels per string. I've been looking into extending

Re: fretboard diagram - string labels

2018-02-22 Thread Carl Sorensen
On 2/22/18, 5:34 PM, "Gilles van Eeden" wrote: Hi Carl, your analysis sounds recognizable. I did notice that a substantial amount of code could be reused, e.g. the string parsing and label printing code. I will have to look at it again and try to

Re: fingering

2018-02-22 Thread Gianmaria Lari
On 23 February 2018 at 00:53, Thomas Morley wrote: > 2018-02-22 11:03 GMT+01:00 Thomas Morley : > > 2018-02-22 10:58 GMT+01:00 Gianmaria Lari : > >> Dear Harm, > >> > >> thank you for your really nice help. Your fix

Re: autoBeam and slurs in tab

2018-02-22 Thread Federico Bruni
Il giorno gio 22 feb 2018 alle 23:51, =?iso-8859-1?b?yXJpYw==?= <"eric.bellocq"@yahoo.fr> ha scritto: Hello, slurs in polyphonic tab are badly impacted by autoBeam Off/On Looks related to issue #3542 but I'm not able to understand more. It seems a context poblem. If you replace \autoBeamOn

Re: fretboard diagram - string labels

2018-02-22 Thread Carl Sorensen
On 2/22/18, 1:54 AM, "Gilles van Eeden" wrote: Suggestions as to which external label to use and how to position and format this to match the fretboard diagram are welcome. The code to place the labels already exists in the string label code used for

Re: fretboard diagram - string labels

2018-02-22 Thread Kieren MacMillan
Hi Gilles, > I'm trying to create guitar fretboard diagrams like those in the attachment > , which contain functional tone labels per string. I've > been looking into extending the Fretboards and fret-diagram objects to > incorporate string labels, but for now the code involved is a little