ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: adventor
Date: Mon, 6 Aug 2007 10:01:30 +0200	[thread overview]
Message-ID: <69AA3BEA-02D1-4BF9-867C-7705EE658D8B@uni-bonn.de> (raw)
In-Reply-To: <46B50F9D.18270.21C8B75@wwl.musensturm.de>


On Aug 4, 2007, at 11:45 PM, Wolfgang Werners-Lucchini wrote:

>
>>> I have some problems useing the font adventor from gyre project.
>>> After downloading the fonts and the context map-files from the
>>> gyre-site, I tried the following:
>>>
>>> \usetypescriptfile[type-gyr]
>>>
>>> \definetypeface[adventor][ss][sans][adventor][default][encoding=ec]
>>> \setupbodyfont[adventor,ss,9pt]
>>> \starttext
>>> \ss Bla
>>> \stoptext
>>>
>>> but I get
>>>
>>> ! Font \*adventor12ptsstfss*:=TeXGyreAdventor-Regular at 12.0pt
>>> not loadable: Metric (TFM) file not found.
>>

I had a look at the typescripts and the mapfiles, and I think I see  
why your approach isn't working. All tex-gyre fonts are only defined  
in terms of a [serif] typescript (line 52-66 of type-gyr.tex). So I  
tried to change your minimal example to this:

\usetypescriptfile[type-gyr]

\definetypeface[adventor][rm][serif][adventor][default][encoding=ec]
\setupbodyfont[adventor,ss,9pt]
\starttext
\ss Bla
\stoptext

However, I now get hundreds of warnings in my log (attached below). I  
can't pinpoint it, but it looks like ConTeXt is looking for a file  
qag-name.map which isn't there. Upon further investigation: I get  
these warnings whenever I use one of the new tex-gyre font names. So  
defining a typeface like this:

\definetypeface[main][rm][serif][palatino][default][encoding=ec]
\setupbodyfont[main,9pt]

works wonderfully. Defining it like this

\definetypeface[main][rm][serif][pagella][default][encoding=ec]
\setupbodyfont[main,9pt]

should give the identical results, but triggers the warnings.

I must admit that I find this a bit frustrating. The tex-gyre font  
project looks so promising, but users need a simpler syntax to use  
the fonts (I know we want need this anymore with luatex, but it needs  
to be fixed anyway).

All best

Thomas


pdfTeX warning: pdftex (file all-base.map): cannot open font map file
fonts           : using map file: qag-ec
{/usr/local/texlive/2007/../texmf-local/fonts/map/dvips/tex-gyre/qag- 
ec.map}
fonts           : using map file: qag-name


pdfTeX warning: pdftex (file qag-name.map): cannot open font map file
fonts           : using map file: default


pdfTeX warning: pdftex (file default.map): cannot open font map file
fonts           : using map file: ec


pdfTeX warning: pdftex (file ec.map): cannot open font map file
fonts           : using map file: special
{/usr/local/texlive/2007/texmf-dist/fonts/map/fontname/special.map

pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ 
map/fontn
ame/special.map): ambiguous entry for `@c': font file present but not  
included,
  will be treated as font file not present


pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ 
map/fontn
ame/special.map): ambiguous entry for `@c': font file present but not  
included,
  will be treated as font file not present


pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ 
map/fontn
ame/special.map): invalid entry for `@c': unknown name `dec06' ignored


pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ 
map/fontn
ame/special.map): ambiguous entry for `@c': font file present but not  
included,
  will be treated as font file not present

___________________________________________________________________________________
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:[~2007-08-06  8:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1186221601.22560.ntg-context@ntg.nl>
2007-08-04 21:45 ` adventor Wolfgang Werners-Lucchini
2007-08-06  8:01   ` Thomas A. Schmitz [this message]
2007-08-06  8:51     ` adventor Taco Hoekwater
     [not found] <mailman.421.1186393793.2346.ntg-context@ntg.nl>
2007-08-06 21:28 ` adventor Wolfgang Werners-Lucchini
2007-08-07  7:25   ` adventor Taco Hoekwater
2007-08-03 14:34 adventor Wolfgang Werners-Lucchini
2007-08-03 14:51 ` adventor luigi scarso

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=69AA3BEA-02D1-4BF9-867C-7705EE658D8B@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).