ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to use Times Roman font
@ 2005-03-19  3:41 Xue Ruini
  2005-03-20 22:29 ` Matthias Weber
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread

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


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


If not, please post the error message together with version information
of your system.

Matthias


On Mar 18, 2005, at 10:41 PM, Xue Ruini wrote:

> 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
>
>
>
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

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

* Re: how to use Times Roman font
  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:04     ` Patrick Gundlach
  0 siblings, 2 replies; 9+ messages in thread
From: Xue Ruini @ 2005-03-21  0:54 UTC (permalink / raw)


Hi Matthias!

Unfortunately, error again:
-------------------------------------------------------

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

            executable : pdfetex
                format : cont-en
             inputfile : a
                output : standard
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./a.tex{/usr/local/share/texmf/pdftex/config/pdftex.cfg}

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

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname 
)
system         : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(/usr/share/texmf/tex/context/base/cont-sys.tex)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2
 loaded
specials       : tex,postscript,rokicki loaded
system         : a.top loaded
(./a.top)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
typescript     : [adobekb] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-pre.tex
typescript     : [serif] [times] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript     : [sans] [helvetica] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript     : [mono] [courier] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript     : [serif,sans,mono] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript     : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex
pdftex         : needs map file: original-ams-cmr.map
pdftex         : needs map file: original-ams-euler.map
pdftex         : needs map file: ec-adobe-utopia.map
pdftex         : needs map file: ec-bit-charter.map
pdftex         : needs map file: ec-public-antp.map
pdftex         : needs map file: ec-public-antt.map
pdftex         : needs map file: ec-urw-bookman.map
pdftex         : needs map file: ec-urw-courier.map
pdftex         : needs map file: ec-urw-helvetica.map
pdftex         : needs map file: ec-urw-palatino.map
pdftex         : needs map file: ec-urw-times.map
pdftex         : needs map file: ec-urw-zapfchan.map
pdftex         : needs map file: original-youngryu-px.map
pdftex         : needs map file: original-youngryu-tx.map
pdftex         : needs map file: ec-bh-lucida.map
) (/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm ec-utmr8a
/usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for ec-utmr8a.
/usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-utmr8a
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

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

! Font \*12ptrmtf*=ec-utmr8a at 12.0pt not loadable: Metric (TFM) file not foun
d.
<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]
                       
? 
--------------------------------------------------------------------
















O Sunday, 20 Mar 2005, Matthias Weber wrote:

    > 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
    > 
    > 
    > If not, please post the error message together with version information
    > of your system.
    > 
    > Matthias
    > 
    > 
    > On Mar 18, 2005, at 10:41 PM, Xue Ruini wrote:
    > 
    > >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
    > >
    > >
    > >
    > >
    > >
    > >_______________________________________________
    > >ntg-context mailing list
    > >ntg-context@ntg.nl
    > >http://www.ntg.nl/mailman/listinfo/ntg-context
    > >
    > >
    > 
    > _______________________________________________
    > ntg-context mailing list
    > ntg-context@ntg.nl
    > http://www.ntg.nl/mailman/listinfo/ntg-context

Best Regards!

---------------------------------------
Xue Ruini
Institute of High Performance Computing
Tsinghua University
Beijing, 100084 China

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

* Re: how to use Times Roman font
  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
  1 sibling, 2 replies; 9+ messages in thread
From: Matthias Weber @ 2005-03-21  6:20 UTC (permalink / raw)


Xue,

  I am not a font expert at all, and we are on different platforms.

If I understand correctly, the font mechanism in TeXExec has been
changing, and different  ConTeXt versions rely on different versions of
pdfeTeX (not only for font reasons, but also for pdf features).

