ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font installation
@ 2006-11-06 13:33 Antoine Junod
  2006-11-06 13:41 ` Thomas A. Schmitz
  2006-11-08 14:10 ` Mojca Miklavec
  0 siblings, 2 replies; 9+ messages in thread
From: Antoine Junod @ 2006-11-06 13:33 UTC (permalink / raw)


Hello list, 

I'm trying to install new fonts in my texmf tree but at each try I
stop at the same point, when compiling my test file:

(./type-doulos.tex)
! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file
 not found.

I've got this problem not only with doulos but with gfs fonts too, and
others.

Font installation in the texmf tree with texfont works well. I can
compile without any problem the texnansi-sil-doulos.tex file (idem
with other files).

What am I doing wrong?

Here is my minimal type-doulos.tex:

% type-doulos.tex
\starttypescript [map] [texnansi]
  \loadmapfile[texnansi-sil-doulos]
\stoptypescript

\starttypescript [serif] [doulos] [texnansi]
  \definefontsynonym[DoulosSIL][texnansi-DoulosSILR][encoding=texnansi]
\stoptypescript

\starttypescript [serif] [doulos] [name]
  \definefontsynonym[Serif] [DoulosSil]
\stoptypescript


And here is my minimal test file:
\usetypescriptfile[type-doulos]
\definetypeface[doulos][rm][serif][doulos][default][encoding=texnansi]
\setupbodyfont[doulos,rm,10pt]

\starttext
This is the end, gggggnnnnnn
\stoptext

Thanks a lot for your reply.
-AJ

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

* Re: Font installation
  2006-11-06 13:33 Font installation Antoine Junod
@ 2006-11-06 13:41 ` Thomas A. Schmitz
  2006-11-06 13:54   ` Antoine Junod
  2006-11-08 14:10 ` Mojca Miklavec
  1 sibling, 1 reply; 9+ messages in thread
From: Thomas A. Schmitz @ 2006-11-06 13:41 UTC (permalink / raw)



On Nov 6, 2006, at 2:33 PM, Antoine Junod wrote:

> Hello list,
>
> I'm trying to install new fonts in my texmf tree but at each try I
> stop at the same point, when compiling my test file:
>
> (./type-doulos.tex)
> ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable:  
> Metric (TFM) file
>  not found.
>
> I've got this problem not only with doulos but with gfs fonts too, and
> others.
>

Well the error message is quite helpful: TeX can't find the tfm file.  
Where did you put it? Is it found by kpsewhich? Did you run texhash/ 
mktexlsr after installing your fonts?

Thomas

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

* Re: Font installation
  2006-11-06 13:41 ` Thomas A. Schmitz
@ 2006-11-06 13:54   ` Antoine Junod
  2006-11-06 14:08     ` Thomas A. Schmitz
  0 siblings, 1 reply; 9+ messages in thread
From: Antoine Junod @ 2006-11-06 13:54 UTC (permalink / raw)


"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> writes:

> On Nov 6, 2006, at 2:33 PM, Antoine Junod wrote:
> 
> > Hello list,
> >
> > I'm trying to install new fonts in my texmf tree but at each try I
> > stop at the same point, when compiling my test file:
> >
> > (./type-doulos.tex)
> > ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable:  
> > Metric (TFM) file
> >  not found.
> >
> > I've got this problem not only with doulos but with gfs fonts too, and
> > others.
> >
> 
> Well the error message is quite helpful: TeX can't find the tfm file.  
> Where did you put it? Is it found by kpsewhich? Did you run texhash/ 
> mktexlsr after installing your fonts?

tmf files are in:

  ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm
  ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm

mtexfont.pdf seems to say that's the right place (page 3).

Yes, I've run texhash/mktexlsr.

What else should I check?

Thanks for your help.
-AJ

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

