lilypond-user
[Top][All Lists]

## Re: ScholarLy and Latex

 From: Craig Dabelstein Subject: Re: ScholarLy and Latex Date: Fri, 2 Mar 2018 19:25:00 +1000

Hi Urs,

I hope you can understand these files. I think the report.sty file was borrowed from your Scores of Beauty post a long time ago (maybe). My problem is trying to get the content of the "message" field to be displayed.

All the best,

Craig

On 1 March 2018 at 19:05, Urs Liska wrote:

Hi Craig,

Am 23.02.2018 um 10:07 schrieb Craig Dabelstein:
Hi Lilyponders,

I'm having a minor problem with getting my ScholarLy inp file to work with Latex. The Latex output for each annotation looks like this:

\criticalRemark
[grob={DynamicText},
grob-location={Can't display grob location yet},
grob-type={DynamicText},
input-file-name={fluteI.ily},
context-id={Flauto 1},
location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical edition/Parts/../Notes/fluteI.ily 55:2:2},
type={critical-remark},
{18}{6}
{Flauto 1}
{DynamicText}

And within my Latex file each entry is displayed with this code:

\noindent
\theAnnotationNo\,)\\
\textit{(#7)}\\
\ifthenelse{\equal{#2}{\value{CurrentMeasure}}}
{}{\textbf{M. #2},
\setcounter{CurrentMeasure}{#2}}%
beat #3\\
#4\\
Affects: #5\\
#6''}

My problem is that Latex won't display the #6 (the contents of the message field). It is displaying the quotation marks but just empty space in between. If I cut and paste the message field and add it to the bottom of the code it displays perfectly correctly:

\criticalRemark
[grob={DynamicText},
grob-location={Can't display grob location yet},
grob-type={DynamicText},
input-file-name={fluteI.ily},
context-id={Flauto 1},
location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical edition/Parts/../Notes/fluteI.ily 55:2:2},
type={critical-remark},
{18}{6}
{Flauto 1}
{DynamicText}

Any ideas where I could be going wrong?

Not yet, but could you please send a MWE, i.e. a complete file, with maybe that critical remark just added in the file (instead of inputted)? What exactly is context of the code that displays the annotation, i.e. where's the complete definition of the "\criticalRemark" macro?

Urs

Craig

--
Craig Dabelstein
Maxime's Music

_______________________________________________
lilypond-user mailing list
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
https://lists.gnu.org/mailman/listinfo/lilypond-user

--
Craig Dabelstein
Maxime's Music

report.sty
Description: Text document

scholarly-latex-test.annotations.inp
Description: Binary data

scholarly-latex-test.ly
Description: Binary data

test-report.tex
Description: Text document