From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23654 Path: news.gmane.org!not-for-mail From: "Gerben Wierda" Newsgroups: gmane.comp.tex.context Subject: Re: Getting texfont to do batch installs on gwTeX (was Re: Palatino) Date: Wed, 23 Nov 2005 17:07:56 +0100 (CET) Message-ID: <53357.159.46.248.233.1132762076.squirrel@mail.rna.nl> 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> <20051123141649.15010@mail.comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132762357 4785 80.91.229.2 (23 Nov 2005 16:12:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2005 16:12:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 23 17:12:29 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 1EexAD-0002H7-Ep for gctc-ntg-context-518@m.gmane.org; Wed, 23 Nov 2005 17:08:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88776127F0; Wed, 23 Nov 2005 17:08:04 +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 02457-05-2; Wed, 23 Nov 2005 17:08:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F427127A0; Wed, 23 Nov 2005 17:08:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FDCF127A0 for ; Wed, 23 Nov 2005 17:07:59 +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 02457-05 for ; Wed, 23 Nov 2005 17:07:58 +0100 (CET) Original-Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by ronja.ntg.nl (Postfix) with ESMTP id 3144012798 for ; Wed, 23 Nov 2005 17:07:57 +0100 (CET) Original-Received: from ii2.demon.nl ([82.161.98.36]:28827 helo=mail.rna.nl) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1EexA5-000K54-F4 for ntg-context@ntg.nl; Wed, 23 Nov 2005 16:07:57 +0000 Original-Received: from mail.rna.nl (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id CFAA32E52A2 for ; Wed, 23 Nov 2005 17:07:56 +0100 (CET) Original-Received: from 159.46.248.233 (SquirrelMail authenticated user gerben) by mail.rna.nl with HTTP; Wed, 23 Nov 2005 17:07:56 +0100 (CET) In-Reply-To: <20051123141649.15010@mail.comp.lancs.ac.uk> Original-To: "mailing list for ConTeXt users" User-Agent: SquirrelMail/1.4.5 X-Priority: 3 (Normal) Importance: Normal 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:23654 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 i= t. > > In order to run type-tmf.dat, you need a way around the hard-coded -- > rootlist=3DTEXMFMAIN that's in the .dat file. gwTeX keeps the fonts we > need in what it calls the TEXMFTE directory. My brutish workaround is a= s > 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=3Dec type-tmf-gw.dat > 6) process one or two test files to see if it really worked: > texexec --once --mode=3Dcompact texnansi-urw-bookman.tex > > I hope that works for you. > Gerben, Hans, can you think of a way to make this workaround unnecessar= y? texfont and/or ConTeXt seems to be keyed to a certain distribution setup. I would say that for ConTeXt that is ok (though as far as I know Hans himself keeps the fonts in TEXMFFONTS or so, so he needs a specialized type-tmf.dat as well). That the default is TeX Live also seems to be fine to me. The easiest way would be if you can give this as an argument to texfonts. Another issue is that fonts can be in multiple trees. Some i-Packages may install in texmf.local (so it can be easily uninstalled), or fonts can be in texmf.tetex or texmf.gwtex). I do not know enough about texfont, but i= f Hans wants to work with me we can sort that out. After all, I probably have a good example of a non-TL multi-tree setup. BTW, there are support reasons why I do not use the TEXMFMAIN name or the standard texmf-dist directory name. G