Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-19 Thread Xavier Scheuer
On Mon, 20 Nov 2023 at 05:15, Abe Raher  wrote:
>
> p.s. This story ended oddly.
>
> I uninstalled ghostscript and then installed ghostscript 10.02.0.
>
> I pinned that version.
>
> Still got the error ...
>
> Uninstalled lilypond.
>
> Reinstalled lilypond – this required unpinning ghostscript.
>
> Now it's all working. Odd because we're back to the latest ghostscript
which is what we thought was the source of the error.

Hello,

Yes, but after uninstalling LilyPond 2.24.2 you reinstalled the brand-new
2.24.3, which contains a fix for the Ghostscript problem.
Thanks to the speedy LilyPond developers.

Kind regards,
Xavier


Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-19 Thread Hans Aikema
On 20 Nov 2023, at 04:02, Abe Raher  wrote:p.s. This story ended oddly.I uninstalled ghostscript and then installed ghostscript 10.02.0.I pinned that version.Still got the error ...Uninstalled lilypond.Reinstalled lilypond – this required unpinning ghostscript.Now it's all working. Odd because we're back to the latest ghostscript which is what we thought was the source of the error.Not that odd that your 'latest editions' setup works, because your actions also updated lilypond to the (brand new) 2.24.3, which contains a fix for the finddevices issue with the latest ghostscript version.% lilypond --loglevel=debug template-notes-only.ly 
Log level set to 287
GNU LilyPond 2.24.3 (running Guile 3.0)






Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-19 Thread Abe Raher
p.s. This story ended oddly.

I uninstalled ghostscript and then installed ghostscript 10.02.0.

I pinned that version.

Still got the error ...

Uninstalled lilypond.

Reinstalled lilypond – this required unpinning ghostscript.

Now it's all working. Odd because we're back to the latest ghostscript
which is what we thought was the source of the error.

% lilypond --loglevel=debug template-notes-only.ly

Log level set to 287

GNU LilyPond 2.24.3 (running Guile 3.0)


Relocation

  Absolute file name of LilyPond binary computed from PATH:


PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin

argv0=lilypond

  Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.3'

  Using run-time value for datadir,

setting it to '/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

  Using run-time value for libdir,

setting it to '/usr/local/Cellar/lilypond/2.24.3/lib/lilypond/2.24.3'

  Using run-time value for localedir,

setting it to '/usr/local/Cellar/lilypond/2.24.3/share/locale'

  Using compile-time value for relocdir,

setting it to ''

  Prepending '/usr/local/Cellar/lilypond/2.24.3/bin' to PATH

  Setting PATH to
'/usr/local/Cellar/lilypond/2.24.3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin'

Setting GUILE_AUTO_COMPILE to '0'

Setting GUILE_WARN_DEPRECATED to 'detailed'

Setting XDG_CACHE_HOME to
'/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

Setting GC_INITIAL_HEAP_SIZE to '40M'

Setting GC_NPROCS to '1'

Setting GC_FREE_SPACE_DIVISOR to '1'



Effective prefix: '/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

PATH="/usr/local/Cellar/lilypond/2.24.3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin"


[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/lily.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/lily-library.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/output-lib.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/markup-macros.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/parser-ly-from-scheme.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/file-cache.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-event-classes.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-callbacks.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-types.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-note-names.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/c++.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-entry.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/skyline.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/markup.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-markup-commands.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/stencil.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/modal-transforms.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-ignatzek-names.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/music-functions.scm

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-display-methods.scm]

]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/part-combiner.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/autochange.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-properties.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/time-signature.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/time-signature-settings.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/auto-beam.scm]


Auto-bar number after multi-measure rest

2023-11-19 Thread Adam M. Griggs
Hello again list,

Is it possible to configure the bar number engraver so that *in addition to*
its regular behaviour, whatever that may be defined as*, it will also print
a bar number after a multi-measure rest?

Thank you.


* I usually go with
\set Score.barNumberVisibility = #(modulo-bar-number-visible 4 1)
because I detest counting bars up from the start of the system.


Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread Robert Hickman
Updating to the latest version fixed the issue, and also the unwanted
extra space. Problem was just Debian shipping a very old version for
some reason.

Thank you for your help.

On Mon, 20 Nov 2023 at 00:12, William Rehwinkel
 wrote:
>
> Dear Robert,
>
> in the future, please take care that the minimal working example does
> not contain any undefined symbols that cause errors. Here, simply adding
> "strike = \fermata" at the beginning of the file alleviated all these
> errors, however.
>
> After using convert-ly and rendering (using version 2.25.7) this extra
> barline doesn't appear. Can you try updating to the most recent version
> of lilypond (.24 or .25), and see if that helps?
>
> Thanks,
> -William
>
> On 11/19/23 19:00, Robert Hickman wrote:
> > Hi people. I'm trying to reproduce the formatting from a tune that
> > started out in ABC notation, which is formatted with line breaks
> > around phrases instead of bars. It is working as intended, except for
> > an empty bar that's showing up after the first repeat sign, and I have
> > no idea what's causing it. Also there's extra space being added before
> > the other line breaks as well:
> >
> > https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > The following is how it should be formatted (generated by ABCM2PS).
> >
> > https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > And here's the code, without the definition of the \strike articulation 
> > symbol.
> >
> > \version "2.18.2"
> >
> > \header {tagline = ""}
> > {
> >  \numericTimeSignature
> >  \time 4/4
> >  \key f \major
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
> > d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
> > d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
> > d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
> > d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
> > }
> >
>
> --
> William Rehwinkel - Oberlin College and Conservatory '24
>
> will...@williamrehwinkel.net
>
> PGP key: https://ftp.williamrehwinkel.net/pubkey.txt



Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread Robert Hickman
On Mon, 20 Nov 2023 at 00:12, William Rehwinkel
 wrote:
