[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    ScholarLY and Latex
From:       Craig Dabelstein <craig.dabelstein () gmail ! com>
Date:       2019-02-26 21:10:34
Message-ID: CAMhPZ6DyHm=BNwywngg8ABRswbQjetykavw8Y_z5Q1NsOLZzug () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all (and especially Urs),

I've been working with Scholarly and Latex -- the usage-example on the
initial-latex-package branch works perfectly, but the inp file is different
to what is currently exported by the Scholarly package (which I'm sure you
know).

An example from the initial-latex-package that works perfectly is:

\criticalRemark
   [grob={NoteHead},
    grob-location={((beat-string . 4) (beat-fraction . 0) (beat-part . Mom
0) (our-beat . 4) (measure-pos . Mom 3/4) (measure-no . 1)
(rhythmic-location 1 . Mom 3/4))},
    grob-type={NoteHead},
    input-file-name={annotate.ly},
    context-id={usage-examples},
    location={/Users/Jeffery/work/scholarLY/usage-examples/annotate.ly
15:4:4},
    type={critical-remark},
    message={Go to \textit{school} and \textcolor{red}{sit back}! This
        annotation has a footnote which LilyPond will ignore.},
    ann-footnote={Here is a footnote for the entire annotation; it
        is only used by the \LaTeX{} package.}]

An example of the inp file from the master branch of ScholarLy:

\criticalRemark[
    item={#f},
    message={Slur in original part is unclear as to its exact start and
end. The best visual estimation is a slur covering the full bar, however
the dotted slur represents the likely original intent based on future
presentations that are marked clearly.},
    ann-type={critical-remark},
    music-type={post-event},
    style-type={tweak},
    span-class={annotation},
    location={/Users/craigdabelstein/Maxime's
Music/Projects/MM0079/Jadin/lilypond/Score/../Notes/clarinetI.ily:37:3:3},
    context-id={1re. CLARINETTE.},
    context-label={1re. CLARINETTE.},
    score-id={#f},
    score-label={},
    grob-type={Slur},
    grob-label={Slur},
    beat-string={1 3/4},
    beat-fraction={3/4},
    beat-part={3/8},
    our-beat={1},
    measure-pos={3/8},
    measure-no={9},
    rhythmic-location={9,3/8},
    ]

This throws up multitudes of xkeyval errors such as:

! Package xkeyval Error: `measure-pos' undefined in families `scholarLYann'.



Can I help to get the inp output of the master branch to work with the
latex-package? Where I should I start, or what would you like me to do?


All the best,


Craig



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelstein@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all (and especially \
Urs),<div><br></div><div>I&#39;ve been working with Scholarly and Latex -- the \
usage-example on the initial-latex-package branch works perfectly, but the inp file \
is different to what is currently exported by the Scholarly package (which I&#39;m \
sure you know).</div><div><br></div><div>An example from the initial-latex-package \
that works perfectly is:</div><div><br></div><div><div>\criticalRemark</div><div>     \
[grob={NoteHead},</div><div>      grob-location={((beat-string . 4) (beat-fraction . \
0) (beat-part . Mom 0) (our-beat . 4) (measure-pos . Mom 3/4) (measure-no . 1) \
(rhythmic-location 1 . Mom 3/4))},</div><div>      grob-type={NoteHead},</div><div>   \
input-file-name={<a href="http://annotate.ly">annotate.ly</a>},</div><div>      \
context-id={usage-examples},</div><div>      \
location={/Users/Jeffery/work/scholarLY/usage-examples/<a \
href="http://annotate.ly">annotate.ly</a> 15:4:4},</div><div>      \
type={critical-remark},</div><div>      message={Go to \textit{school} and \
\textcolor{red}{sit back}! This</div><div>            annotation has a footnote which \
LilyPond will ignore.},</div><div>      ann-footnote={Here is a footnote for the \
entire annotation; it</div><div>            is only used by the \LaTeX{} \
package.}]</div><div><br></div><div>An example of the inp file from the master branch \
of ScholarLy:</div><div><br></div><div><div>\criticalRemark[</div><div>      \
item={#f},</div><div>      message={Slur in original part is unclear as to its exact \
start and end. The best visual estimation is a slur covering the full bar, however \
the dotted slur represents the likely original intent based on future presentations \
that are marked clearly.},</div><div>      ann-type={critical-remark},</div><div>     \
music-type={post-event},</div><div>      style-type={tweak},</div><div>      \
span-class={annotation},</div><div>      \
location={/Users/craigdabelstein/Maxime&#39;s \
Music/Projects/MM0079/Jadin/lilypond/Score/../Notes/clarinetI.ily:37:3:3},</div><div> \
context-id={1re. CLARINETTE.},</div><div>      context-label={1re. \
CLARINETTE.},</div><div>      score-id={#f},</div><div>      \
score-label={},</div><div>      grob-type={Slur},</div><div>      \
grob-label={Slur},</div><div>      beat-string={1 3/4},</div><div>      \
beat-fraction={3/4},</div><div>      beat-part={3/8},</div><div>      \
our-beat={1},</div><div>      measure-pos={3/8},</div><div>      \
measure-no={9},</div><div>      rhythmic-location={9,3/8},</div><div>      \
]</div></div><div><br></div><div>This throws up multitudes of xkeyval errors such \
as:</div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-as \
ian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">! Package xkeyval \
Error: `measure-pos&#39; undefined in families `scholarLYann&#39;.</span></p><p \
class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian \
:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian \
:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian \
:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Can I help to get \
the inp output of the master branch to work with the latex-package? Where I should I \
start, or what would you like me to do?</span></p><p class="gmail-p1" \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian \
:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">All the \
best,</span></p><p class="gmail-p1" \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian \
:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Craig</span></p><p \
class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian \
:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p></div><div><br></div>-- \
<br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b \
style="font-size:12.8px">Craig Dabelstein</b><div \
style="font-size:12.8px">Maxime&#39;s Music</div><div style="font-size:12.8px"><a \
href="mailto:craig.dabelstein@gmail.com" \
target="_blank">craig.dabelstein@gmail.com</a></div><div \
style="font-size:12.8px"><i><a href="http://maximesmusic.com" \
target="_blank">http://maximesmusic.com</a></i></div></div></div></div></div></div></div></div></div>




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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic