ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Roland <ntg-context@rolandsiebelink.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Using Postscript Type 1 fonts in ConTeXt/XeTeX?
Date: Tue, 22 Jan 2008 07:44:02 +0100	[thread overview]
Message-ID: <cd7ae9e30801212244p66a651g2bea5e289c8fdbfc@mail.gmail.com> (raw)
In-Reply-To: <6faad9f00801211539q42bbcbc4wc77e23555f028d48@mail.gmail.com>

Oh well let's try again in that case ;-)

I ran the first test script and it gives the same error (see log 1).
Then I went back to Wolfgang's recommended script and replaced the
second typescript block with your suggested lines (the bolditalic font
is called Eco302BoldItalic, by the way). This produced the errors as
enclosed in log 2...

Thanks again
Roland


====== LOG 1 =========

TeXExec | processing document 'hello.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello.top
TeXExec | using randomseed 166
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeXk, Version 3.141592-2.2-0.997 (Web2C 7.5.6)
 \write18 enabled.
 file:line:error style messages enabled.
entering extended mode
(./hello.tex

ConTeXt  ver: 2008.01.16 13:49 MKII  fmt: 2008.1.21  int: english/english

language        : language en is active
system          : cont-new loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkii)
(/usr/local/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->ec:ec->1->2:3 fr->ec:ec->2->2:3 de->ec:ec->3->2:
3 it->ec:ec->4->2:3 pt->ec:ec->5->2:3 hr->ec:ec->6->2:3 pl->ec:ec->7->2:3 cz->e
c:ec->8->2:3 sk->ec:ec->9->2:3 sl->ec:ec->10->2:3 ru->ec:ec->12->2:3 en->ec:ec-
>13->2:3 uk->ec:ec->14->2:3 us->ec:ec->15->2:3 agr->ec:ec->16->2:3 da->ec:ec->1
7->2:3 sv->ec:ec->18->2:3 af->ec:ec->19->2:3 no->ec:ec->20->2:3 deo->ec:ec->21-
>2:3 es->ec:ec->25->2:3 ca->ec:ec->26->2:3 la->ec:ec->27->2:3 ro->ec:ec->28->2:
3 tr->ec:ec->29->2:3 fi->ec:ec->31->2:3 hu->ec:ec->32->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : hello.top loaded
(./hello.top
specials        : loading definition file dpx
(/usr/local/context/tex/texmf-context/tex/context/base/spec-dpx.tex
specials        : loading definition file fdf
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.tex
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,dpx loaded
specials        : loading definition file xet
(/usr/local/context/tex/texmf-context/tex/context/base/spec-xet.tex)
specials        : fdf,dpx loaded
) (./hello.tuo) (./hello.tuo) (./hello.tuo) (./hello.tuo) (./hello.tuo)
(./hello.tuo) (./hello.tuo) (./hello.tuo) (./hello.tuo) (./hello.tuo)
(./hello.tuo) (./hello.tuo)
systems         : begin file hello at line 12
fonts           : resetting map file list
fonts           : using map file: original-base
fonts           : using map file: lm-math
fonts           : using map file: lm-rm
fonts           : using map file: texnansi-base
fonts           : using map file: ec-base
fonts           : using map file: qx-base
fonts           : using map file: t5-base
fonts           : using map file: 8r-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-ams-euler
fonts           : using map file: original-public-lm
(/usr/local/context/tex/texmf-context/tex/context/base/sort-def.tex
(/usr/local/context/tex/texmf-context/tex/context/base/sort-def.mkii))
(/usr/local/context/tex/texmf-context/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(/usr/local/context/tex/texmf-context/tex/context/base/sort-lan.mkii)) [1.1]
systems         : end file hello at line 18
system          : cont-err loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
stdin -> hello.pdf

[1

** ERROR ** Invalid font: -1 (1)



Output file removed.

) )
(see the transcript file for additional information)
Output written on hello.pdf (1 page).
Transcript written on hello.log.
TeXUtil | parsing file hello.tui
TeXUtil | shortcuts : 169
TeXUtil | expansions: 308
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 21
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 5.324055

===== END OF LOG 1 =====


===== LOG 2 =====
TeXExec | processing document 'hello-r642.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello-r642.top
TeXExec | using randomseed 718
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeXk, Version 3.141592-2.2-0.997 (Web2C 7.5.6)
 \write18 enabled.
 file:line:error style messages enabled.
entering extended mode
(./hello-r642.tex

ConTeXt  ver: 2008.01.16 13:49 MKII  fmt: 2008.1.21  int: english/english

language        : language en is active
system          : cont-new loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkii)
(/usr/local/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->ec:ec->1->2:3 fr->ec:ec->2->2:3 de->ec:ec->3->2:
3 it->ec:ec->4->2:3 pt->ec:ec->5->2:3 hr->ec:ec->6->2:3 pl->ec:ec->7->2:3 cz->e
c:ec->8->2:3 sk->ec:ec->9->2:3 sl->ec:ec->10->2:3 ru->ec:ec->12->2:3 en->ec:ec-
>13->2:3 uk->ec:ec->14->2:3 us->ec:ec->15->2:3 agr->ec:ec->16->2:3 da->ec:ec->1
7->2:3 sv->ec:ec->18->2:3 af->ec:ec->19->2:3 no->ec:ec->20->2:3 deo->ec:ec->21-
>2:3 es->ec:ec->25->2:3 ca->ec:ec->26->2:3 la->ec:ec->27->2:3 ro->ec:ec->28->2:
3 tr->ec:ec->29->2:3 fi->ec:ec->31->2:3 hu->ec:ec->32->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : hello-r642.top loaded
(./hello-r642.top
specials        : loading definition file dpx
(/usr/local/context/tex/texmf-context/tex/context/base/spec-dpx.tex
specials        : loading definition file fdf
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.tex
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,dpx loaded
specials        : loading definition file xet
(/usr/local/context/tex/texmf-context/tex/context/base/spec-xet.tex)
specials        : fdf,dpx loaded
) (/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex)
./hello-r642.tex:31: Font \*eco12ptrmtfrm*:=Eco-Regular at 12.0pt not loadable:
 Metric (TFM) file or installed font not found.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let \localrelativefontsiz...

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

\synchronizefont ...strategy \the \fontstrategies
                                                  \relax \fi \iftryingfont \...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle }\if...
...
l.31 \setupbodyfont[eco]

No pages of output.
Transcript written on hello-r642.log.
TeXUtil | parsing file hello-r642.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 3
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file hello-r642.top
TeXExec | using randomseed 718
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeXk, Version 3.141592-2.2-0.997 (Web2C 7.5.6)
 \write18 enabled.
 file:line:error style messages enabled.
entering extended mode
(./hello-r642.tex

ConTeXt  ver: 2008.01.16 13:49 MKII  fmt: 2008.1.21  int: english/english

language        : language en is active
system          : cont-new loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkii)
(/usr/local/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->ec:ec->1->2:3 fr->ec:ec->2->2:3 de->ec:ec->3->2:
3 it->ec:ec->4->2:3 pt->ec:ec->5->2:3 hr->ec:ec->6->2:3 pl->ec:ec->7->2:3 cz->e
c:ec->8->2:3 sk->ec:ec->9->2:3 sl->ec:ec->10->2:3 ru->ec:ec->12->2:3 en->ec:ec-
>13->2:3 uk->ec:ec->14->2:3 us->ec:ec->15->2:3 agr->ec:ec->16->2:3 da->ec:ec->1
7->2:3 sv->ec:ec->18->2:3 af->ec:ec->19->2:3 no->ec:ec->20->2:3 deo->ec:ec->21-
>2:3 es->ec:ec->25->2:3 ca->ec:ec->26->2:3 la->ec:ec->27->2:3 ro->ec:ec->28->2:
3 tr->ec:ec->29->2:3 fi->ec:ec->31->2:3 hu->ec:ec->32->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : hello-r642.top loaded
(./hello-r642.top
specials        : loading definition file dpx
(/usr/local/context/tex/texmf-context/tex/context/base/spec-dpx.tex
specials        : loading definition file fdf
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.tex
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,dpx loaded
specials        : loading definition file xet
(/usr/local/context/tex/texmf-context/tex/context/base/spec-xet.tex)
specials        : fdf,dpx loaded
) (/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/usr/local/context/tex/texmf-context/tex/context/base/type-xtx.tex)
./hello-r642.tex:31: Font \*eco12ptrmtfrm*:=Eco-Regular at 12.0pt not loadable:
 Metric (TFM) file or installed font not found.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let \localrelativefontsiz...

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

\synchronizefont ...strategy \the \fontstrategies
                                                  \relax \fi \iftryingfont \...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle }\if...
...
l.31 \setupbodyfont[eco]

No pages of output.
Transcript written on hello-r642.log.
TeXUtil | parsing file hello-r642.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 3
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 28.552661

===== END OF LOG 2 =====
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2008-01-22  6:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-20 10:21 Roland
2008-01-20 12:54 ` Wolfgang Schuster
2008-01-20 16:40   ` Mojca Miklavec
2008-01-20 17:37     ` Mojca Miklavec
     [not found]       ` <cd7ae9e30801201252k239a94cdteac2368f3b0cc45f@mail.gmail.com>
2008-01-20 20:55         ` Roland
2008-01-20 21:11           ` Mojca Miklavec
2008-01-21  7:22             ` Roland
2008-01-21 10:49               ` Mojca Miklavec
2008-01-21 23:00                 ` Roland
2008-01-21 23:39                   ` Mojca Miklavec
2008-01-22  6:44                     ` Roland [this message]
2008-01-22  8:37                       ` Mojca Miklavec
2008-02-01  8:09                         ` Roland
     [not found]                           ` <cd7ae9e30802010011i4227188fwee641ad6da7efb61@mail.gmail.com>
2008-03-01 12:19                             ` Roland
2008-03-02 14:21                               ` Jérome Laurens
2008-03-02 19:37                               ` Henning Hraban Ramm
2008-03-03 16:44                                 ` Mojca Miklavec
2008-03-03 19:58                                   ` Henning Hraban Ramm
2008-03-04  0:10                                     ` Mojca Miklavec
2008-03-04  0:16                                       ` Wolfgang Schuster
2008-01-20 20:48   ` Roland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd7ae9e30801212244p66a651g2bea5e289c8fdbfc@mail.gmail.com \
    --to=ntg-context@rolandsiebelink.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).