The emmentaler-20 font contains the music symbols, so
you certainly don't want to replace that one in the music
scores. Do you use the --psfonts flag to lilypond-book and
the corresponding -h flag to dvips, as instructed in the
section on "Invoking lilypond-book" in the LilyPond manual?
As pointed out at the end of the section on "Integrating
LaTeX and music" you will get a number of "error messages"
about missing fonts, still the resulting fonts will appear in
the output. Note also that all printers will not be able to
handle the resulting PS file and that you need a recent
version of ghostscript to be able to run ps2pdf successfully.
/Mats
Thorsten Mueller wrote:
Hi Mats and list
thanks for your response.
I tried some googling to find out how to install fonts in the mapping
table of dvips, and find some different sources and tried some things
but nothing helps me. If you have a manual which describes that step
by step, please give me a pointer to that source.
I tried to change fonts in lilypond directly but this fonts
"emmentaler-20" (causing my troubles) was used also changing
Lyrics.LyricText Where is this fonts used by default? Which variable
do I have to change to choose another one?
I used xfig to draw some figures for a bigger work written in Latex,
some time ago, and I liked it very much that all the text was
influenced by my latex files, because xfig has an output called
"t_pstex" separating graphics in ps-format ans text in tex-format, and
I thought to find something similar in lilypond.
Thanks Thorsten.
Mats Bengtsson schrieb:
You are right that with the current lilypond-book, you cannot
set a font style in LaTeX and make that automatically affect
also the music scores. However, you can easily work around
that using find-replace. An alternative if you have several
scores and want to change the fonts in all of these with
a single change, is to make a separate file, global.ly (or
whatever you want to call it) that makes the font setting.
Then you begin each score example with
\include "global.ly"
The only inconvenience here is that lilypond-book won't
realize that it has to recompile all the scores if you make a
change in your included global.ly, so then you have to remove
all the generated lily-*.* files before rerunning lilypond-book.
For the font problem, are you sure that you follow the
instructions in the manual exactly?
/Mats
Thorsten Mueller wrote:
Hi Mats,
I forgot an point: with lilypond-book I get a font (emmentaler-20)
which causes errors for dvips,
I did not get it working to install this font properly.
/Thorsten
Thorsten Mueller schrieb:
Hi Mats,
I want to include it in Latex-files. I know it is also possible
with ps
format, but I want to control font-style from latex.
Any other solution to combine latex and lilypond?
/Thorsten
--- Ursprüngliche Nachricht ---
Von: Mats Bengtsson <[EMAIL PROTECTED]>
An: Thorsten Mueller <[EMAIL PROTECTED]>
Kopie: Han-Wen Nienhuys <[EMAIL PROTECTED]>, lilypond-user@gnu.org
Betreff: Re: TEX output
Datum: Sat, 06 May 2006 20:56:15 +0200
Why do you want TeX output?
/Mats
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user