ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* RE: Times New Roman
@ 2005-03-16 18:08 ishamid
  2005-03-16 18:25 ` Thomas A.Schmitz
  0 siblings, 1 reply; 21+ messages in thread
From: ishamid @ 2005-03-16 18:08 UTC (permalink / raw)


>===== Original Message From "Thomas A.Schmitz" <thomas.schmitz@uni-bonn.de> 
====

>Moreover, are you sure that your system is finding texnansi.enc?
>What does
>kpsewhich texnansi.enc
>produce?

Ok I realize that my texfont problems are almost certainly related to my 
upgrade problems:

a. From C:\TeXLive (old system)

\system_fonts\timesnewroman>kpsewhich texnansi.enc
c:/TeXLive/texmf/dvips/ly1/texnansi.enc

so far so good

b. From C\:ConTeXt (latest system)

\system_fonts\timesnewroman>C:\ConTeXt\texmf-mswin\bin\kpsewhich texnansi.enc
\system_fonts\timesnewroman>

nothing found

So I think my problems in part go back to something I asked before: how do I 
get my C\:ConTeXt tree to secondarily search the TeXLive tree?

Thnx for all your help!
Idris

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Times New Roman
@ 2008-12-01 13:46 Alan Bowen
  2008-12-01 14:04 ` Mojca Miklavec
  0 siblings, 1 reply; 21+ messages in thread
From: Alan Bowen @ 2008-12-01 13:46 UTC (permalink / raw)
  To: mailing ConTeXt users list for

I am running the ConTeXt Minimals of 11/10 and am trying to access  
Times New Roman using the script

\usetypescript [timesnewroman][ec]
\definetypeface[timesnewroman][rm][serif][timesnewroman][default] 
[encoding=ec]
\definebodyfont[9pt,11pt][rm][default]
\setupbodyfont[timesnewroman,rm,11pt]

I am not sure what I getting and I am puzzled by the log file , hence,  
my question: Is  Times New Roman distributed with the minimals and is  
this the way to access it?

Thanks for any help or suggestions.

Alan 
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Times New Roman
@ 2005-03-16 19:00 ishamid
  0 siblings, 0 replies; 21+ messages in thread
From: ishamid @ 2005-03-16 19:00 UTC (permalink / raw)


>===== Original Message From "Thomas A.Schmitz" <thomas.schmitz@uni-bonn.de> 
=====
>hmm, I have zero experience with Windows and wouldn't get near a
>computer running Windows if you payed me for it,

I certainly agree with this sentiment, and will make yet another attempt to 
switch to Linux this year; kde3.4 is looking nice...

>but I guess there must
>be a central configuration file somewhere. On linux and unix systems,
>it's called texmf.cnf.

It's the same here; I'll look into it. There may be some os-related syntax 
issues, though, since

kpsewhich -var-value TEXMFLOCAL

gives

kpsewhich: unrecognized option `-var-value'

But I'll keep working/learning.

Thnx!
Idris


That's where you define which tex-trees you have
>and in what order they should be searched. So if you want to have your
>new C/Context searched first, your C/Texlive second, one of them should
>be set as TEXMFLOCAL, the other as TEXMFMAIN. What does
>

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Times New Roman
@ 2005-03-16 17:56 ishamid
  2005-03-17  9:20 ` Hans Hagen
  0 siblings, 1 reply; 21+ messages in thread
From: ishamid @ 2005-03-16 17:56 UTC (permalink / raw)


>===== Original Message From Adam Lindsay <atl@comp.lancs.ac.uk> =====
>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.
 (c:/TeXLive/texmf/web2c/cp8bit.tcx)
:
:
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
<c:/TeXLive/texmf/fonts/type1/bluesky/cm/cmr6.pfb>
Warning: pdfetex.exe (file texnansi-raw-Times): Font texnansi-raw-Times at 600
not found
<c:/TeXLive/texmf/fonts/type1/bluesky/cm/cmtt10.pfb>
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!

Idris

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Times New Roman
@ 2005-03-16 16:05 ishamid
  0 siblings, 0 replies; 21+ messages in thread
From: ishamid @ 2005-03-16 16:05 UTC (permalink / raw)


>===== Original Message From Adam Lindsay <atl@comp.lancs.ac.uk> =====
>On 16 Mar 2005, at 15:39, ishamid wrote:
>
>> But the afm files are right there in \system_fonts!?!
>>
>> Any further suggestions will be appreciated!
>>
>I'm pretty mac-centric, but I thought the TNR fonts were .ttf.

That's right.

>If texfont gets pointed to .ttf files, it runs ttf2afm itself, I thought.

Well, I just followed the instructions in mag-0009.pdf. I created my own 
\system_fonts folder to do the work, then manually generated the afm's per 
Hans' instructions. After generating all four afms I called upn TeXFont from 
within the same directory with the generated afm's.

In any case, I'm not sure that TeXFont generates the afm's, since it seems to 
be looking for them, or at least Hans' instructions do not use this method...

>Also, did you run the generated test file?

Yes, but that was created by the old TeXFont1.5.

>Deadline or no, take it slowly and methodically:
>pas de panique!

C'est tres vrais, and always good advice!

Idris

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Times New Roman
@ 2005-03-16 15:42 ishamid
  0 siblings, 0 replies; 21+ messages in thread
From: ishamid @ 2005-03-16 15:42 UTC (permalink / raw)


>===== Original Message From Taco Hoekwater <taco@elvenkind.com> =====
>I do not know much about the font installation process, but I did
>notice that your TeXFont banner indicates that you use a really old
>version.

