Volta spanner missing edge when using "|" as endRepeatType

2024-02-28 Thread Andy Bradford
Hello,

I want to place an interlude that  happens only the first time through a
a section that has  a repeat and a second interlude  for the second time
through. I don't want the repeat measure bar showing up in the middle of
the piece, so  I set the endRepeatType  to "|", but when I  do that, the
right edge of the volta spanner  loses the stright edge line. I've tried
various combinations of bars to see if  I can get it to work but haven't
succeeded so far.

I also tried  just using a solid  line Text spanner but  couldn't find a
way to get any text "inside" the spanner (only on the ends).

Any clues on how this could be done?

%%%
\version "2.22.2"

voltaprima = \markup { \text \italic { First time only } }
voltaseconda = \markup { \text \italic { On repeat only } }
\relative {
  c''1
  \repeat volta 2 {
  c
  \once \set Score.startRepeatType = "|"
  \set Score.endRepeatType = "|" % or "||"
  \set Score.repeatCommands = #(list (list 'volta voltaprima) 'start-repeat)
  c4 b d e
  \set Score.repeatCommands = #(list (list 'volta #f) (list 'volta voltaseconda)
 'end-repeat)
  c b a b
  \set Score.repeatCommands = #'((volta #f) end-repeat)
  f'1
  \set Score.endRepeatType = ":|."
  e
  }
  \alternative {
{ d }
{ a' }
  }
  f \bar "|."
}
%%%

Thanks,

Andy






bookOutputName seems broken in 2.25.12

2024-02-28 Thread Laurie Savage
Hi,

I've tried both of the methods of naming an output file in the book
environment. \bookOutputSuffix works fine.

I've used \bookOutputName and output-filename in the paper block as shown
below:






*\book {  \paper {output-filename = "Comin-Home-Baby_Tenor-1"  }
%\bookOutputName "Comin-Home-Baby_Tenor-1"  \header {*


Laurie Savage


Re: Moving a fingering mark below a slur

2024-02-28 Thread Xavier Scheuer
On Wed, 28 Feb 2024 at 12:07, Peter Mayes  wrote:

> As a beginner at Lilypond, I was looking for a way to achieve this. I
started just saying c4^"III" or similar. I then modified that to use
\markup to shrink the text. But if there is a more "natural" way of adding
these fingering marks, I would be happy to learn of it!

The advantage of using \finger is that your indication is applied as a
fingering indication.
Thus, if for example you decide to remove all your fingerings it would be
removed as well.

> Here is a fragment which shows what I was trying to avoid:
>
> "Should it always be kept inside the slur?" - I think the answer is "not
always" - it only looks wrong to me when the mark is a long way from the
note.

Actually in this case with the default value of avoid-slur of 'around the
fingering would be also inside the slur (but outside for your first
example).
See the code below (it is probably different than the code you used, but
you get the idea):

rit = -\markup { \italic rit. }
II = -\finger \markup { \fontsize #-4 II }
aTempo = ^\markup { \italic "a tempo" }

\relative c''' {
  \time 3/8
  c16(\> c,^\rit dis\II c' eis, c')\fermata |
  c,8(\p\aTempo f g)
}

Kind regards,
Xavier


Re: Moving a fingering mark below a slur

2024-02-28 Thread Peter Mayes

Thanks for the information.

In music for the oboe there are one or two marks that are used to 
indicate alternative fingerings, which are preferable depending on the 
notes on either side. They are usually "II", "III", "L" placed close to 
the note.


As a beginner at Lilypond, I was looking for a way to achieve this. I 
started just saying c4^"III" or similar. I then modified that to use 
\markup to shrink the text. But if there is a more "natural" way of 
adding these fingering marks, I would be happy to learn of it!


Here is a fragment which shows what I was trying to avoid:

"Should it always be kept inside the slur?" - I think the answer is "not 
always" - it only looks wrong to me when the mark is a long way from the 
note.


Thanks again

-- Peter

On 27/02/2024 19:03, Xavier Scheuer wrote:

On Tue, 27 Feb 2024 at 17:28, Peter Mayes  wrote:
>
> Almost certainly a fairly trivial question: in bar 3, how to put the 
"L" mark above the note, but below the slur?


Hello,

Should the "L" mark really be considered as a Fingering object? 
Because as you currently define it, it's a TextScript.

Should it always be kept inside the slur?

In that case adapt your definition of "left" to this:
left = -\tweak avoid-slur #'inside \finger \markup { \fontsize #-4 L }

Kind regards,
Xavier


Re: Omit footnotes and footnote text from score

2024-02-28 Thread Timothy Lanfear


On 27/02/2024 17:07, William Rehwinkel via LilyPond user discussion wrote:

Dear list,

I am wondering if there is a way to omit footnotes and the text that 
accompanies them from a score. the reason for this is I am making a 
critical edition of a baroque trio sonata from a manuscript, and would 
like to use footnotes for editorial changes in the full score and not 
show them in the parts.


You can remove the footnote engraver from the score to totally disable 
footnote processing.


\version "2.25.7"

part = \relative d' {\footnote #'(0.5 . 2) "Example footnote" d4 }

\book {
  \score {
    \new Staff \part
  }
}

\book {
  \score {
    \layout { \context { \Score \remove "Footnote_engraver" } }
    \new Staff \part
  }
}

--
Timothy Lanfear, Bristol, UK.