lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programming error & "fine" alignement


From: Mahanidhi
Subject: Re: Programming error & "fine" alignement
Date: Mon, 01 Nov 2021 14:22:41 +0000

The include file now works but the: \once\override 
Score.RehearsalMark.break-visibility = ##(#t #f #f) \fine
doesn't. This message show up:

Starting lilypond-windows.exe 2.22.1 [include-all.ly]...
Processing 
`C:/Users/mahan/AppData/Local/Temp/frescobaldi-8ijs0g1g/tmph11fyztr/include-all.ly'
Parsing...
C:/Users/mahan/AppData/Local/Temp/frescobaldi-8ijs0g1g/tmph11fyztr/include-all.ly:6:76:
 error: unknown escaped string: `\fine'
fine = {\once\override Score.RehearsalMark.break-visibility = ##(#t #f #f)
                                                                           
\fine }

C:/Users/mahan/AppData/Local/Temp/frescobaldi-8ijs0g1g/tmph11fyztr/include-all.ly:6:76:
 error: string outside of text script or \lyricmode
fine = {\once\override Score.RehearsalMark.break-visibility = ##(#t #f #f)
                                                                           
\fine }

fatal error: failed files: 
"C:\\Users\\mahan\\AppData\\Local\\Temp\\frescobaldi-8ijs0g1g\\tmph11fyztr\\include-all.ly"
Exited with return code 1.


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Il lunedì 1 novembre 2021 13:28, Thomas Morley <thomasmorley65@gmail.com> ha 
scritto:

> Am Mo., 1. Nov. 2021 um 13:02 Uhr schrieb Mahanidhi mahanidhi@protonmail.com:
>
> > I forgot to add the \include file:
> >
> > \version "2.22.1"
> >
> > \language "english"
> >
> > show-barline = {\once \undo \hide Staff.BarLine \bar "|"} % to show bar line
> >
> > fine = {\once \override Score.RehearsalMark.self-alignment-X = #RIGHT \mark 
> > \markup { \italic \abs-fontsize #10 "Fine" }}
> >
> > dcfine = {\once \override Score.RehearsalMark.self-alignment-X = #RIGHT 
> > \mark \markup{\italic \abs-fontsize #10 "D.C. al Fine"}}
> >
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >
> > Il lunedì 1 novembre 2021 12:56, Mahanidhi mahanidhi@protonmail.com ha 
> > scritto:
> >
> > Hello,
> >
> > I have a problem with an \include code. The DC al fine is aligned to the 
> > bar but the fine is not. At the same time I get this error:
> >
> > programming error: file name not normalized: 
> > \users\mahan\chinmoy-sangit\include\include-all.ly
> >
> > Can someone help me? Thank you.
> >
> > minimal code:
> >
> > \version "2.22.1"
> >
> > \language "english"
> >
> > \include "\users\mahan\chinmoy-sangit\include\include-all.ly"
> >
> > global = {
> >
> > \key gf \major
> >
> > \hide Staff.BarLine
> >
> > }
> >
> > \layout {% to align
> >
> > ragged-last = ##f
> >
> > line-width = 185 % or some other number
> >
> > indent = #0
> >
> > }
> >
> > melody = \relative c'
> >
> > {\global
> >
> > %1
> >
> > ef8 ef4 f8 f4 \melisma ef8\melismaEnd f8 gf2 \glissando \melisma af2. 
> > \glissando gf4.. \melismaEnd gf16 gf2.\fine \show-barline \bar "||"\break
> >
> > %2
> >
> > ef8 [ef] f af4. bf8 cf4.\melisma bf16 af gf4. f16 ef f4 \glissando af2 
> > \glissando \melismaEnd gf4 gf1\dcfine \show-barline \bar "|."}
> >
> > \score {
> >
> > \melody
> >
> > \layout { }
> >
> > \midi { }
> >
> > }% midi
>
> Use
>
> \once \override Score.RehearsalMark.break-visibility = ##(#t #f #f)
>
> \fine
>
> For the \include use "/" as NR 3.3.1 Including LilyPond files states. Not "\".
>
> Cheers,
>
> Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]