Re: Vertical spacing again

2017-08-08 Thread Werner Arnhold
Thank you very much, problem solved! Sorry for the missing lines, I was not aware how to shorten the voices and text so much. Werner Am Dienstag, den 08.08.2017, 08:48 +0200 schrieb Malte Meyn: > Please always give a *compilable* minimal example. I had to add the > following code to be able to t

Remove all occurrencies of "0" fingerings

2017-08-08 Thread Marc Hohl
Hello list! I wanted to write a little callback to remove all occurrencies of "0" fingerings. This is what I got so far: \version "2.19.63" music = { c'4-3 d'-0 e'-2 f'-3 | g'1-0 } \score { \new Staff \with { \override Fingering.stencil = #(lambda (grob) (let* ((text (l

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Malte Meyn
Am 08.08.2017 um 10:23 schrieb Marc Hohl: I wanted to write a little callback to remove all occurrencies of "0" fingerings. This doesn’t empty the stencil but removes the Fingering grobs completely (by suicide): \override Fingering.before-line-breaking = #(lambda (grob) (if

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Marc Hohl
Hi Malte, Am 08.08.2017 um 10:30 schrieb Malte Meyn: Am 08.08.2017 um 10:23 schrieb Marc Hohl: I wanted to write a little callback to remove all occurrencies of "0" fingerings. This doesn’t empty the stencil but removes the Fingering grobs completely (by suicide): thanks for this soluti

Re: Alignment problem

2017-08-08 Thread Manuela Gößnitzer
What about \relative b, { \key g \major \clef "bass" \time 3/4 \textLengthOn d4 _\markup{\italic "Fine"} \fermata g4- \markup { \dynamic "f" } b4 } 2017-08-07 15:18 GMT+02:00 Phil Holmes : > It does, but only if you attach the markup to the note. As it turns out, > it still _just_ coll

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Thomas Morley
2017-08-08 11:46 GMT+02:00 Marc Hohl : > Hi Malte, > > Am 08.08.2017 um 10:30 schrieb Malte Meyn: >> >> >> >> Am 08.08.2017 um 10:23 schrieb Marc Hohl: >>> >>> >>> I wanted to write a little callback to remove all occurrencies >>> of "0" fingerings. >> >> >> This doesn’t empty the stencil but remov

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread David Kastrup
Marc Hohl writes: > I wanted to write a little callback to remove all occurrencies > of "0" fingerings. This is what I got so far: > > > \version "2.19.63" > > music = { > c'4-3 d'-0 e'-2 f'-3 | g'1-0 > } > > \score { > \new Staff \with { > \override Fingering.stencil = ^^

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Thomas Morley
2017-08-08 12:47 GMT+02:00 David Kastrup : > > You can do this by using [...] Nice one. I always forget about 'grob-transformer'. Missing bracket, tho' \score { \new Staff \with { \override Fingering.text = #(grob-transformer 'text (lambda (grob default) (if (string= "0" d

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread David Kastrup
Thomas Morley writes: > 2017-08-08 12:47 GMT+02:00 David Kastrup : > >> >> You can do this by using > [...] > > Nice one. I always forget about 'grob-transformer'. Missing bracket, tho' Edited out a debug printer before posting (which is why I figured the warning to be bogus), obviously without

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Marc Hohl
Am 08.08.2017 um 12:47 schrieb David Kastrup: Marc Hohl writes: I wanted to write a little callback to remove all occurrencies of "0" fingerings. This is what I got so far: \version "2.19.63" music = { c'4-3 d'-0 e'-2 f'-3 | g'1-0 } \score { \new Staff \with { \override Fingerin

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Marc Hohl
Am 08.08.2017 um 13:00 schrieb Thomas Morley: 2017-08-08 12:47 GMT+02:00 David Kastrup : You can do this by using [...] Nice one. I always forget about 'grob-transformer'. Missing bracket, tho' I wasn't aware of grob-transformer at all. And I am still unsure about what it does. I have rea

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread David Kastrup
Marc Hohl writes: > Am 08.08.2017 um 13:00 schrieb Thomas Morley: >> 2017-08-08 12:47 GMT+02:00 David Kastrup : >> >>> >>> You can do this by using >> [...] >> >> Nice one. I always forget about 'grob-transformer'. Missing bracket, tho' > > I wasn't aware of grob-transformer at all. And I am stil

Re: Alignment problem

2017-08-08 Thread Menu Jacques
Hello Manuela, +2, thanks, using two markups is both elegant and simple! JM > Le 8 août 2017 à 12:18, Manuela Gößnitzer a > écrit : > > What about > > \relative b, { > \key g \major > \clef "bass" > \time 3/4 > > \textLengthOn > d4 _\markup{\italic "Fine"} > \fermata > g4- \markup {

Re: Vertical alignment of custom dynamics

2017-08-08 Thread Gregor Smith
Thanks, that worked. Had to change the horizontal alignment but now I have exactly what I was looking for. On 6 August 2017 at 00:46, Martin Neubauer wrote: > > > On 06/08/2017 00:19, Gregor Smith wrote: > > \version "2.16.0" > > > > \include "common.ly" > > > > upper = \relative c'' { > > \cl

Error reporting and Lilypond Linting

2017-08-08 Thread Guy Stalnaker
All, I ask this question knowing some of Lilypond's developers frequent this list -- is there anyway to get better error reporting/logging? I ask for several reasons. One is that the current log output when -verbose is enabled is FULL of lines relating to font substitution. Over 80% of the output

Re: Error reporting and Lilypond Linting

2017-08-08 Thread David Kastrup
Guy Stalnaker writes: > Third, some log output lines do not reference a line in the lilypond source > file. Again, in this case, the eventual resolution related to multi-measure > rests (that closing brace } "covered" the multi-measure rest because it was > after and not before the multi-measure

Automatically numbering "instrument name"?

2017-08-08 Thread Sam Bivens
As I finish up a sight-singing course packet, I'm wondering if it's possible for LilyPond to automatically number the individual scores from beginning to end. Throughout the document, I have six different types of score contexts, shown in mwe.ly. The perfect solution would be a fix where LilyPond

Re: Error reporting and Lilypond Linting

2017-08-08 Thread Flaming Hakama by Elaine
> From: Guy Stalnaker > Subject: Error reporting and Lilypond Linting > I ask this question knowing some of Lilypond's developers frequent this list -- is there anyway to get better error reporting/logging? Sorry, I can't speak to your main question. > So, though multi-measure rest errors were

Re: Automatically numbering "instrument name"?

2017-08-08 Thread Manuela Gößnitzer
Do you mean something like this? #(define score-number 0) %% insert in first score #(set! score-number (1+ score-number)) \new PianoStaff \with { instrumentName = \markup { #(number->string score-number) "." } } \relative c'' { c } 2017-08-08 23:33 GMT+02:00 Sam Bivens : > As I fin