lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lily jazz


From: adam
Subject: Re: lily jazz
Date: Tue, 21 Apr 2020 14:16:00 +1200


That's brilliant, Jeff. And Martin. Thanks to all.





On Sat, 2020-04-18 at 13:32 -0400, Jeff Knox wrote:
Thanks everyone I've now got it up and running! And thanks for the alternate script, Jacques.

After down-loading the entire package from the the GitHub site I now see the .ily files are executables - copy and paste as text file isn't going to work. Once I had the lily jazz package downloaded, drag and drop into the correct directories works nicely.

My mistake was in trying to download individual files from GitHub... it's much easier than that!

So, to help out any more hapless wanderers out there, here's the complete download and installation process i used:

First find the lily jazz files package:
     go here -
     you'll see this:
image.png
You don't need to select anything, just hit the "clone or download" button, then "download ZIP", you''ll get the lilyjazz-Master folder with the following contents:
image.png
The files in the otf folder go in the /otf directory in your LilyPond application.
   "            "       stylesheet   "  "     /ly           "               "                "                .
   "            "       supplementary     /otf          "               "                "                .
   "            "       svg                       /svg        "               "                 "                .

I put everything in the lilyjazz-Master folders in the indicated directories: text, executables; whatever was there. Everything outside these 4 folders is apparently reference.

So where do you find the LilyPond application directories? ... depends on your operating system. I'm using a Mac.

I found the directory paths by looking at the search path in the LilyPond compiler log file of a failed lilyjazz script, i.e., before I had everything in its' proper place. This log file pops up automatically when you select >COMPILE >TYPESET FILE from the LilyPond menu bar:
image.png
The script which produced this output is included in the email thread above.

Check out the "examples" folder; a lot of the code needed for a basic lead sheet is already done for you in the .ly files included there.

And thanks again everyone for your help.

Best,
Jeff








On Sat, Apr 18, 2020 at 3:26 AM J. Menu <address@hidden> wrote:
Hello Jeff,

It’s simpler that that:

\version "2.20.0"

\paper {
#(define fonts
     (set-global-fonts
      #:music "lilyjazz"
      #:brace "lilyjazz"
      #:roman "lilyjazz-text"
      #:sans "lilyjazz-chord"
      #:factor (/ staff-height pt 20)
      ))
}

