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},
    message={Added missing \lilyDynamics{p}}]
    {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},
  message={Added missing \lilyDynamics{p}}]
  {18}{6}
  {Flauto 1}
  {DynamicText}
  {Added missing \lilyDynamics{p}}


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

Thanks in advance,

Craig


--
*Craig Dabelstein*
Maxime's Music
[email protected] <mailto:[email protected]>
/http://maximesmusic.com/


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to