From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Getting texfont to do batch installs on gwTeX (was Re: Palatino)
Date: Wed, 23 Nov 2005 14:16:49 +0000 [thread overview]
Message-ID: <20051123141649.15010@mail.comp.lancs.ac.uk> (raw)
In-Reply-To: <86B22D08-47FD-4E99-B1E6-E008F2A0FE1A@redwoods.edu>
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2005-11-23 14:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-22 1:27 Palatino David Arnold
2005-11-22 9:29 ` Palatino Taco Hoekwater
2005-11-22 15:02 ` Palatino David Arnold
2005-11-22 15:32 ` Palatino Hans Hagen
2005-11-22 17:08 ` Palatino David Arnold
2005-11-23 14:16 ` Adam Lindsay [this message]
2005-11-23 16:07 ` Getting texfont to do batch installs on gwTeX (was Re: Palatino) Gerben Wierda
2005-11-23 16:47 ` Hans Hagen
2005-11-23 17:46 ` Gerben Wierda
2005-11-23 18:19 ` Hans Hagen
2005-11-23 21:07 ` David Arnold
2005-11-26 10:39 ` Taco Hoekwater
2005-12-01 19:04 ` Hans Hagen
2005-11-23 16:10 ` Hans Hagen
2005-11-23 20:51 ` David Arnold
2005-11-23 21:39 ` Hans Hagen
2005-11-23 23:04 Adam Lindsay
2005-11-24 23:13 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051123141649.15010@mail.comp.lancs.ac.uk \
--to=atl@comp.lancs.ac.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).