Re: Emailing: test.ly

2023-01-03 Thread Richard Shann
On Tue, 2023-01-03 at 10:08 +, Joe Wilkinson wrote:
> works Ok if replaced by '

Slight confusion on your part - it works ok if you omit the backslash.
That single quote is just used by the LilyPond log to delineate the
syntax it is objecting to, it's not part of the input.

HTH

Richard





Re: Emailing: test.ly

2023-01-03 Thread Richard Shann
On Tue, 2023-01-03 at 10:08 +, Joe Wilkinson wrote:
> It objects to the \" 
You do not have \" what you have is \“
a subtle difference but critical. The double-quotes character " is a
single character and must be escaped, the open-quote “ is a multi-byte
character and must not. The multi-line text interface provides a menu
item to let you insert open and close quotes, but it would seem you
then added a \ to them making LilyPond throw and error, but as LilyPond
then goes on to generate the correct output Denemo didn't notice when
doing continuous typesetting :(

> - see log -
> works Ok if replaced by '

Ah, the bug is that Denemo doesn't report the error in all
circumstances - I've filed a bug report.

Richard


> Joe
> Using last night's download on Windows 10
> 
> 
> # -*-compilation-*-
> Processing `test.ly'
> Parsing...
> test.ly:19:57: error: unknown escaped string: `\“Sehnlich'
>  <> ^\markup\scale #'(1 . 1)\column{\line{\bold {
>  \“Sehnlich 
> wenden wir uns, von Tag Ermüdete,}
> 
> test.ly:25:49: error: unknown escaped string: `\”'
> }\line{\bold {uns beschattet mit goldenem Traum.
>  \”} \italic { from:
> Ode 
> an Holderlin}
> 
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Converting to `test.pdf'...
> fatal error: failed files: "test.ly"





Emailing: test.ly

2023-01-03 Thread Joe Wilkinson

It objects to the \" - see log -
works Ok if replaced by '
Joe
Using last night's download on Windows 10


# -*-compilation-*-
Processing `test.ly'
Parsing...
test.ly:19:57: error: unknown escaped string: `\“Sehnlich'
    <> ^\markup\scale #'(1 . 1)\column{\line{\bold {
    \“Sehnlich 
wenden wir uns, von Tag Ermüdete,}


test.ly:25:49: error: unknown escaped string: `\”'
}\line{\bold {uns beschattet mit goldenem Traum.
    \”} \italic { from: Ode 
an Holderlin}


Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `test.pdf'...
fatal error: failed files: "test.ly"

%% LilyPond file generated by Denemo version 2.6.14

%%http://www.gnu.org/software/denemo/

\version "2.22"

CompactChordSymbols = {}
#(define DenemoTransposeStep 0)
#(define DenemoTransposeAccidental 0)
DenemoGlobalTranspose = \void {}
titledPiece = {}
AutoBarline = {}
AutoEndMovementBarline = \bar "|."

% The music follows

MvmntIVoiceI = {
<> ^\markup\scale #'(1 . 1)\column{\line{\bold {\“Sehnlich wenden wir uns, von Tag Ermüdete,}
}\line{
\bold {der ambrosischen Nacht deine Gesänge zu,}

}\line{\bold {deren wehender Fittich}

}\line{\bold {uns beschattet mit goldenem Traum.\”} \italic { from: Ode an Holderlin}

}\line{
}\line{We turn passionately, exhausted by day,

}\line{to the ambrosia, the night of your music,

}\line{whose fanning wing casts us into

}\line{a Shadow of a Golden Dream
}
} s1*4/4 }





%Default Score Layout
\header{DenemoLayoutName = "Default Score Layout"
instrumentation = \markup { \with-url #'"scheme:(d-BookInstrumentation)" "Full Score"}
}

\header {
tagline = \markup {"" on \simple #(strftime "%x" (localtime (current-time)))}

}
#(set-default-paper-size "a4")
#(set-global-staff-size 18)
\paper {

   }

\score { %Start of Movement
  <<

%Start of Staff
\new Staff = "Part 1"  << 
 \new Voice = "MvmntIVoiceI"  { 
  \clef treble\key c \major\time 4/4   \MvmntIVoiceI
} %End of voice

>> %End of Staff

  >>

   } %End of Movement