Re: Bar check for lead in notes?

2023-03-28 Thread John Whitmore
Thank you all for the links, yes that's it a partial bar. On Tue, Mar 28, 2023 at 9:54 PM Jean Abou Samra wrote: > Le mardi 28 mars 2023 à 21:40 +0100, John Whitmore a écrit : > > I'm not even sure that I have the correct terminology for why I'm trying > to achieve. I've been trying to find

Re: Bar check for lead in notes?

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 21:40 +0100, John Whitmore a écrit : > I'm not even sure that I have the correct terminology for why I'm trying to > achieve. I've been trying to find info in the bar sections but so far haven't > found what I'm looking for. > > I'm trying to write out a tune whose first

Re: Bar check for lead in notes?

2023-03-28 Thread David Kastrup
John Whitmore writes: > I'm not even sure that I have the correct terminology for why I'm trying to > achieve. I've been trying to find info in the bar sections but so far > haven't found what I'm looking for. > > I'm trying to write out a tune whose first bar is incomplete, whilst the > piece

Bar check for lead in notes?

2023-03-28 Thread John Whitmore
I'm not even sure that I have the correct terminology for why I'm trying to achieve. I've been trying to find info in the bar sections but so far haven't found what I'm looking for. I'm trying to write out a tune whose first bar is incomplete, whilst the piece is in 4/4 the first bar only

Re: temporarily overriding paper variables

2023-03-28 Thread Aaron Hill
On 2023-03-28 8:26 am, Werner LEMBERG wrote: It would be cool if this worked some day. However, the next best thing would probably be to allow negative widths and heights for `\markup` boxes (if set with `\with-dimensions` and friends). Was messing about a bit. Does this work on your side?

Re: temporarily overriding paper variables

2023-03-28 Thread David Kastrup
Werner LEMBERG writes: >>> I tried >>> >>> ``` >>> \markup \with-dimensions #empty-interval #empty-interval { >>> ... } >>> ``` >>> >>> and the padding to the next score gets still applied. I suspect >>> that the 'empty interval' trick only works for stuff within a score >>> but not on the

Re: insert a `Custos` grob manually

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 18:24 +, Werner LEMBERG a écrit : > Thanks, this is good enough.  I simply hide the note following the > custos – of course, the ideal solution would be that the custos is > really at the end of the staff line, and the extra note is just there > to indicate at which

Re: insert a `Custos` grob manually

2023-03-28 Thread Werner LEMBERG
>> I would like to have a command that inserts a `Custos` grob.  Note >> that it should really be a `Custos` grob and not something else so >> that `\BalloonGrobText Custos ...` works. >> >> Is there a possibility to do that? > > What is the context? Do you want the custos' pitch to be determined

Re: insert a `Custos` grob manually

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 15:31 +, Werner LEMBERG a écrit : > ``` > > I would like to have a command that inserts a `Custos` grob.  Note > that it should really be a `Custos` grob and not something else so > that `\BalloonGrobText Custos ...` works. > > Is there a possibility to do that?

insert a `Custos` grob manually

2023-03-28 Thread Werner LEMBERG
I would like to have a command that inserts a `Custos` grob. Note that it should really be a `Custos` grob and not something else so that `\BalloonGrobText Custos ...` works. Is there a possibility to do that? Werner

Re: temporarily overriding paper variables

2023-03-28 Thread Werner LEMBERG
>> I tried >> >> ``` >> \markup \with-dimensions #empty-interval #empty-interval { >> ... } >> ``` >> >> and the padding to the next score gets still applied. I suspect >> that the 'empty interval' trick only works for stuff within a score >> but not on the top level. > > I'd be tempted to

Re: LilyPond 2.20.2 problem

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 13:48 +0100, Paul Hodges a écrit : > I have old versions of LilyPond install to compile old scores directly.  I > tried compiling with 2.20.2 (on Windows) today, and I get this error: > (lilypond.exe:3184): Pango-CRITICAL **: pango_fc_font_lock_face: assertion >

Re: temporarily overriding paper variables

2023-03-28 Thread David Kastrup
Werner LEMBERG writes: If you don't want vertical padding, your horizontal dimensions must be an empty interval, not a point interval. >>> >>> OK, but how do I do that for `\markup`? >> >> Maybe this: \markup \with-dimension #X #empty-interval ... >> >> (Assumes you are using 2.24

