Small corrections for /bin/bash and prettying the output....

#!/bin/bash

REV="2.24.4"
LILY="${HOME}/Apps/lilypond-${REV}/share/lilypond/${REV}"
LILYJAZZ="${HOME}/Projects/lilyjazz"

cd ${LILYJAZZ}
echo -n 'Updating from repo...'
git pull

echo -n 'Copying fonts...'
cp ${LILYJAZZ}/otf/* ${LILY}/fonts/otf
cp ${LILYJAZZ}/svg/* ${LILY}/fonts/svg
cp ${LILYJAZZ}/supplementary-files/lilyjazz-*/*.otf ${LILY}/fonts/otf
echo 'Done'
echo -n 'Copying stylesheets...'
cp ${LILYJAZZ}/stylesheet/* ${LILY}/stylesheet
echo 'Done'

On Mon, Aug 19, 2024 at 10:27 PM Jeff Kopmanis <[email protected]> wrote:

> This was my script (below).  I cloned the Lilyjazz repo locally so that I
> can easily get changes.  I also keep Lilypond itself in it's own directory
> in my home.
>
> #!/bin/bash
> REV = “2.24.4"
> LILY = "$HOME/Apps/lilypond-$REV/share/lilypond/$REV/"
> LILYJAZZ = "$HOME/Projects/lilyjazz"
>
> cd $LILYJAZZ
> echo -n "Updating from repo..."
> git pull
>
> echo "Copying files to Lilypond v$REV..."
> cp ${LILYJAZZ}/otf/* ${LILY}/fonts/otf
> cp ${LILYJAZZ}/svg/* ${LILY}/fonts/svg
> cp ${LILYJAZZ}/stylesheet/* ${LILY}/stylesheet
> cp ${LILYJAZZ}/supplementary-files/lilyjazz-*/*.otf ${LILY}/fonts/otf
>
> On Mon, Aug 19, 2024 at 8:33 AM Robert Garrigos <[email protected]>
> wrote:
>
>> Oh that's a good one. I will definitely use it. Thanks.
>>
>> Robert Garrigós i Castro
>> +34 620 918 701
>> <https://garrigos.cat>https://garrigos.cat
>>
>> Get BlueMail for Android <https://bluemail.me>
>> On 19 d’ag. de 2024, at 11:27, Mark Probert <[email protected]> wrote:
>>>
>>> And to add on, updating the fonts needs to be done for each new release
>>> of LP. I downloaded the fonts and then use a script that has the version
>>> number and base location, such as...
>>>
>>> —script
>>>
>>> REV = “2.24.4"
>>> LILY = "/opt/homebrew/share/lilypond"
>>>
>>>   cp lilyjazz/otf/* ${LILY}/${REV}/fonts/otf
>>>   cp lilyjazz/svg/* ${LILY}/${REV}/fonts/svg
>>>   cp lilyjazz/stylesheet/* ${LILY}/${REV}/ly
>>>   cp lilyjazz/supplementary-files/**/*.otf ${LILY}/${REV}/fonts/otf
>>>
>>> —end
>>>
>>> On 19 Aug 2024, at 12:56, Jeff Kopmanis <[email protected]> wrote:
>>>
>>> For me the installation was two-fold:
>>> 1) install the OTF and SVG fonts in the .../fonts directory
>>> 2) AND...install the lilyjazz-chords and lilyjazz-text fonts from the
>>> .../supplimental-files/lilyjazz-chords and
>>> .../supplimental-files/lilyjazz-text directories.
>>>
>>> Once I got those supplemental-files fonts in there, things worked well
>>> with simply including the lilyjazz.ily stylesheet.  The Github repo has
>>> some great examples that I used to test against.
>>>
>>> https://github.com/OpenLilyPondFonts/lilyjazz
>>>
>>>
>>>
>>> On Sun, Aug 18, 2024 at 5:01 AM Robert Garrigos <[email protected]>
>>> wrote:
>>>
>>>> Thanks Hans, but I already tried this with no luck. However, adding:
>>>>
>>>> property-defaults.fonts.serif = "lilyjazz-text"
>>>>
>>>> fixed it.
>>>>
>>>> Robert.
>>>>
>>>> El 18 ag. 2024, a les 10:38, Hans Aikema <[email protected]> va
>>>> escriure:
>>>>
>>>>
>>>>
>>>> On 18 Aug 2024, at 10:19, Robert Garrigos <[email protected]> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I’m trying to use lilyjazz fonts with latest build (2.25.18) and it
>>>> seems almost everything is working, except the text fonts: lyrics, titles
>>>> and other texts are not using the lilyjazz-text font, although it is
>>>> installed like all the others (lily-xx.otf, lily-brace.otf and
>>>> lily-chord.otf).
>>>> <jazz_pdf_—_Lilypond.jpeg>
>>>>
>>>> this is my \paper code:
>>>>
>>>> \paper {
>>>> property-defaults.fonts.music = "lilyjazz"
>>>> property-defaults.fonts.brace = "lilyjazz"
>>>> property-defaults.fonts.roman = "lilyjazz"
>>>> property-defaults.fonts.sans = "lilyjazz"
>>>> }
>>>>
>>>> What am I missing?
>>>>
>>>>
>>>> Robert,
>>>>
>>>> looking at lilyjazz's own stylesheet [1] you would need to specify
>>>> lilyjazz-text for roman and lilyjazz-chord for sans
>>>>
>>>> [1]
>>>> https://github.com/OpenLilyPondFonts/lilyjazz/blob/master/stylesheet/lilyjazz.ily
>>>>
>>>>
>>>> Thanks.
>>>>
>>>> ========================
>>>> Robert Garrigós
>>>>
>>>>
>>>>
>>>
>>> --
>>> *Jeff Kopmanis*
>>> Medium: https://kopmanis.medium.com
>>> GLAAC: https://www.glaac.org/
>>> University Lowbrow Astronomers: https://lowbrows.club
>>> Orange Can Astronomy: https://www.facebook.com/orangecanastronomy/
>>>
>>> ** Go Green and leave this email on the Screen! **
>>>
>>>
>>>
>
> --
> *Jeff Kopmanis*
> Medium: https://kopmanis.medium.com
> GLAAC: https://www.glaac.org/
> University Lowbrow Astronomers: https://lowbrows.club
> Orange Can Astronomy: https://www.facebook.com/orangecanastronomy/
>
> ** Go Green and leave this email on the Screen! **
>


-- 
*Jeff Kopmanis*
Medium: https://kopmanis.medium.com
GLAAC: https://www.glaac.org/
University Lowbrow Astronomers: https://lowbrows.club
Orange Can Astronomy: https://www.facebook.com/orangecanastronomy/

** Go Green and leave this email on the Screen! **

Reply via email to