From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23647 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Getting texfont to do batch installs on gwTeX (was Re: Palatino) Date: Wed, 23 Nov 2005 14:16:49 +0000 Message-ID: <20051123141649.15010@mail.comp.lancs.ac.uk> References: <66305964-DD83-4DE2-B56C-29B6AB5D3C1C@northcoast.com> <4382E4DD.7040904@elvenkind.com> <0AF48B74-1279-4D5B-8DD9-BF1E890C651D@northcoast.com> <43833A0A.9060200@wxs.nl> <86B22D08-47FD-4E99-B1E6-E008F2A0FE1A@redwoods.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132755618 12086 80.91.229.2 (23 Nov 2005 14:20:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2005 14:20:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 23 15:20:15 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 1EevQN-0007Zs-Iw for gctc-ntg-context-518@m.gmane.org; Wed, 23 Nov 2005 15:16:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1B72127F0; Wed, 23 Nov 2005 15:16:38 +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 01037-04; Wed, 23 Nov 2005 15:16:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64CAC1279D; Wed, 23 Nov 2005 15:16:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A78B31279D for ; Wed, 23 Nov 2005 15:16:32 +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 01038-01 for ; Wed, 23 Nov 2005 15:16:31 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 6721112798 for ; Wed, 23 Nov 2005 15:16:31 +0100 (CET) Original-Received: from [194.80.37.193] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id jANEGTID013338; Wed, 23 Nov 2005 14:16:29 GMT Original-To: "mailing list for ConTeXt users" , "David Arnold" In-Reply-To: <86B22D08-47FD-4E99-B1E6-E008F2A0FE1A@redwoods.edu> X-Mailer: CTM PowerMail version 5.2.1 build 4397 English 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:23647 Archived-At: David, Sorry I've been quiet on this front. I've been busy with other, non- ConTeXt things for a while, and am in the process of re-engaging with it. In order to run type-tmf.dat, you need a way around the hard-coded -- rootlist=TEXMFMAIN that's in the .dat file. gwTeX keeps the fonts we need in what it calls the TEXMFTE directory. My brutish workaround is as follows: 1) Go to some temp directory. 2) copy type-tmf into that directory: cp /usr/local/teTeX/share/texmf.local/context/data/type-tmf.dat . 3) munge type-tmf to something more gwTeX friendly: sed "s/TEXMFMAIN/TEXMFTE/" type-tmf.dat > type-tmf-gw.dat (literally: replace every occurrence of TEXMFMAIN with TEXMFTE and put it in type-tmf-gw.dat) 4) run texfont (prepend with sudo if you have errors): texfont type-tmf-gw.dat 5) run it again, if you want the ec encoding: texfont --en=ec type-tmf-gw.dat 6) process one or two test files to see if it really worked: texexec --once --mode=compact texnansi-urw-bookman.tex I hope that works for you. Gerben, Hans, can you think of a way to make this workaround unnecessary? adam David Arnold said this at Tue, 22 Nov 2005 09:08:17 -0800: >Hans, > >When I try: > >011-101:/usr/local/teTeX/share/texmf.local/context/data davidarnold$ >sudo texfont --encoding=texnansi -batch type-tmf.dat > >I get a slew of messages similar to this last one: > >TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004 > > slant factor : 0.167 > checking root : TEXMFMAIN > processing aborted : unknown subpath ../fonts/afm/urw/ncntrsbk > > --help : show some more info > >Some extra information: > >texexec --verbose reports: > >applications will use : /usr/local/teTeX/texmf.cnf > >This last file is attached. > > > > >On Nov 22, 2005, at 7:32 AM, Hans Hagen wrote: > >> David Arnold wrote: >> >>> Taco et al, >>> >>> OK, this didn't work. Log file attached. >>> >>> ? ?\usetypescript[palatino][texnansi] >>> ? \switchtobodyfont[palatino] >>> ? \starttext >>> ? Hello World! >>> ? \stoptext >>> >> no logfile -) >> >> for that one you need to run >> >> texfont --encoding=texnansi --batch type-tmf.dat >> >> (since you are familiar with texnansi .... although better than ec, >> this encoding was never really supported in distributions, only by >> mouh, which is why you need to generate metrics yourself) >> >>> This one worked. >>> >>> ?\usetypescript[adobekb][8r,ec] >>> ? \usetypescript[palatino][ec] >>> ? \switchtobodyfont[palatino] >>> ? \starttext >>> ? Hello World! >>> ? \stoptext >>> >>> Two questions: >>> >>> 1. I don't know why one worked and the other didn't. What files >>> could I look at in my tex tree that would give a hint as to which >>> to use? >>> >>> 2. How can I make the first one work? >> >> use texfont (or take cont-fnt from the website) >> >> Hans >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context > >David Arnold >College of the Redwoods >Mathematics Department >Eureka, CA 95501 >(707) 476-4222 >http://online.redwoods.edu/instruct/darnold/ > > >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-