* Re: Font installation
  2006-11-06 13:54   ` Antoine Junod
@ 2006-11-06 14:08     ` Thomas A. Schmitz
  2006-11-06 15:01       ` Antoine Junod
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas A. Schmitz @ 2006-11-06 14:08 UTC (permalink / raw)



On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:

> tmf files are in:
>
>   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm
>   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
>
> mtexfont.pdf seems to say that's the right place (page 3).
>
> Yes, I've run texhash/mktexlsr.
>
> What else should I check?
>
> Thanks for your help.
> -AJ

Excuse me, I wasn't paying enough attention. From your log, it is  
clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm  
-- which, of course, isn't there. I think the reason is because you  
use the same name "doulos" for all your definitions. Try to edit your  
test file like so:

\usetypescriptfile[type-doulos]
\definetypeface[Doulos][rm][serif][doulos][default][encoding=texnansi]
\setupbodyfont[Doulos,rm,10pt]

\starttext
This is the end, gggggnnnnnn
\stoptext

HTH

Thomas

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

* Re: Font installation
  2006-11-06 14:08     ` Thomas A. Schmitz
@ 2006-11-06 15:01       ` Antoine Junod
  2006-11-06 16:15         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Antoine Junod @ 2006-11-06 15:01 UTC (permalink / raw)


"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> writes:

> On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
> 
> > tmf files are in:
> >
> >   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm
> >   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
> >
> > mtexfont.pdf seems to say that's the right place (page 3).
> >
> > Yes, I've run texhash/mktexlsr.
> >
> > What else should I check?
> 
> Excuse me, I wasn't paying enough attention. From your log, it is  
> clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm  
> -- which, of course, isn't there. I think the reason is because you  
> use the same name "doulos" for all your definitions. Try to edit your  
> test file like so:

It doesn't change anything. Always the same error:

(./type-doulos.tex)
! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file
 not found.

Thanks for your help.
-AJ

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

* Re: Font installation
  2006-11-06 15:01       ` Antoine Junod
@ 2006-11-06 16:15         ` Hans Hagen
  2006-11-07  7:26           ` Antoine Junod
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2006-11-06 16:15 UTC (permalink / raw)


Antoine Junod wrote:
> "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> writes:
>
>   
>> On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
>>
>>     
>>> tmf files are in:
>>>
>>>   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm
>>>   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
>>>
>>> mtexfont.pdf seems to say that's the right place (page 3).
>>>
>>> Yes, I've run texhash/mktexlsr.
>>>
>>> What else should I check?
>>>       
>> Excuse me, I wasn't paying enough attention. From your log, it is  
>> clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm  
>> -- which, of course, isn't there. I think the reason is because you  
>> use the same name "doulos" for all your definitions. Try to edit your  
>> test file like so:
>>     
>
> It doesn't change anything. Always the same error:
>
> (./type-doulos.tex)
> ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file
>  not found.
>
>   
what does

kpsewhich DoulosSil.tfm

report?

-- 

-----------------------------------------------------------------
                                          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: Font installation
  2006-11-06 16:15         ` Hans Hagen
@ 2006-11-07  7:26           ` Antoine Junod
  0 siblings, 0 replies; 9+ messages in thread
From: Antoine Junod @ 2006-11-07  7:26 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> writes:
> Antoine Junod wrote:
> > "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> writes:
> > > On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
> > >     
> > > > tmf files are in:
> > > >
> > > >   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm
> > > >   ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
> > > >
> > > > mtexfont.pdf seems to say that's the right place (page 3).
> > > >
> > > > Yes, I've run texhash/mktexlsr.
> > > >
> > > > What else should I check?
> > >       
> > > Excuse me, I wasn't paying enough attention. From your log, it is  
> > > clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm  
> > > -- which, of course, isn't there. I think the reason is because you  
> > > use the same name "doulos" for all your definitions. Try to edit your  
> > > test file like so:
> >
> > It doesn't change anything. Always the same error:
> >
> > (./type-doulos.tex)
> > ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable:
> > Metric (TFM) file not found.
>    
> what does
> 
> kpsewhich DoulosSil.tfm
> 
> report?

