ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re:  how to use Times Roman font
@ 2005-07-20 10:51 Sytse Knypstra
  2005-07-20 12:03 ` Hans Hagen
  0 siblings, 1 reply; 19+ messages in thread
From: Sytse Knypstra @ 2005-07-20 10:51 UTC (permalink / raw)


On 2005-03-20 and 2005-03-21 there was a thread on this list about using 
the Times Roman font under the CONTEXT distribution for Windows.

I'm running into similar problems (also with the Bookman and Lucida 
bright fonts) and I am curious whether the problem was solved and how.

Sytse Knypstra

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: Re: how to use Times Roman font
  2005-03-21 10:06       ` Patrick Gundlach
@ 2005-03-21 15:40 Stefano
  2005-03-22 17:48 ` Patrick Gundlach
  -1 siblings, 1 reply; 19+ messages in thread
From: Stefano @ 2005-03-21 15:40 UTC (permalink / raw)


Patrick,

I tried the following both on the latest (2005-03-16) complete ConTeXt for
Windows mswincontext.zip and on live.contextgarden.net ...

\usetypescript[times][texnansi]
\setupbodyfont[times,12pt]
\starttext
\showfontstrip
\showbodyfont[times]
Roman \bf bold \it italics
\stoptext

On my system, the times font is completely blank and the log file complains
of missing characters (see my post from yesterday), while opening the
Acrobat file produced from live.contextgarden.net produces the following
message:

"Could not find a font in the Resources dictionary - using Helvetica
instead."

In both cases, the roman font "times" is missing or incomplete to some
degree.  Am I using the correct syntax?  The times typescript is defined in
the ConTeXt files ...

Regards,

Stefano

> -----Original Message-----
> From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl]On
> Behalf Of Patrick Gundlach
> Sent: Monday, March 21, 2005 05:07
> To: ntg-context@ntg.nl
> Subject: [NTG-context] Re: how to use Times Roman font
>
>
>
> [...]
>
> > I also wonder why the pdf made at ConTeXtgarden opens in Acrobat with
> > font substitution --
>
> I wonder why. Which fonts are substituted? What is your input file?
>
> Patrick
>
> --
> ConTeXt wiki: http://contextgarden.net
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: how to use Times Roman font
@ 2005-03-21  1:23 ishamid
  0 siblings, 0 replies; 19+ messages in thread
From: ishamid @ 2005-03-21  1:23 UTC (permalink / raw)


Don't know if this is related but

>===== Original Message From mailing list for ConTeXt users 
<ntg-context@ntg.nl> =====
>Hi Matthias!
>
>Unfortunately, error again:
>-------------------------------------------------------
>
> TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

Your TeXecec is very old; I'm using  TeXExec 5.2.4

>ConTeXt  ver: 2003.1.31  fmt: 2005.3.19  int: english  mes: english

We are apparently using the same version of ConTeXt, minus TeXexec.

Idris

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: how to use Times Roman font
@ 2005-03-21  1:18 ishamid
  2005-03-21  1:31 ` xueruini
  0 siblings, 1 reply; 19+ messages in thread
From: ishamid @ 2005-03-21  1:18 UTC (permalink / raw)


>===== Original Message From mailing list for ConTeXt users 
<ntg-context@ntg.nl>
>
>Unfortunately, error again:

Yes, an error here as well. Did you try the two other ways I mentioned in my 
other reply:

============================================
%\usetypescript[adobekb][\defaultencoding]
%\setupbodyfont[pos] % note the comments

\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext

\input knuth

\stoptext
============================================

Another way:

============================================
\definetypeface [times] [rm] [serif] [times] [default] [encoding=ec]

\switchtotypeface [times] [12pt,rm]


\starttext
\input knuth
\stoptext
===========================================

If neither of these two work then something is really wrong...