\score {
  \new Staff {
    c'4 c' \tuplet 3/2 { d'8-- es'-- e'-- } g'4 ~ |
    g'4 r r8 f'-^ \noBeam es' c'-> \bar "|."
  }
}


JM


Le 18 avr. 2020 à 02:23, Jeff Knox <address@hidden> a écrit :

Thanks guys, it's beginning to make a little more sense now.

My script is here:

%%%%%%%%%%%%%%%%%%%%%%
\include "lilyjazz.ily"

\score {
  \new Staff {
    \jazzOn
    c'4 c' \tuplet 3/2 { d'8-- es'-- e'-- } g'4 ~ |
    g'4 r r8 f'-^ \noBeam es' c'-> \bar "|."
  }
}
\version "2.20.0"  % necessary for upgrading to future LilyPond versions.
%%%%%%%%%%%%%%%%%%%%%%%

I've downloaded all the files which Jacques shows in the /otf directory (didn't bother with the svg and woff files since i'm only interested in pdf output at this point ... am i assuming correctly?). Also put lilyjazz.ily, lilyjazz-chord, and lilyjazz-text in the same directory, but on compiling the above script, the result is the same result: "error: cannot find file: lilyjazz.ily.

I can think of two possible issues:
1) Do the .ily files have to go in a specific directory?

2) I copied and pasted the .ily files into separate text files (couldn't see any way to download or install them directly from GitHub) and saved those in the /otf directory ... are the .ily files something more than just text?

Anyway, thanks for your help so far.

Jeff

PS I imply from Robin's suggestion that spaces are characters ... are we also case sensitive?

On Fri, Apr 17, 2020 at 5:30 PM Jacques Menu <address@hidden> wrote:
I keep an old version of LilyPond with the lilyjazz fonts in it in the /Applications folder, and copy the latter to new versions with this script:

menu@macbookprojm: ~/Documents/PartitionsLilypond > cat InstallLilyJazzFontsForLilyPond.bash 
#!/bin/bash

set -x

cd /Applications

ls LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/*
ls LilyPond.app/Contents/Resources/share/lilypond/current/fonts/*

cp -p \
LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/otf/* \
LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf
cp -p \
LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/svg/* \
LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg

ls LilyPond.app/Contents/Resources/share/lilypond/current/fonts/*

set +x


#and then:
#
#\paper {
#  #(define fonts
#     (set-global-fonts
#      #:music "lilyjazz"
#      #:brace "lilyjazz"
#      #:roman "lilyjazz-text"
#      #:sans "lilyjazz-chord"
#      #:factor (/ staff-height pt 20)
#      ))
#}

JM

Le 17 avr. 2020 à 23:23, Jacques Menu <address@hidden> a écrit :

Hello Jeff and Robin,

Here is what I have in the /Application folder, and lilyjazz is found by LilyPond:

LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf:
C059-BdIta.otf emmentaler-14.otf lilyjazz-26.otf
C059-Bold.otf emmentaler-16.otf lilyjazz-brace.otf
C059-Italic.otf emmentaler-18.otf texgyrecursor-bold.otf
C059-Roman.otf emmentaler-20.otf texgyrecursor-bolditalic.otf
NimbusMonoPS-Bold.otf emmentaler-23.otf texgyrecursor-italic.otf
NimbusMonoPS-BoldItalic.otf emmentaler-26.otf texgyrecursor-regular.otf
NimbusMonoPS-Italic.otf emmentaler-brace.otf texgyreheros-bold.otf
NimbusMonoPS-Regular.otf lilyjazz-11.otf texgyreheros-bolditalic.otf
NimbusSans-Bold.otf lilyjazz-13.otf texgyreheros-italic.otf
NimbusSans-BoldItalic.otf lilyjazz-14.otf texgyreheros-regular.otf
NimbusSans-Italic.otf lilyjazz-16.otf texgyreschola-bold.otf
NimbusSans-Regular.otf lilyjazz-18.otf texgyreschola-bolditalic.otf
emmentaler-11.otf lilyjazz-20.otf texgyreschola-italic.otf
emmentaler-13.otf lilyjazz-23.otf texgyreschola-regular.otf

LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg:
emmentaler-11.svg emmentaler-18.woff lilyjazz-11.svg lilyjazz-18.woff
emmentaler-11.woff emmentaler-20.svg lilyjazz-11.woff lilyjazz-20.svg
emmentaler-13.svg emmentaler-20.woff lilyjazz-13.svg lilyjazz-20.woff
emmentaler-13.woff emmentaler-23.svg lilyjazz-13.woff lilyjazz-23.svg
emmentaler-14.svg emmentaler-23.woff lilyjazz-14.svg lilyjazz-23.woff
emmentaler-14.woff emmentaler-26.svg lilyjazz-14.woff lilyjazz-26.svg
emmentaler-16.svg emmentaler-26.woff lilyjazz-16.svg lilyjazz-26.woff
emmentaler-16.woff emmentaler-brace.svg lilyjazz-16.woff lilyjazz-brace.svg
emmentaler-18.svg emmentaler-brace.woff lilyjazz-18.svg lilyjazz-brace.woff

JM

Le 17 avr. 2020 à 22:55, Robin Bannister <address@hidden> a écrit :

Jeff Knox wrote:

I chose these locations because the error message i get on compiling a
simple .ly file gives them as "search paths" (among others). Obviously, the
wrong locations as I get a message: "cannot find file: 'lily jazz.ily"


Somewhere near the start of your .ly file you should have the line

\include "lilyjazz.ily"

The filename has no spaces in it, has it?


Cheers,
Robin









reply via email to

[Prev in Thread] Current Thread [Next in Thread]