Re: Custom Titles

2023-01-03 Thread Richard Shann
On Mon, 2023-01-02 at 17:36 +, Joe Wilkinson wrote:
>  Thanks,
>  I've been looking at lilypond markup for text and find it difficult
> to determine which bits are already included in Multi-Line Text.
>  It looks as if the \markup { ... ]

yes, looking in the LilyPond View you can see that the Multi-Line text
editor wraps everything you type with

^\markup\scale #'(1 . 1)\column{

and }
after replacing any paragraph markers with \line{} wrappers.

The scaling is doing nothing, of course; I'm not quite sure what the
motivation for wrapping everything in \column is ...

>  is already there; certainly \markup seems to produce an error when
> Typesetting, though not necessarily in the Preview
>   For example (and I was playing with the poetry to see what
> happened)
>  what is below in red causes no issue in the Preview but a
> Typesetting error 
I just pasted your red text into a Multi-line and got the attached
which typesets alright for me.
No sure what you have - you could post the LilyPond emitted which
should be more explanatory.
Richard

>  Best wishes
>  Joe
>  
>  \bold {\“Sehnlich wenden wir uns, von Tag Ermüdete,}
>  ¶
>  \bold {der ambrosischen Nacht deine Gesänge zu,}
>  
>  ¶\bold {deren wehender Fittich}
>  
>  ¶\bold {uns beschattet mit goldenem Traum.\”} \italic { from: Ode an
> Holderlin}
>  
>  ¶
>  ¶We turn passionately, exhausted by day, 
>  
>  ¶to the ambrosia, the night of your music,
>  
>  ¶whose fanning wing casts us into
>  
>  ¶a Shadow of a Golden Dream 
> 
>  
>  
>  
> On 02/01/2023 16:48, Richard Shann wrote:
> On Mon, 2023-01-02 at 12:28 +, Richard Shann wrote:
>  
> > On Sun, 2023-01-01 at 18:21 +, Joe Wilkinson wrote:
> >  
> > > Hi Richard,
> > > All the music systems are now in order. Thanks.
> > > 
> > > The Score I am transposing has some poetry associated with each 
> > > movement, and I thought it might be good to include it on a page
> > > between 
> > > the Titles and the First Movement.
> > I think the only thing Denemo provides is the ability to include
> > title
> > page(s) generated externally as an eps file. So you would create
> > everything you wanted using an external editor and write it out as
> > an
> > eps file and then include it using:
> > 
> > Command: Prepend Encapsulated Postscript
> > Places text/graphics from an encapsulated postscript file at the
> > start
> > of the current movement.
> > Use this for columns of text or images, fancy titles etc. prepared
> > in
> > other programs
> > which are to appear before the music.
> > Location: Object Menu ▶ Movements ▶ Titles
> > Internal Name: PrependPostscript
> > 
> > But I see that there is a command to place LilyPond markup after a
> > movement so I've tweaked that to place the markup before the
> > movement
> > -
> > this is in the sources now and will be built overnight:
> > 
> > Command: Text Before Movement
> > Places (formatted) text before the music of the current movement.
> > Location: Object Menu ▶ Movements ▶ Titles
> > Internal Name: MarkupAtStart
> > 
> > If you use Score titles for the titles then the markup you give
> > will
> > come after them (but before any Movement titles you set).
> Using this to get exactly what you want will be easier if you have
> read
> up the LilyPond markup commands and have the patience to fiddle with
> them. I've just come up with an example of placing some justified
> text
> centered beneath the title - attached here. But until you have the
> command installed you can't edit this easily...
> 
> Richard
> 
> 
> 
>  
> > HTH
> > 
> > Richard
> > 
> >  
> > > I tried Custom Titles, hoping to put the verses in the centre
> > > column,
> > > and have hit some snags.
> > > 
> > > 1 Once I have created a line, trying to edit it can only be done
> > > by
> > > re-entering the data.
> > > 2 There doesn't seem to be a way to delete a line, once entered.
> > > 3 I need a way of putting several lines in one block - though the
> > > text 
> > > display shows four lines if i use SHIFT-ENTER it is all in a wide
> > > single 
> > > line on the page.
> > > 
> > > It isn't important: I can Start Again from the a file with just
> > > music
> > > and add Titles and forget the poetry.
> > > But it would be nice. Even better if the lines could be edited
> > > from
> > > the 
> > > Typesetter screen
> > > 
> > > Best wishes and a Happy New Year.
> > > 
> > > Joe
> > 
> > 
>    
>  



MultiLine.denemo
Description: application/wine-extension-denemo


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





[bug #63611] Continuous Typesetting does not report bugs if output is generated

2023-01-03 Thread Richard Shann
URL:
  

 Summary: Continuous Typesetting does not report bugs if
output is generated
 Project: Denemo
   Submitter: rshann
   Submitted: Tue 03 Jan 2023 10:20:59 AM UTC
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
 Open/Closed: Open
 Discussion Lock: Any


___

Follow-up Comments:


---
Date: Tue 03 Jan 2023 10:20:59 AM UTC By: Richard Shann 
With the attached file an open quote character is escaped, which causes an
error on typesetting. This is not noticed by Denemo until you initiate the
typesetting from the LilyPond View.






___
File Attachments:


---
Date: Tue 03 Jan 2023 10:20:59 AM UTC  Name: NoWarningTypesetting.denemo 
Size: 4KiB   By: rshann



___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




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