Re: Error while trying to put a Text above a notehead

2020-06-03 Thread Valentin Villenave
On 6/2/20, Robin Bannister wrote: > Well, you could define your own markup command(s). > Have a look at /scm/define-markup-commands.scm for examples, > including \abs-fontsize. Well, for once, there’s even some documentation about it! http://lilypond.org/doc/v2.21/Documentation/extending/new-mark

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Paolo Prete
On Tue, Jun 2, 2020 at 4:41 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > it's of course _erroneous_ output, because it leads to what in common > programming is called UB: > > It’s perfectly defined behaviour: > > http://lilypond.org/doc/v2.18/Documentation/internal

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Kieren MacMillan
Hi Paolo, > it's of course _erroneous_ output, because it leads to what in common > programming is called UB: It’s perfectly defined behaviour: http://lilypond.org/doc/v2.18/Documentation/internals/fingering font-encoding (symbol): 'fetaText The font encoding is the broadest category for selec

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Paolo Prete
On Tue, Jun 2, 2020 at 4:09 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > I just verified that your previous snippet produces erroneous output > > It’s only "erroneous output" if you don’t know what it’s supposed to put > out… ;) > > Hi Kieren, In my humble opinio

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Robin Bannister
Paolo Prete wrote: But this is not what I want; I would like to specify font-series and font-family as a parameter (as I did for \abs-fontsize)... Well, you could define your own markup command(s). Have a look at /scm/define-markup-commands.scm for examples, including \abs-fontsize. Cheer

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Paolo Prete
On Tue, Jun 2, 2020 at 3:53 PM Robin Bannister wrote: > > > Is there an alternative for it? > > It is defaulting to another font. > To avoid this, say > text \markup \normal-text "Some text" > > > Cheers, > Robin > Thanks Robin, BTW, how can I override font-family and font-series in a "para

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Kieren MacMillan
Hi Paolo, > I just verified that your previous snippet produces erroneous output It’s only "erroneous output" if you don’t know what it’s supposed to put out… ;) Fingerings are in Feta font — try using normal text instead: { \override Fingering.staff-padding = #'() \stemDown c'-\tweak text \m

Re: Error while trying to put a Text above a notehead

2020-06-02 Thread Robin Bannister
Is there an alternative for it? It is defaulting to another font. To avoid this, say text \markup \normal-text "Some text" Cheers, Robin

Error while trying to put a Text above a notehead

2020-06-02 Thread Paolo Prete
Hello David (and Lilypond people), I just verified that your previous snippet produces erroneous output on pdf and a compiler error with -dbackend=svg: (look at : http://lilybin.com/7derud/1 ) Tested on 2.19.84 and 2.19.45 (Lilybin) { \override Fingering.staff-padding = #'() \stemDown c'-\tweak