>
> Dear Robert,
>
> in the future, please take care that the minimal working example does
> not contain any undefined symbols that cause errors. Here, simply adding
> "strike = \fermata" at the beginning of the file alleviated all these
> errors, however.
>
> After using convert-ly and rendering (using version 2.25.7) this extra
> barline doesn't appear. Can you try updating to the most recent version
> of lilypond (.24 or .25), and see if that helps?
>
> Thanks,
> -William
>
> On 11/19/23 19:00, Robert Hickman wrote:
> > Hi people. I'm trying to reproduce the formatting from a tune that
> > started out in ABC notation, which is formatted with line breaks
> > around phrases instead of bars. It is working as intended, except for
> > an empty bar that's showing up after the first repeat sign, and I have
> > no idea what's causing it. Also there's extra space being added before
> > the other line breaks as well:
> >
> > https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > The following is how it should be formatted (generated by ABCM2PS).
> >
> > https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > And here's the code, without the definition of the \strike articulation 
> > symbol.
> >
> > \version "2.18.2"
> >
> > \header {tagline = ""}
> > {
> >  \numericTimeSignature
> >  \time 4/4
> >  \key f \major
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
> > d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
> > d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
> > d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
> > d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
> > }
> >
>
> --
> William Rehwinkel - Oberlin College and Conservatory '24
>
> will...@williamrehwinkel.net
>
> PGP key: https://ftp.williamrehwinkel.net/pubkey.txt

Good point. I'm using 2.18.2 which is what's in the repo for debian 10.



Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread William Rehwinkel via LilyPond user discussion

Dear Robert,

in the future, please take care that the minimal working example does 
not contain any undefined symbols that cause errors. Here, simply adding 
"strike = \fermata" at the beginning of the file alleviated all these 
errors, however.


After using convert-ly and rendering (using version 2.25.7) this extra 
barline doesn't appear. Can you try updating to the most recent version 
of lilypond (.24 or .25), and see if that helps?


Thanks,
-William

On 11/19/23 19:00, Robert Hickman wrote:

Hi people. I'm trying to reproduce the formatting from a tune that
started out in ABC notation, which is formatted with line breaks
around phrases instead of bars. It is working as intended, except for
an empty bar that's showing up after the first repeat sign, and I have
no idea what's causing it. Also there's extra space being added before
the other line breaks as well:

https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

The following is how it should be formatted (generated by ABCM2PS).

https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

And here's the code, without the definition of the \strike articulation symbol.

\version "2.18.2"

