Gerben, Taco, et al,
OK. I have a completely up-to-date TeX installation (GWTeX on Tiger).
Thanks for your help.
My technique was to "Make Fat" each component, then burn them onto a
disk, then replace my I-packages directory contents on my home
computer with the packages on the burn disk. Then I did an install,
include CM-super and Context updater.
Context now works. This file:
\starttext
Hello, World!
\stoptext
Compiles and views fine. This file:
\definefontsynonym[CharterBT-Bold][bchb8r][encoding=texnansi]
\definefont[MySecondFont][CharterBT-Bold]
\starttext
\MySecondFont
Hello, World!
\stoptext
Gives a headache. It compiles and views, but when viewing in Acrobat
Professional, there are clearly ugly bitmapped fonts in the document
(I also tried encoding=texnansi and \defaultencoding). Document
properties reveal that I am using:
F38
Type: Type 3
Encoding: Custom
Actual Font: F38
Actual Font Type: Type 3
On the other hand, this file:
\documentclass{article}
\usepackage{charter}
\begin{document}
Hello, World!
\end{document}
Compiles and view fine and Acrobat Professional reports that I am using:
CharterBT-Roman (Embedded Subset)
Type: Type 1
Encoding: Custom
And the output in Acrobat Professional looks good. Looks like a Type
1 font to me, not an ugly bitmap.
I'm gonna wait until tomorrow or so, but then I'd like to try the
texfont thingy again with type-tmf.dat and see if I can get Context
to find the font and use it correctly.
Waiting for advice.
Thanks for everything today.
Final bit of information:
darnold $ locate uhvr8a.afm
/usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/helvetic/uhvr8a.afm
darnold $ kpsewhich --expand-var \$TEXMFMAIN
/usr/local/teTeX/share/texmf
darnold $ kpsewhich --expand-var \$TEXMF
{/Users/darnold/Library/texmf,!!/usr/local/teTeX/share/texmf.local,!!/
usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/
texmf.tetex,!!/usr/local/teTeX/share/texmf}
darnold $ kpsewhich --expand-var \$TEXMFTE
/usr/local/teTeX/share/texmf.tetex
On Nov 20, 2005, at 3:33 PM, Gerben Wierda wrote:
On 20 Nov 2005, at 20:39, Taco Hoekwater wrote:
David Arnold wrote:
Gerben, Taco,
OK, I am using Gerben's Context Updated with a beta, so I think
what's running is the context in texmf.local. I have two type-
tmf.dat.
lm $ locate type-tmf.dat
/usr/local/teTeX/share/texmf.local/context/data/type-tmf.dat
/usr/local/teTeX/share/texmf.tetex/context/data/type-tmf.dat
lm $
Does it matter which of these I use?
Take the one in texmf.local. It should not make a lot of difference,
but that one is the latest, and also it belongs to the ConTeXt you
are running.
Before I run "texfont --encoding=texnansi --batch type-tmf.dat,"
two things:
1. How do I figure out whether to set TEXMFMAIN or TEXMFDIST?
That is, how can I tell where these environment variables point?
kpsewhich --expand-var \$TEXMFMAIN
expands the variable TEXMFMAIN (on the terminal). I'm not sure
which one you need, because I am not familiar with gwTeX. You need
the
one that contains the afm files, like uhvr8a.afm. For me that file is
in:
/usr/local/teTeX/share/texmf-dist/fonts/afm/urw/helvetic/uhvr8a.afm
$ locate uhvr8a.afm
/usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/helvetic/uhvr8a.afm
so I needed the tree that starts with
/usr/local/teTeX/share/texmf-dist
Assuming a (ba)sh command line shell, this should do it (three
lines):
lm $ TEXMFMAIN=/usr/local/teTeX/share/texmf-dist
lm $ export TEXMFMAIN
lm $ texfont ....
2. I could cut and paste in type-tmf.dat, but can I do it with
one line in the file type-tmf.dat somehow? What would be the
line I would add near the top of the file?
To answer the question anyway: I do not believe that is possible.
But with the solution above, there is no need to edit type-tmf.dat.
(I hope I'm not confusing you, but I am on Linux and teTeX so being
precise is hard)
Cheers, Taco
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context
David
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context