add/patch this in your texmf.cnf file:


T1FONTS       = 
AFMFONTS      = .;$TEXMF/fonts/afm//;$OSFONTDIR//
TTFONTS       = .;$TEXMF/fonts/{truetype,ttf}//;$OSFONTDIR//
OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$OSFONTDIR//

and in your batch file say:

set osfontdir=c:/windows/fonts

that way tex knows where to look for the pfb files

(what are the corresponding values for linux/osx ?)


===== Original Message From Adam Lindsay <[EMAIL PROTECTED]> =====
I hope you can translate from unix-like pseudo-commands into DOS:

make a new, clean temp directory.
copy times*.ttf into that directory.

from that directory, run:

texfont --ma --in --ve=microsoft --co=timesnewroman --show

What happens?

Ok, much progress:-)

1. Your command worked as is, no need to translate:-))

2. TeXFont did its magic, with no *apparent* errors (but see below) : a. ttf|afm|tfm|vf's are copied to/generated within [truetype|afm|tfm|vf]\microsoft\timesnewroman;
b. texnansi-microsoft-timesnewroman.map generated in \map\pdftex\context
c. texnansi-microsoft-timesnewroman.tex created in temp dir.

3. Problem: upon compiling texnansi-microsoft-timesnewroman.tex. I get

 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004

            executable : pdfetex
                format : cont-en
             inputfile : texnansi-microsoft-timesnewroman
                output : pdftex
             interface : en
               options : once
          current mode : none

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2c 7.5.2)
%&-line parsing enabled.
Warning: pdfetex.exe (file texnansi-raw-Timesi): Font texnansi-raw-Timesi at 60
0 not found

Warning: pdfetex.exe (file texnansi-raw-Timesbi): Font texnansi-raw-Timesbi at
600 not found

Warning: pdfetex.exe (file texnansi-raw-Timesbd): Font texnansi-raw-Timesbd at
600 not found
Warning: pdfetex.exe (file texnansi-raw-Times): Font texnansi-raw-Times at 600
not found
Output written on texnansi-microsoft-timesnewroman.pdf (28 pages, 379871 bytes)

a. Note the warnings;
b. Adobe complains about an error in opening the page (I'm sending you the pdf directly)

4. Question: how can I make TeXFont default to C:\ConTeXt\texmf-local instead of C:\TeXLive\texmf-local?

I think I'm close to the finish line. Thnx 4 all your help!


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

ntg-context mailing list


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl

ntg-context mailing list

Reply via email to