[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bug: putting accordion register symbol in title section lea
From: |
Thomas Morley |
Subject: |
Re: possible bug: putting accordion register symbol in title section leads to an error |
Date: |
Sun, 31 Jan 2021 16:20:20 +0100 |
Am So., 31. Jan. 2021 um 13:59 Uhr schrieb Davide Bonetti <db@davidebonetti.it>:
>
> Hi!
>
> we know that accordion register symbols works as markup and also as a
> music function.
>
> One can put accordion symbols everywhere in a markup block, but if you
> try to put accordion symbol in a title section this leads to an error:
>
> > \version "2.22.0"
> >
> > #(use-modules (scm accreg))
> >
> > \score {
> > { c4 d e f}
> > \header {
> > title =
> > \markup
> > \discant "1"
> > }}
> fails to compile, and the console returns:
>
> > error: syntax error, unexpected MUSIC_FUNCTION
> > \discant "1"
> Is this to be reported as a bug?
>
> thanks
>
> Davide
>
>
>
> --
> Questa e-mail รจ stata controllata per individuare virus con Avast antivirus.
> https://www.avast.com/antivirus
>
>
The used module (scm accreg) is not present in any header.
This holds for other modules as well.
Not sure if I'd call it a bug.
You could workaround with instantiating the module in every header:
\version "2.22.0"
#(use-modules (scm accreg))
\header {
#(use-modules (scm accreg))
title = \markup \discant "1"
}
\score {
{ c4 d e f}
\header {
#(use-modules (scm accreg))
subtitle = \markup \discant "1"
}
}
\markup \discant "1"
Tedious, but working.
Cheers,
Harm