\header {tagline = ""}
{
 \numericTimeSignature
 \time 4/4
 \key f \major
 \repeat volta 2 {
 \partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
\allowBreak \break
 \partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
 \repeat volta 2 {
 \partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
\allowBreak \break
 \partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
}



--
William Rehwinkel - Oberlin College and Conservatory '24

will...@williamrehwinkel.net

PGP key: https://ftp.williamrehwinkel.net/pubkey.txt


OpenPGP_signature.asc
Description: OpenPGP digital signature


What's causing this extra bar line and empty bar?

2023-11-19 Thread Robert Hickman
Hi people. I'm trying to reproduce the formatting from a tune that
started out in ABC notation, which is formatted with line breaks
around phrases instead of bars. It is working as intended, except for
an empty bar that's showing up after the first repeat sign, and I have
no idea what's causing it. Also there's extra space being added before
the other line breaks as well:

https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

The following is how it should be formatted (generated by ABCM2PS).

https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

And here's the code, without the definition of the \strike articulation symbol.

\version "2.18.2"

\header {tagline = ""}
{
\numericTimeSignature
\time 4/4
\key f \major
\repeat volta 2 {
\partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
\allowBreak \break
\partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
\repeat volta 2 {
\partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
\allowBreak \break
\partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
}



Re: programming error: Improbable offset for stencil: -inf staff space,Setting to zero.

2023-11-19 Thread Thomas Morley
Am So., 19. Nov. 2023 um 15:30 Uhr schrieb Michael Gerdau :
>
> Hi lilyponders!
>
> the attached fairly short script creates 4x the aforementioned error. It
> seems to be created by the combined
>\tweak Parentheses.font-size #2 \parenthesize
>
> The resulting score looks basically fine (AFAICT) but I guess this error
> should not occur anyway.
>
> This happens both with 2.25.9 and 2.25.10
>
> Kind regards,
> Michael
> --
>   Michael Gerdau   email: m...@qata.de
>   GPG-keys available on request or at public keyserver

Well, the output is not ok. Look at the begin of measure 13, those
small parentheses...
A minimal:

\version "2.25.10" %% happens with 2.24. already
{
  \override DynamicTextSpanner.style = #'none
  b1-\parenthesize \cresc \break b\f
}

Imho a bug.

You're brobably better of doing:

{
  \set crescendoSpanner = #'text
  \set crescendoText = "(cresc.)"
  \override DynamicTextSpanner.style = #'none
  b1\< \break b\f
}

Cheers,
  Harm



LilyPond 2.24.3 released!

2023-11-19 Thread Jonas Hahnfeld via LilyPond user discussion
We are proud to announce the release of GNU LilyPond 2.24.3. LilyPond
is a music engraving program devoted to producing the highest-quality
sheet music possible. It brings the aesthetics of traditionally
engraved music to computer printouts.

This version contains a number of fixes since the release of the
previous stable version in August 2023. We recommend all users to
update. Scores converted to or written for 2.24.0 will continue to work
with this release.
A list of added features and other user-visible changes for 2.24 can be
found at https://lilypond.org/doc/v2.24/Documentation/changes/. Among
others, version 2.24.0 switched to Guile 2.2 and features a completely
rewritten infrastructure for creating the official packages, finally
allowing us to offer 64-bit binaries for macOS and Windows. These pre-
built binaries are linked from https://lilypond.org/download.html and
available from GitLab:
https://gitlab.com/lilypond/lilypond/-/releases/v2.24.3

For distributions, LilyPond 2.24.3 most notably includes a fix to
restore PDF conversion with the recent Ghostscript 10.02.1. Also Guile
3.0 is now officially supported, even though the recommended version
will remain Guile 2.2 for the LilyPond 2.24 series.


signature.asc
Description: This is a digitally signed message part


programming error: Improbable offset for stencil: -inf staff space,Setting to zero.

2023-11-19 Thread Michael Gerdau

Hi lilyponders!

the attached fairly short script creates 4x the aforementioned error. It 
seems to be created by the combined

  \tweak Parentheses.font-size #2 \parenthesize

The resulting score looks basically fine (AFAICT) but I guess this error 
should not occur anyway.


This happens both with 2.25.9 and 2.25.10

Kind regards,
Michael
--
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver\version "2.25.9"

\pointAndClickOff %% for smaller PDFs

global = {
  \key bes \major
  \time 3/2
  \dynamicUp
  \autoBeamOff
  \override DynamicTextSpanner.style = #'none
}

soprano = \relative bes' {
  \global
  R1*3/2*2 | bes2.\f c4 d2 | f2. es4 d2 \bar "||"
  \time 2/2
  es1~\mp | es1 | d1 | r2 bes8[ c d es] f4. es8 d4 d |
  c1 | r2 c4^\tweak Parentheses.font-size #2 \parenthesize \cresc f4~ | f4 e f 
c | bes4 g a a | g4 c\f a2 \tweak Parentheses.font-size #2 \parenthesize 
\breathe \bar "||"
  \time 3/2 R1*3/2*2 | f'2.\f es4 d2 | bes2. c4 d2 \bar "||"
  \bar "|."
}

tenor = \relative bes {
  \global
  bes2.\f c4 d2 | f2. es4 d2 | R1*3/2*2 \bar "||"
  \time 2/2
  r2 es2~\mp | es2 bes | bes8[ c d es] f4. es8 | d4. c8 bes4 bes | f2 f'~ |
  f4 f f2 | R1 | r2 r4 a,4^\tweak Parentheses.font-size #2 \parenthesize \cresc 
| g4 c f, a | c4 c\f c2 \tweak Parentheses.font-size #2 \parenthesize \breathe 
\bar "||"
  \time 3/2 f2.\f es4 d2 | bes2. c4 d2 | R1*3/2*2 \bar "||"
  \bar "|."
}

sopranoVerse = \lyricmode {
  Ho -- di -- e, ho -- di -- e, Chri -- stus, na -- _ _ _ tus est,
  No -- e, __ No -- e, No -- e, No -- e, No -- e, No -- e.
  Ho -- di -- e, ho -- di -- e,
}

tenorVerse = \lyricmode {
  Ho -- di -- e, ho -- di -- e, Chri -- stus, na -- _ _ _ _ _ tus est, na -- 
tus est,
  No -- e, No -- e, No -- e, No -- e.
  Ho -- di -- e, ho -- di -- e,
}

\score {
  \new ChoirStaff <<
\new Staff \with {
  instrumentName = "Soprano"
}
\new Voice = "soprano" \soprano
\new Lyrics \lyricsto "soprano" { \sopranoVerse }
\new Staff \with {
  instrumentName = "Tenor"
}
\new Voice = "tenor" { \clef "treble_8" \tenor }
\new Lyrics \lyricsto "tenor" { \tenorVerse }
  >>
}