From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38759 Path: news.gmane.org!not-for-mail From: Roland Newsgroups: gmane.comp.tex.context Subject: Re: Using Postscript Type 1 fonts in ConTeXt/XeTeX? Date: Tue, 22 Jan 2008 07:44:02 +0100 Message-ID: References: <6faad9f00801200840t67b71666y445841e3c53e2bec@mail.gmail.com> <6faad9f00801200937h2c08990cybc4ef395a9a6cb72@mail.gmail.com> <6faad9f00801201311p3b5f0fb1vbd87496136110405@mail.gmail.com> <6faad9f00801210249t6274c598g264421a26b6cd977@mail.gmail.com> <6faad9f00801211539q42bbcbc4wc77e23555f028d48@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200984337 2202 80.91.229.12 (22 Jan 2008 06:45:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2008 06:45:37 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 22 07:45:55 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JHCtO-00013O-WC for gctc-ntg-context-518@m.gmane.org; Tue, 22 Jan 2008 07:45:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 768E71FBC5; Tue, 22 Jan 2008 07:45:24 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19807-03; Tue, 22 Jan 2008 07:44:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A66941FBB5; Tue, 22 Jan 2008 07:44:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F9761FBB5 for ; Tue, 22 Jan 2008 07:44:44 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20978-01-3 for ; Tue, 22 Jan 2008 07:44:09 +0100 (CET) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by ronja.ntg.nl (Postfix) with ESMTP id 0EE4B1FB01 for ; Tue, 22 Jan 2008 07:44:04 +0100 (CET) Original-Received: by py-out-1112.google.com with SMTP id p76so3263422pyb.5 for ; Mon, 21 Jan 2008 22:44:02 -0800 (PST) Original-Received: by 10.65.158.9 with SMTP id k9mr16785698qbo.85.1200984242139; Mon, 21 Jan 2008 22:44:02 -0800 (PST) Original-Received: by 10.64.49.15 with HTTP; Mon, 21 Jan 2008 22:44:02 -0800 (PST) In-Reply-To: <6faad9f00801211539q42bbcbc4wc77e23555f028d48@mail.gmail.com> Content-Disposition: inline X-Google-Sender-Auth: eaf70561b7c3bb70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38759 Archived-At: 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. \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... \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. \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... \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 ___________________________________________________________________________________