Best
Idris

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: how to use Times Roman font
@ 2005-03-20 23:40 ishamid
  2005-03-21  9:05 ` Patrick Gundlach
  0 siblings, 1 reply; 19+ messages in thread
From: ishamid @ 2005-03-20 23:40 UTC (permalink / raw)


>===== Original Message From Matthias Weber <matweber@indiana.edu> =====
>The following should work with the stable ConTeXt from January:
>
>\usetypescript [adobekb][\defaultencoding]
>\setupbodyfont[pos]
>
>\usetypescript[times][\defaultencoding]
>\setupbodyfont[times,12pt]
>
>\starttext
>\input knuth
>\bigskip
>
>\stoptext

On my system, using the above, the following happens (why??):

============================================
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=cont-en 
2005.3.18)  20 MAR 2005 16:52
entering extended mode
\write18 enabled.
 (c:\CONTEXT\texmf-local/web2c/natural.tcx)
**&pdfetex/cont-en times.tex
(./times.tex

<snip>

(c:\CONTEXT\texmf-local/tex/context/base/type-akb.tex))
! Font \*12ptrmtf*=ptmr8t at 12.0pt not loadable: Metric (TFM) file not found.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let 
\localrelativefontsiz...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
                                                  \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                  \fi \iftryingfont 
\fontstr...

\synchronizefont ...strategy \the \fontstrategies
                                                  \relax \fi 
\ifskipfontchar...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle 
}\if...
...
l.4 \setupbodyfont[pos]

?
============================================

But if I comment the first two lines, it works:

============================================
%\usetypescript[adobekb][\defaultencoding]
%\setupbodyfont[pos]

\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext

\input knuth

\stoptext
============================================

Another way:

============================================
\definetypeface [times] [rm] [serif] [times] 
[default] [encoding=ec]

\switchtotypeface [times] [12pt,rm]


\starttext
\input knuth
\stoptext
===========================================

BTW, what are the lines

\usetypescript[adobekb][\defaultencoding]
\setupbodyfont[pos]

for?

Best
Idris

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* how to use Times Roman font
@ 2005-03-19  3:41 Xue Ruini
  2005-03-20 22:29 ` Matthias Weber
  0 siblings, 1 reply; 19+ messages in thread
From: Xue Ruini @ 2005-03-19  3:41 UTC (permalink / raw)


Hello everyone,

   I am a newbie to ConTeXt. I have no idea how to use the Times Roman font
   in ConTeXt. (in Latex, just \usepackage{times})

   I found something like this:   (http://home.salamander.com/~wmcclain/context-help.html)
   
   % Times font
   \usetypescript[berry][ec] % or [8r]
   \setupbodyfont[pos]
   
   \starttext
   hellow, world
   \stoptext

   but an error occours:
---------------------------------------------
kpathsea: Running mktexmf utmr8t
! I can't find file `utmr8t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
                                                  
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
                                                  
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \*12ptrmtf*=utmr8t at 12.0pt not loadable: Metric (TFM) file not found.
<to be read again> 
                   \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
                                                  \let \localrelativefontsiz...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname 
                                                  \tryingfontfalse \fi 
<inserted text> ...yle \fontalternative \fontsize 
                                                  \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies 
                                                  \relax \fi \ifskipfontchar...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle }\if...
...
l.2 \setupbodyfont[pos]
                       
? 

----------------------------------------------

I want to know what I can do with it. Thanks!


Leo

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

end of thread, other threads:[~2005-08-25  7:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-20 10:51 how to use Times Roman font Sytse Knypstra
2005-07-20 12:03 ` Hans Hagen
2005-08-24  8:52   ` How to use Lucida bright font after installing mswintex Sytse Knypstra
2005-08-24 12:29     ` Taco Hoekwater
2005-08-25  7:23       ` Sytse Knypstra
  -- strict thread matches above, loose matches on Subject: below --
2005-03-21 15:40 Re: how to use Times Roman font Stefano
2005-03-22 17:48 ` Patrick Gundlach
2005-03-21  1:23 ishamid
2005-03-21  1:18 ishamid
2005-03-21  1:31 ` xueruini
2005-03-21  3:57   ` Stefano
2005-03-20 23:40 ishamid
2005-03-21  9:05 ` Patrick Gundlach
2005-03-19  3:41 Xue Ruini
2005-03-20 22:29 ` Matthias Weber
2005-03-21  0:54   ` Xue Ruini
2005-03-21  6:20     ` Matthias Weber
2005-03-21  9:52       ` Hans Hagen
2005-03-21 10:06       ` Patrick Gundlach
2005-03-21  9:04     ` Patrick Gundlach

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