Ok, I've worked around this (still having upgrade troubles...) but there is
still a problem. I created all afm files in a local directory

system_fonts>

but TeXFont does not seem to see them:

================================================================
[...]\system_fonts>C:\ConTeXt\texmf-mswin\bin\texfont
--vendor=microsoft --collection=timesnewroman --encoding=texnansi
--pattern=times*.afm --rootlist=C:\[...]\system_fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
       encoding vector : texnansi
           vendor name : microsoft
           source path : .
       font collection : timesnewroman
       texmf font root : c:/texlive/texmf-local
       pdftex map file : texnansi-microsoft-timesnewroman.map
      processing files : all in pattern times*.afm
    locating afm files : using otf files
    processing aborted : no afm files found
================================================================

Why are "no afm files found"? And why does my new C:\ConTeXt tree recognize

texmf font root : c:/texlive/texmf-local

when I have not configured it to recognize my TeXLive tree (since I do not
know how->)

Best
Idris

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Times New Roman
@ 2005-03-16 15:41 ishamid
  2005-03-16 17:21 ` Thomas A.Schmitz
  0 siblings, 1 reply; 21+ messages in thread
From: ishamid @ 2005-03-16 15:41 UTC (permalink / raw)


>===== Original Message From Adam Lindsay <atl@comp.lancs.ac.uk> =====
>A few comments/hints:

Thank you!

>On 16 Mar 2005, at 14:40, ishamid wrote:
>
>>  TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)
>
>The TeXfont I'm running is 2.2.1! (I know I added a little bit of .ttf
>processing code after 2.1)

Ok, I've got 2.2.1 running...

>> I tried things manually without the --pattern option and got a
>>
>> texnansi-microsoft-times.tex
>
>If this file was generated, that's a good sign that the files were
>installed. What do you see in:
>(texlocal)\fonts\tfm\microsoft\times  ?

ok, there are tfm files there, produced by the beta TeXFont, in 
TeXLive\texmf-local\...

But now I can't seem to repeat this with the latest version, and TeXFont does 
not find the afm files. As I told Taco:

===========================================================
C:[...]\system_fonts>C:\ConTeXt\texmf-mswin\bin\texfont 
--vendor=microsoft --collection=timesnewroman --encoding=texnansi 
--pattern=times*.afm --rootlist=C:[...]\system_fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
       encoding vector : texnansi
           vendor name : microsoft
           source path : .
       font collection : timesnewroman
       texmf font root : c:/texlive/texmf-local
       pdftex map file : texnansi-microsoft-timesnewroman.map
      processing files : all in pattern times*.afm
    locating afm files : using otf files
    processing aborted : no afm files found
===========================================================

But the afm files are right there in \system_fonts!?!

Any further suggestions will be appreciated!

Idris

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Times New Roman
@ 2005-03-16 14:40 ishamid
  2005-03-16 14:48 ` Taco Hoekwater
  2005-03-16 14:56 ` Adam Lindsay
  0 siblings, 2 replies; 21+ messages in thread
From: ishamid @ 2005-03-16 14:40 UTC (permalink / raw)


[I know that all of us and Hans in particular is quite busy but if anyone can 
give me some guidance on this, before I get into trouble with my editor...]

Dear consortium,

I'm having trouble preparing times new roman for ConTeXt. I'm trying to follow
the instructions in mag-0009.pdf, but TeXfont does not want to behave:-(

===========================================================
\system_fonts>texfont --vendor=microsoft --collection=times
--encoding=texnansi --pattern=times*.afm

 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)

   processing aborted : unknown option --pattern=times*.afm
===========================================================

I tried things manually without the --pattern option and got a

texnansi-microsoft-times.tex

file, from which I manually constructed a

texnansi-microsoft-times.map

file with four lines:

===================================================
texnansi-raw-times    4 < times.pfb   texnansi.enc
texnansi-raw-timesbd  4 < timesbd.pfb texnansi.enc
texnansi-raw-timesbi  4 < timesbi.pfb texnansi.enc
texnansi-raw-timesi   4 < timesi.pfb  texnansi.enc
===================================================

I then tried manually constructing the tfm files with afm2tfm but alas...

\system_fonts>afm2tfm times[bd|bi|i]
! no Adobe characters
% LIGKERN ff l =: ffl ;
^
and empty tfm files

Not sure where to go from here...

I'm also going to need Arial from WINNT\Fonts as well...

Idris

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2008-12-01 21:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 18:08 Times New Roman ishamid
2005-03-16 18:25 ` Thomas A.Schmitz
  -- strict thread matches above, loose matches on Subject: below --
2008-12-01 13:46 Alan Bowen
2008-12-01 14:04 ` Mojca Miklavec
2008-12-01 14:19   ` Alan Bowen
2008-12-01 14:28     ` Yue Wang
2008-12-01 14:51       ` Alan Bowen
2008-12-01 16:23       ` Steve Peter
2008-12-01 15:13     ` Mojca Miklavec
2008-12-01 17:38       ` Wolfgang Schuster
2008-12-01 21:12         ` Alan Bowen
2005-03-16 19:00 ishamid
2005-03-16 17:56 ishamid
2005-03-17  9:20 ` Hans Hagen
2005-03-16 16:05 ishamid
2005-03-16 15:42 ishamid
2005-03-16 15:41 ishamid
2005-03-16 17:21 ` Thomas A.Schmitz
2005-03-16 14:40 ishamid
2005-03-16 14:48 ` Taco Hoekwater
2005-03-16 14:56 ` Adam Lindsay

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).