It should be imperative to use compatible versions of both, even though
I have no clue how to achieve this -- (on the Mac, Gerben's iinstaller
is nicely taking care of this, but I don't know about Windows)


In my recent experience, it was not a good idea to use the latest 
(March) ConTeXt beta
without making sure that your remaining TeX installation (including 
fonts) is completely
up-to-date. As I don't know how easy it is to move to some other  
'release' on Windows,
I don't know how feasible this recommendation is. Maybe somebody on 
Windows for whom
times works can give you some information which versions he is using, 
and how to get them.

I also wonder why the pdf made at ConTeXtgarden opens in Acrobat with 
font substitution -- the fonts should be
universally available, I believe.

Hopefully somebody with more insight will clarify ?

Matthias





On Mar 20, 2005, at 7:54 PM, Xue Ruini wrote:

> Hi Matthias!
>
> Unfortunately, error again:
> -------------------------------------------------------
>
>  TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
>
>             executable : pdfetex
>                 format : cont-en
>              inputfile : a
>                 output : standard
>              interface : en
>           current mode : none
>                TeX run : 1
>
> This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
> entering extended mode
> (./a.tex{/usr/local/share/texmf/pdftex/config/pdftex.cfg}
>
> ConTeXt  ver: 2003.1.31  fmt: 2005.3.19  int: english  mes: english
>
> language       : language en is active
> <protectionstate 0>
> system         : cont-new loaded
> (/usr/share/texmf/tex/context/base/cont-new.tex
> systems        : beware: some patches loaded from cont-new.tex!
> system (E-TEX) : [line 726] \ifcsname
> )
> system         : cont-old loaded
> (/usr/share/texmf/tex/context/base/cont-old.tex
> loading        : Context Old Macros
> )
> system         : cont-fil loaded
> (/usr/share/texmf/tex/context/base/cont-fil.tex
> loading        : Context File Synonyms
> )
> system         : cont-sys loaded
> (/usr/share/texmf/tex/context/base/cont-sys.tex)
> bodyfont       : 12pt rm is loaded
> language       : patterns 2:2-en-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 
> 8:2-nl-2
>  loaded
> specials       : tex,postscript,rokicki loaded
> system         : a.top loaded
> (./a.top)
> pdftex         : needs map file: original-context-symbol.map
> pdftex         : needs map file: pl0-ams-cmr.map
> pdftex         : needs map file: original-vogel-symbol.map
> typescript     : [adobekb] [ec] []
> (/usr/share/texmf/tex/context/base/type-syn.tex)
> (/usr/share/texmf/tex/context/base/type-enc.tex)
> (/usr/share/texmf/tex/context/base/type-siz.tex)
> (/usr/share/texmf/tex/context/base/type-map.tex)
> (/usr/share/texmf/tex/context/base/type-spe.tex)
> (/usr/share/texmf/tex/context/base/type-exa.tex)
> (/usr/share/texmf/tex/context/base/type-pre.tex
> typescript     : [serif] [times] [name,ec]
> (/usr/share/texmf/tex/context/base/type-syn.tex)
> (/usr/share/texmf/tex/context/base/type-enc.tex)
> (/usr/share/texmf/tex/context/base/type-siz.tex)
> (/usr/share/texmf/tex/context/base/type-map.tex)
> (/usr/share/texmf/tex/context/base/type-spe.tex)
> (/usr/share/texmf/tex/context/base/type-exa.tex)
> typescript     : [sans] [helvetica] [name,ec]
> (/usr/share/texmf/tex/context/base/type-syn.tex)
> (/usr/share/texmf/tex/context/base/type-enc.tex)
> (/usr/share/texmf/tex/context/base/type-siz.tex)
> (/usr/share/texmf/tex/context/base/type-map.tex)
> (/usr/share/texmf/tex/context/base/type-spe.tex)
> (/usr/share/texmf/tex/context/base/type-exa.tex)
> typescript     : [mono] [courier] [name,ec]
> (/usr/share/texmf/tex/context/base/type-syn.tex)
> (/usr/share/texmf/tex/context/base/type-enc.tex)
> (/usr/share/texmf/tex/context/base/type-siz.tex)
> (/usr/share/texmf/tex/context/base/type-map.tex)
> (/usr/share/texmf/tex/context/base/type-spe.tex)
> (/usr/share/texmf/tex/context/base/type-exa.tex)
> typescript     : [serif,sans,mono] [default] [size]
> (/usr/share/texmf/tex/context/base/type-syn.tex)
> (/usr/share/texmf/tex/context/base/type-enc.tex)
> (/usr/share/texmf/tex/context/base/type-siz.tex)
> (/usr/share/texmf/tex/context/base/type-map.tex)
> (/usr/share/texmf/tex/context/base/type-spe.tex)
> (/usr/share/texmf/tex/context/base/type-exa.tex)
> typescript     : [map] [ec] []
> (/usr/share/texmf/tex/context/base/type-syn.tex)
> (/usr/share/texmf/tex/context/base/type-enc.tex)
> (/usr/share/texmf/tex/context/base/type-siz.tex)
> (/usr/share/texmf/tex/context/base/type-map.tex
> pdftex         : needs map file: original-ams-cmr.map
> pdftex         : needs map file: original-ams-euler.map
> pdftex         : needs map file: ec-adobe-utopia.map
> pdftex         : needs map file: ec-bit-charter.map
> pdftex         : needs map file: ec-public-antp.map
> pdftex         : needs map file: ec-public-antt.map
> pdftex         : needs map file: ec-urw-bookman.map
> pdftex         : needs map file: ec-urw-courier.map
> pdftex         : needs map file: ec-urw-helvetica.map
> pdftex         : needs map file: ec-urw-palatino.map
> pdftex         : needs map file: ec-urw-times.map
> pdftex         : needs map file: ec-urw-zapfchan.map
> pdftex         : needs map file: original-youngryu-px.map
> pdftex         : needs map file: original-youngryu-tx.map
> pdftex         : needs map file: ec-bh-lucida.map
> ) (/usr/share/texmf/tex/context/base/type-spe.tex)
> (/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running 
> mktextfm ec-utmr8a
> /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation 
> c- for ec-utmr8a.
> /usr/share/texmf/web2c/mktexnam: Need to update 
> /usr/share/texmf/fontname/special.map?
> mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
> nonstopmode; input ec-utmr8a
> This is METAFONT, Version 2.7182 (Web2C 7.4.5)
>
> kpathsea: Running mktexmf ec-utmr8a
> ! I can't find file `ec-utmr8a'.
> <*> ...jfour; mag:=1; nonstopmode; input ec-utmr8a
>
> Please type another input file name
> ! Emergency stop.
> <*> ...jfour; mag:=1; nonstopmode; input ec-utmr8a
>
> Transcript written on mfput.log.
> mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
> input ec-utmr8a' failed.
> kpathsea: Appending font creation commands to missfont.log.
>
> ! Font \*12ptrmtf*=ec-utmr8a at 12.0pt not loadable: Metric (TFM) file 
> not foun
> d.
> <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]
>
> ?
> --------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> O Sunday, 20 Mar 2005, Matthias Weber wrote:
>
>> 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
>>
>>
>> If not, please post the error message together with version 
>> information
>> of your system.
>>
>> Matthias
>>
>>
>> On Mar 18, 2005, at 10:41 PM, Xue Ruini wrote:
>>
>>> 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
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ntg-context mailing list
>>> ntg-context@ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>>
>>>
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> Best Regards!
>
> ---------------------------------------
> Xue Ruini
> Institute of High Performance Computing
> Tsinghua University
> Beijing, 100084 China
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

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

* Re: how to use Times Roman font
  2005-03-21  0:54   ` Xue Ruini
  2005-03-21  6:20     ` Matthias Weber
@ 2005-03-21  9:04     ` Patrick Gundlach
  1 sibling, 0 replies; 9+ messages in thread
From: Patrick Gundlach @ 2005-03-21  9:04 UTC (permalink / raw)


Hello,


[...]

>  TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

your ConTeXt is way too old. It doesn't have type-akb included. Either
update your ConTeXt or get type-akb from http://levana.de/context/ .

Patrick

-- 
ConTeXt wiki: http://contextgarden.net

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

* Re: how to use Times Roman font
  2005-03-21  6:20     ` Matthias Weber
@ 2005-03-21  9:52       ` Hans Hagen
  2005-03-21 10:06       ` Patrick Gundlach
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2005-03-21  9:52 UTC (permalink / raw)


Matthias Weber wrote:
> Xue,
> 
>  I am not a font expert at all, and we are on different platforms.
> 
> If I understand correctly, the font mechanism in TeXExec has been
> changing, and different  ConTeXt versions rely on different versions of
> pdfeTeX (not only for font reasons, but also for pdf features).

not really, they try to adapt themselves invisible

> It should be imperative to use compatible versions of both, even though
> I have no clue how to achieve this -- (on the Mac, Gerben's iinstaller
> is nicely taking care of this, but I don't know about Windows)

normally this is no problem, i run old and new versions alongside; teh biggest 
change in the latest pdftex is that the locations of the enc/map files have 
changed (not context related, more tds/texmf); context never used the pdftex cfg 
file so no problems should be expected there

> In my recent experience, it was not a good idea to use the latest 
> (March) ConTeXt beta
> without making sure that your remaining TeX installation (including 
> fonts) is completely
> up-to-date. As I don't know how easy it is to move to some other  
> 'release' on Windows,
> I don't know how feasible this recommendation is. Maybe somebody on 
> Windows for whom
> times works can give you some information which versions he is using, 
> and how to get them.

for the transition to latim modern one indeed needs latin modern fonts (zip on 
our website); making this change has to happen anyway; also, when one uses latin 
modern as well as context pattern files; one can use more font encodings with 
regards to hyphenation

> I also wonder why the pdf made at ConTeXtgarden opens in Acrobat with 
> font substitution -- the fonts should be
> universally available, I believe.

strange, this should not happen with an embedded font

Hans

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

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

* Re: how to use Times Roman font
  2005-03-21  6:20     ` Matthias Weber
  2005-03-21  9:52       ` Hans Hagen
@ 2005-03-21 10:06       ` Patrick Gundlach
  2005-03-21 15:40         ` Stefano
  1 sibling, 1 reply; 9+ messages in thread
From: Patrick Gundlach @ 2005-03-21 10:06 UTC (permalink / raw)



[...]

> 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

^ permalink raw reply	[flat|nested] 9+ 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
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread

* Re: how to use Times Roman font
  2005-03-21 15:40         ` Stefano
@ 2005-03-22 17:48           ` Patrick Gundlach
  0 siblings, 0 replies; 9+ messages in thread
From: Patrick Gundlach @ 2005-03-22 17:48 UTC (permalink / raw)


Hello Stefano,

on live.contextgarden.net, this works:

\setupencoding[default=ec]
\usetypescript[adobekb][\defaultencoding]
\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]
\starttext
\showfontstrip
\showbodyfont[times]
Roman \bf bold \it italics
\stoptext


Patrick
-- 
ConTeXt wiki: http://contextgarden.net

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

end of thread, other threads:[~2005-03-22 17:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-19  3:41 how to use Times Roman font 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 15:40         ` Stefano
2005-03-22 17:48           ` 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).