|
From: | Mats Bengtsson |
Subject: | Re: TEX output |
Date: | Sun, 07 May 2006 23:07:55 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3 |
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 psformat, but I want to control font-style from latex. Any other solution to combine latex and lilypond? /Thorsten--- Ursprüngliche Nachricht --- Von: Mats Bengtsson <address@hidden> An: Thorsten Mueller <address@hidden> Kopie: Han-Wen Nienhuys <address@hidden>, address@hidden Betreff: Re: TEX output Datum: Sat, 06 May 2006 20:56:15 +0200 Why do you want TeX output? /Mats_______________________________________________ lilypond-user mailing list address@hidden 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: address@hidden WWW: http://www.s3.kth.se/~mabe =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |