Hi Ben,
could you maybe submit an issue to
<https://github.com/openlilylib/snippets/issues>? If not, I’ll do it
myself, but I’m currently short on time…
Best, Simon
On 16.10.19 13:15, Ben wrote:
On 10/15/2019 6:16 PM, Simon Albrecht wrote:
On 15.10.19 23:35, Ben wrote:
On 10/15/2019 4:43 PM, Simon Albrecht wrote:
On 15.10.19 14:33, Ben wrote:
What version(s) are you using Simon?
The same, basically…
Are you loading modules using the ‘new’ syntax? i.e.
\include "oll-core/package.ily"
\loadModule snippets.notation-snippets.shaping-bezier-curves.shapeII
Best, Simon
Yes, copied your code and pasted it as is.
Then I’m afraid I’m out of ideas… can you send a minimal example?
Best, Simon
Sure, no problem. The code should look familiar. :)
Here's an attachment showing how the shapeII *appears* to be working,
however there are always warnings - even from a fresh git clone. The
version warnings keep coming up...sorry I don't know why it's happening.
For testing, I simulated a new user to LilyPond: installed a fresh
virtual machine, installed unstable LilyPond, cloned openlilylib, and
added it to the path in Frescobaldi as I have done in my production
machine.
Everything is configured correctly as far as I can tell. Maybe
something in oll-core needs an update, just guessing from the log
messages. I highlighted some of the log for you.
Thanks for your help Simon!
%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.83"
\language "english"
\include "oll-core/package.ily"
\loadModule snippets.notation-snippets.shaping-bezier-curves.shapeII
\relative {
\time 12/8
\stemDown
<e' c'>8 <e df'> <e_~ c'>^( <e bf'> <f af>) <f\=1
-\shapeII #'((0 . -.7)(p 30 .4)(p 30 .4)(20.6 . -3.7)) _( bf>(
<e\=1) c'> <e df'>) <e_~ c'>^( <e bf'> <f af>) <af bf> |
\stemDown
<e' c'>8 <e df'> <e_~ c'>^( <e bf'> <f af>) <f\=1
-\shapeII #'((0 . -.7)(p 30 .4)(p 30 .4)(.2 . -.7)) _( bf>(
<e\=1) c'> <e df'>) <e_~ c'>^( <e bf'> <f af>) <af bf>
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
Log output:
Processing `C:/Users/Ben/Desktop/file.ly'
Parsing...
/openlilylib/snippets/notation-snippets/shaping-bezier-curves/shapeII/module.ily:2:10:*error:
cannot find file:
`ly/_internal/utilities/lilypond-version-predicates.ily'*
*\include "ly/_internal/utilities/lilypond-version-predicates.ily"*
C:/Users/Ben/Desktop/file.ly:13:5: warning:
openLilyLib. DEPRECATION:
*Using 'lilypond-less-than?' from oll-core is deprecated.*
openLilyLib explicitly does not suppport LilyPond 2.18 anymore,
so users are expected to use the development version 2.19 or a
later stable release.
Since LilyPond 2.19.57 the version predicate 'ly:version?' is
included in LilyPond, *and all uses of 'lilypond-less-than?'*
**
*should properly be replaced with that.*
Reference:
http://lilypond.org/doc/v2.19/Documentation/usage/writing-code-to-support-multiple-versions
-
\shapeII #'((0 . -.7)(p 30 .4)(p 30 .4)(20.6 . -3.7)) _( bf>(
C:/Users/Ben/Desktop/file.ly:17:5: warning:
openLilyLib. DEPRECATION:
Using 'lilypond-less-than?' from oll-core is deprecated.
openLilyLib explicitly does not suppport LilyPond 2.18 anymore,
so users are expected to use the development version 2.19 or a
later stable release.
Since LilyPond 2.19.57 the version predicate 'ly:version?' is
included in LilyPond, and all uses of 'lilypond-less-than?'
should properly be replaced with that.
Reference:
http://lilypond.org/doc/v2.19/Documentation/usage/writing-code-to-support-multiple-versions
-
\shapeII #'((0 . -.7)(p 30 .4)(p 30 .4)(.2 . -.7)) _( bf>(
Completed successfully in 0.8".
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user