bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond-book: "external" fonts and --pdf option problem


From: James
Subject: Re: lilypond-book: "external" fonts and --pdf option problem
Date: Mon, 7 Dec 2015 17:55:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Hello Dmytro,

On 07/12/15 13:16, Dmytro O. Redchuk wrote:
> 2015-12-07 15:12 GMT+02:00 Dmytro O. Redchuk <address@hidden>:
>> Hello bug squad, hello list,
>>
>> I've found a problem with this "book":
> I am sorry, forgot to mention,
> tested with 2.18.2 and 2.19.32, got the same result.
>
>> % test.lytex:
>> %---- 8<----------------
>> \documentclass{article}
>> \begin{document}
>> \begin{lilypond}
>>   \include "improviso.ily"
>>   { c''4 }
>> \end{lilypond}
>> \end{document}
>> %---- 8<----------------
>>
>> I want lilypond to engrave it with "improviso" font,
>> https://fonts.openlilylib.org/improviso/ --- I have set it up, it's
>> ok.
>>
>> Now: lilypond-book does well without --pdf option:
>>
>> $ lilypond-book -I ${HOME}/lilyponds/local-includes --out=out test.lytex
>> $ cd out
>> $ latex test && dvips -o test.ps test.dvi && ps2pdf test.ps
>>
>> Now I have the desired result.
>>
>> But it fails when I want to do it for pdflatex:
>> %---- 8<----------------
>> $ lilypond-book -I ${HOME}/lilyponds/local-includes --out=out --pdf 
>> test.lytex
>> <snip>
>> Layout output to `b5/lily-09c4cef9.eps'...
>> попередження: cannot embed "improviso-20"="improviso-20"
>> Converting to `b5/lily-09c4cef9.pdf'...
>> Layout output to `b5/lily-09c4cef9-1.eps'...
>> попередження: cannot embed "improviso-20"="improviso-20"
>> Converting to `b5/lily-09c4cef9-1.pdf'...
>> Writing b5/lily-09c4cef9-systems.texi...
>> Writing b5/lily-09c4cef9-systems.tex...
>> Writing b5/lily-09c4cef9-systems.count...
>> Success: compilation successfully completed
>> Linking files...
>> Compiling /home/dor/tmp/ly-test/out/test.tex...
>> Writing `/home/dor/tmp/ly-test/out/test.tex'...
>> %---- 8<----------------
>>
>> Now I have pdf containing a score with no clef, key signature and notehead.
>>
>> I've attached png files produced by
>> $ convert -density 150 <file>-1.eps -flatten <file>-1.png
>> for both ways, with and without --pdf.
>>
>> Is this an issue? How to work around?
>>
>> Thank you!
>>
>> --
>>   Dmytro O. Redchuk
>

I used your command, without the include (obviously as I don't have it)

$ lilypond-book out=out --pdf test.lytex


Then I cd into 'out' and run

$ texi2pdf text.texi

The resulting PDF shows me the clef, key signature etc.

So it seems - with my very limited experience -  to be something local
to your environment (or perhaps your 'include').

James



reply via email to

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