Andrew:

Thank you.

Will  \version "2.19.83" Work?   example.ly works so I should be setup.
ok...
I think i need an example using the code
I do not know what to do with the code so I cut and past to see, I get
this..

Starting lilypond-windows.exe 2.19.83 [Untitled (3)]...

Processing
`C:/Users/GDC60~1/AppData/Local/Temp/frescobaldi-j6t528_a/tmpznoagsaa/
document.ly'

Parsing...

C:/Users/GDC60~1/AppData/Local/Temp/frescobaldi-j6t528_a/tmpznoagsaa/document.ly:6:11
<https://mail.google.com/mail/u/0/0>: error: cannot find file:
`custom-music-fonts/smufl/definitions.ily'

(search path:
`C:/Users/GDC60~1/AppData/Local/Temp/frescobaldi-j6t528_a/tmpznoagsaa;C:/Program
Files (x86)/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ps;C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ly;C:/openLilyLib/notation-fonts/smufl;')

\include

"custom-music-fonts/smufl/definitions.ily"


C:/Users/GDC60~1/AppData/Local/Temp/frescobaldi-j6t528_a/tmpznoagsaa/document.ly:46:2
<https://mail.google.com/mail/u/0/1>: error: syntax error, unexpected
EVENT_IDENTIFIER

~


fatal error: failed files:
"C:\\Users\\GDC60~1\\AppData\\Local\\Temp\\frescobaldi-j6t528_a\\tmpznoagsaa\\
document.ly"

Exited with return code 1.





On Thu, Dec 19, 2019 at 9:45 PM Andrew Bernard <andrew.bern...@gmail.com>
wrote:

> Hi Freeman,
>
> Be assured that this can be done. I use the following technique all the
> time.
>
> First you need to be familiar with openlilylib and install it. See
> archives for instructions. [I cant assume you know how to use it.]
> Then there is a snippet for custom-music-fonts/smufl.
>
> Here's some functions I have, as an example.
>
> Andrew
>
> %=====
> \version "2.21.0"
>
> \include "custom-music-fonts/smufl/definitions.ily"
>
> accidentalHalfSharpArrowUp =
> #(define-music-function (note)
>    (ly:music?)
>    #{ \once \override Voice.Accidental.stencil =
>       #ly:text-interface::print
>       \once \override Voice.Accidental.text =
>       \markup {
>         \smuflglyph "accidentalHalfSharpArrowUp"
>       }
>       $note #})
>
> accidentalNaturalRaise =
> #(define-music-function (note)
>    (ly:music?)
>    #{ \once \override Voice.Accidental.stencil =
>       #ly:text-interface::print
>       \once \override Voice.Accidental.text =
>       \markup {
>         \smuflglyph "accidentalQuarterToneSharpNaturalArrowUp"
>       }
>       $note #})
>
> %{
> treble = {
>   d'4 \accidentalHalfSharpArrowUp des'4
>   \accidentalNaturalRaise d'
> }
>
> \score {
>   \new Staff { \treble }
>   \layout {
>     \context {
>       \Score
>       \accidentalStyle dodecaphonic
>     }
>   }
> }
> %}
> ~
> %=====
>

Reply via email to