LilyPond 2.20.2 problem

2023-03-28 Thread Paul Hodges
I have old versions of LilyPond install to compile old scores directly.  I tried compiling with 2.20.2 (on Windows) today, and I get this error: (lilypond.exe:3184): Pango-CRITICAL **: pango_fc_font_lock_face: assertion 'PANGO_IS_FC_FONT (font)' failed warning: cannot get postscript name

Re: Function for turning music upside-down.

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 12:15 +0100, Mark Knoop a écrit : > Actually it does, see \modalInversion Thanks for correcting me! I didn't remember about it. signature.asc Description: This is a digitally signed message part

Re: Function for turning music upside-down.

2023-03-28 Thread Mark Knoop
At 13:10 on 28 Mar 2023, Jean Abou Samra wrote: > Le mardi 28 mars 2023 à 09:30 +0200, Silvain Dupertuis a écrit : >> How are enharmonic notes supposed to be treated in such a function? > Inversion in, e.g., a Bach fugue subject is a bit different, as it > inverts the diatonic steps but keeps

Re: Function for turning music upside-down.

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 09:30 +0200, Silvain Dupertuis a écrit : > How are enharmonic notes supposed to be treated in such a function? \version "2.24.1" m = \relative c' { c cis des d dis ees e fes } { \m } \inversion c' c' \m gives which looks fine to me. Essentially, both the diatonic step

Re: temporarily overriding paper variables

2023-03-28 Thread Werner LEMBERG
>>> If you don't want vertical padding, your horizontal dimensions >>> must be an empty interval, not a point interval. >> >> OK, but how do I do that for `\markup`? > > Maybe this: \markup \with-dimension #X #empty-interval ... > > (Assumes you are using 2.24 that supports the axis-specific

Re: temporarily overriding paper variables

2023-03-28 Thread Aaron Hill
On 2023-03-28 2:34 am, Werner LEMBERG wrote: ``` \markup \with-dimensions #'(0 . 0) #'(0 . 0) { ... } If you don't want vertical padding, your horizontal dimensions must be an empty interval, not a point interval. OK, but how do I do that for `\markup`? Maybe this: \markup

Re: temporarily overriding paper variables

2023-03-28 Thread Werner LEMBERG
>> ``` >> \markup \with-dimensions #'(0 . 0) #'(0 . 0) { >> ... >> } > > If you don't want vertical padding, your horizontal dimensions must > be an empty interval, not a point interval. OK, but how do I do that for `\markup`? Werner

Re: temporarily overriding paper variables

2023-03-28 Thread David Kastrup
Werner LEMBERG writes: > OK, thanks. > >> However, you should be able to get your desired output using a >> `\vspace` in the markup. > > Nope, this doesn't work, AFAICS. I have a paper setting > > ``` > \once \set markup-system-spacing.padding = 2.5 > ``` > > and my code uses > > ``` > \markup

Re: temporarily overriding paper variables

2023-03-28 Thread Werner LEMBERG
>> ``` >> >> I wonder whether it is possible to temporarily override paper >> variables at the top level, something like >> >> ``` >> \once \set markup-system-spacing.padding = 0 >> \markup { ... } >> >> \score { ... } >> ``` > > Unfortunately, no. OK, thanks. > However, you should be able

Re: Function for turning music upside-down.

2023-03-28 Thread Silvain Dupertuis
How are enharmonic notes supposed to be treated in such a function? Le 28.03.23 à 00:08, Paul Hodges a écrit : I have been asked to take a piece of music (which I already have in LilyPond), and mirror it vertically.  That's to say, to take each note which is n semitones above middle c and

Re: temporarily overriding paper variables

2023-03-28 Thread Jean Abou Samra
Le mardi 28 mars 2023 à 06:17 +, Werner LEMBERG a écrit : > ``` > > I wonder whether it is possible to temporarily override paper > variables at the top level, something like > > ``` > \once \set markup-system-spacing.padding = 0 > \markup { ... } > > \score { ... } > ``` Unfortunately,

temporarily overriding paper variables

2023-03-28 Thread Werner LEMBERG
I wonder whether it is possible to temporarily override paper variables at the top level, something like ``` \once \set markup-system-spacing.padding = 0 \markup { ... } \score { ... } ``` Werner