|
From: | Mats Bengtsson |
Subject: | Re: Icelandic characters in lyrics |
Date: | Mon, 16 Feb 2004 12:10:21 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Please add the following lines to your code and everything should work fine: \header{ ... latexpackages = "t1enc" } ... \score{ ... \paper{ \translator{ \ScoreContext LyricText \set #'font-name = #"ecrm1000" } } } The reason that you have to override the font-name is that LilyPond uses low-level TeX font selection mechanisms that don't know anything about font encoding. At second thought, you may get a problem with the generation of PDF documents if you don't have Type1 versions of the ecrm fonts installed. One possibility is to install the cm-super font files from CTAN. An alternative if you just want Postscript files to print is to use 'lilypond --no-pdf' which gives you bitmapped fonts in the output. Thanks for the hint about using the t1enc package. I always use \usepackage[T1]{fontenc} in my own LaTeX documents, and the current header fields in LilyPond doesn't let you specify such a combination of package and options. However, the t1enc package gives the same result. /Mats Hrafnkell Eiríksson wrote:
HiThe icelandic language has a few characters that are not inthe common ASCII character set (but are a part of the latin1 character set).I'm able to use most of the characters in lyrics in Lilypond(I've got language = icelandic in the paper section) but not Ð ð (called eth, Ð and ð in HTML) Þ þ (called thorn, Þ þ in HTML)When I use them I get:! LaTeX Error: Command \TH unavailable in encoding OT1. (for Þ) ! LaTeX Error: Command \th unavailable in encoding OT1. (for þ) ! LaTeX Error: Command \DH unavailable in encoding OT1. (for Ð) ! LaTeX Error: Command \dh unavailable in encoding OT1. (for ð)I can enter these characters in LaTeX (directly, not using anyescape sequences) if I do \usepackage{t1enc}. I've tried adding usepackage = t1enc to paper but it doesn't help.Is this a bug in Lilypond or am I doing something wrong? My Lilypond version is 2.0.0 running on RedHat 9. Thanks in advance.Hrafnkell _______________________________________________ Lilypond-user mailing list address@hidden http://mail.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] |