From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23979 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: LucidaBright fonts...I'm stumped Date: Thu, 01 Dec 2005 13:52:32 +0100 Message-ID: <438EF210.3060609@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133528633 23007 80.91.229.2 (2 Dec 2005 13:03:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 13:03:53 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 14:03:52 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiAXt-0002SY-SA for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 14:01:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D355127B6; Fri, 2 Dec 2005 14:01:48 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10345-01-2; Fri, 2 Dec 2005 14:01:44 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 916471282D; Fri, 2 Dec 2005 14:01:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C763D127B6 for ; Fri, 2 Dec 2005 14:01:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10345-01 for ; Fri, 2 Dec 2005 14:01:42 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id E6F871282D for ; Thu, 1 Dec 2005 13:52:32 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 5835 for ; Thu, 01 Dec 2005 13:57:43 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23979 Archived-At: Henk Koster wrote: >I've been using teTeX - LaTeX - LucidaBright fonts for many years, but am >unable to make these fonts work in ConTeXt. My present setup after installing >teTeX (a Debian or Ubuntu package): > >1. Make a directory /usr/local/share/texmf/fonts/type1/yandy > >2. Copy the LB .pfb files to subdirectories lubright, lucida, lucidfax, > lucsans and lumath > >3. Run texhash > >and everything works fine in LaTeX -- I only have to specify >\usepackage{lucidbry} in the preamble of my documents. Couldn't be easier. > >I've read through some of the archived messages on this newsgroup for >clues for making LB fonts work with ConTeXt, I have even tried following >the suggested steps, but no dice. Could someone here please list the >precise steps required to get from my above teTeX setup to one that works >in ConTeXt? > > > lucida is just one of the many possible commercial fonts that one can install so it has no special treatment (ok, the math needs some care) the reason why it works in 'one step' in latex is that it uses the kb naming scheme exclusively and only supports a few encodings (in theory many, but in practice distributions only ship ec things, maybe for lucida also the texnansi encoded things) (btw, interesting that subdirectories are uses, esp since the latest texlive has subdirectories for for instance ams fonts) if you want to use the kb names, you need to make a mapping from the more verbose names to the ones you want \definefontsynonym[texnansi-lbr][whateverisusedinstead] in principle these mappings can be added to type-dis.tex in which case you can enable them with: \usetypescript[berry][texnansi] because most fonts i use are not in tex distributions i always generate metrics using texfont; this is what i do when i install a font (i normally install fonts on my windows laptop and when needed copy them to the unix server) put the originals on a font repository (flat) mkdir h:\fonts\bh\lucida i go to the root cd /d h:\fonts i remove instances in the texmftree texfont --encoding=texnansi --ven=bh --coll=lucida --remove then i generate metrics (and installs) texfont --encoding=texnansi --ven=bh --coll=lucida --so=bh/lucida --ma --in --expert because math is special, i move the math related files to texmf-local|fonts/fonts/tfm/bh/lucida texmf-local|fonts/fonts/type1/bh/lucida in principle the files should now in the right spot btw, i posted a zip with lucida metrics for texnansi and ec a few days ago if there is interest, i can add the lucida metrics (ec and texnansi) to the cont-fnt zip file (lucida always has been kind of special because yandy had its own opinions about fonts) Hans