Nothing. I've no DoulsSil.tfm file in my texmf tree. The question is
why is it looking for a DoulosSol.tfm file? Am wrong with my
type-doulos.tex (cf my first post)?

texfont has installed into the tree the following files:
./texmf-fonts/fonts/afm/sil/doulos/DoulosSILR.afm
./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm
./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
./texmf-fonts/fonts/vf/sil/doulos/texnansi-DoulosSILR.vf
./texmf-fonts/fonts/type1/sil/doulos/DoulosSILR.pfb

and the map files
./texmf-fonts/fonts/map/dvips/context/dvips-texnansi-sil-doulos.map
./texmf-fonts/fonts/map/dvipdfm/context/dvipdfm-texnansi-sil-doulos.map
./texmf-fonts/fonts/map/pdftex/context/texnansi-sil-doulos.map

Thanks a lot for your help.
-AJ

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

* Re: Font installation
  2006-11-06 13:33 Font installation Antoine Junod
  2006-11-06 13:41 ` Thomas A. Schmitz
@ 2006-11-08 14:10 ` Mojca Miklavec
  1 sibling, 0 replies; 9+ messages in thread
From: Mojca Miklavec @ 2006-11-08 14:10 UTC (permalink / raw)


On 06 Nov 2006 14:33:11 +0100, Antoine Junod wrote:
> Hello list,
>
> I'm trying to install new fonts in my texmf tree but at each try I
> stop at the same point, when compiling my test file:
>
> (./type-doulos.tex)
> ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file
>  not found.
>
> \starttypescript [serif] [doulos] [texnansi]
>   \definefontsynonym[DoulosSIL][texnansi-DoulosSILR][encoding=texnansi]
> \stoptypescript
>
> \starttypescript [serif] [doulos] [name]
>   \definefontsynonym[Serif] [DoulosSil]
> \stoptypescript

Does it help if you change
    \definefontsynonym[Serif] [DoulosSil]
into
   \definefontsynonym[Serif] [DoulosSIL]
?

For DuolosSil there is currently no synonym defined in the what you
posted above.

Mojca

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

* Font installation
@ 2001-12-23 17:02 Henning Hraban Ramm
  0 siblings, 0 replies; 9+ messages in thread
From: Henning Hraban Ramm @ 2001-12-23 17:02 UTC (permalink / raw)


Hash: SHA1

Heigh ho!

I installed (eg.) Palatino family with texfont.pl, but get the following 
error while texing the resultig tex-file:
..................
(/usr/share/texmf/tex/context/base/font-run.tex)
! Missing number, treated as zero.
<to be read again>
                   \def
\handlecompoundcharacter #1->\def
                                  \dohandlecompoundcharacter {\ifx \next 
\bg...

\@@ar@@2 ... \col \recurselevel \scratchcounter ="
                                                  \hexnumber \row 
\hexnumber...

\redostepwiserecurse ... \recursedepth \endcsname
                                                  \dodostepwiserecurse
<to be read again>
                   {
<inserted text>
                1
...
l.21 ...nt[Palatino-Roman][texnansi-por][texnansi]
.............................

Is that my fault?

(texexec 2.6, pdfeTeX 14h)

Season's Greetings from the Hraban!


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

end of thread, other threads:[~2006-11-08 14:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-06 13:33 Font installation Antoine Junod
2006-11-06 13:41 ` Thomas A. Schmitz
2006-11-06 13:54   ` Antoine Junod
2006-11-06 14:08     ` Thomas A. Schmitz
2006-11-06 15:01       ` Antoine Junod
2006-11-06 16:15         ` Hans Hagen
2006-11-07  7:26           ` Antoine Junod
2006-11-08 14:10 ` Mojca Miklavec
  -- strict thread matches above, loose matches on Subject: below --
2001-12-23 17:02 Henning Hraban Ramm

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