ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: using fonts -- installation
@ 2004-12-07  8:19 Adam Lindsay
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Lindsay @ 2004-12-07  8:19 UTC (permalink / raw)


[resent to whole list]

Rob Ermers said this at Tue, 7 Dec 2004 00:19:13 +0100:

>Thanks for your quick reaction. Before ending this eventful day, I ran 
>texexec as you suggested.

(I'm in a meeting the next couple days, so probably won't be as
responsive after this email.)

>The font in question is Hudson (vendor=softmaker = Berry 5), for which I 
>  invented the name 5hu (+r for roman). I have the two files 5hur.pdf 
>and 5hur.afm.

Ugh. IMHO, it's a waste of time bothering with berry style renaming.
Texfont's beauty is that it takes fonts as they are (whole directories at
a time). It shouldn't create problems if you want to do this renaming, though.

>Texfont generated a number of files and put them in several directories:
>- texnansi-softmaker-hudson.map in 
>J:\tex\localtexmf\fonts\map\pdftex\context
>- texnansi-5hur.tfm in J:\tex\localtexmf\fonts\tfm\softmaker\hudson
>- texnansi-5hur.vf in J:\tex\localtexmf\fonts\vf\softmaker\hudson
>- 5hur.afm in J:\tex\localtexmf\fonts\afm\softmaker\hudson
>- 5hur.pfb in J:\tex\localtexmf\fonts\type1\softmaker\hudson
>
>Texfont also generated the following:
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.log
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.tex
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.tmp
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.pdf
>
>The pdf file does not show the hudson font - I wonder if it should.

It should. Do you have \autoloadmapfilestrue uncommented in your cont-
sys.tex file?
What errors come up in PDF creation? (you *do* use pdfetex as an engine,
right?)

>Perhaps I should mention that Texfont was interrupted; atf2tfm gets 
>stuck - a conflict with a dll, but if click on OK, nothing serious seems 
>to be the matter. The tfm file is generated after all. If I test afm2tfm 
>  without texfont, it works normally.

That interruption doesn't fill me with faith. Is the generated texnansi-
5hur.tfm from the texfont valid?

>I have a test file, which is called testhuds-con.tex.

it wasn't attached, in case that was your intention.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Re: using fonts -- installation
  2004-12-06 21:30   ` Re: using fonts -- installation Rob Ermers
  2004-12-06 21:50     ` Adam Lindsay
  2004-12-06 23:27     ` h h extern
@ 2004-12-07  8:17     ` Adam Lindsay
  2 siblings, 0 replies; 7+ messages in thread
From: Adam Lindsay @ 2004-12-07  8:17 UTC (permalink / raw)


Rob Ermers said this at Mon, 6 Dec 2004 22:30:22 +0100:

>The font is simply not recognised (log file message: bodyfont: unknown 
>variant johanna). Of course, I am still miles away of getting my 
>cyrillic font working under context...

Okay, that sounds odd. How do you define/use the font in ConTeXt?

>Let's not take the font Palatino, because it's already there, but a 
>simple font: say, johanna, which consists of two files:
>
>johanna.pfb
>johanna.afm.

Okay, stick those two files in a temp directory together. What happens with:
 texfont --make --install --co=johanna --ve=something --show

?

>Which concrete steps do we have to take to make johanna work under 
>Context with Miktex? 

as before, I don't know about MikTeX specifically...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Re: using fonts -- installation
  2004-12-06 21:30   ` Re: using fonts -- installation Rob Ermers
  2004-12-06 21:50     ` Adam Lindsay
@ 2004-12-06 23:27     ` h h extern
  2004-12-07  8:17     ` Adam Lindsay
  2 siblings, 0 replies; 7+ messages in thread
From: h h extern @ 2004-12-06 23:27 UTC (permalink / raw)


Rob Ermers wrote:

> The font is simply not recognised (log file message: bodyfont: unknown 
> variant johanna). Of course, I am still miles away of getting my 
> cyrillic font working under context...

that message is an indication that you didn't define it as bodyfont

for instance:

   \definetypeface[johanna][rm][serif][palatino][default]

will provide

   \setupbodyfont[johanna,10pt,rm]

the combination [serif] [palatino] is the main typescript filter, while [rm] is 
what it gets mapped onto; [default] concerns the size

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] 7+ messages in thread

* Re: Re: using fonts -- installation
  2004-12-06 21:50     ` Adam Lindsay
  2004-12-06 23:19       ` Rob Ermers
@ 2004-12-06 23:23       ` h h extern
  1 sibling, 0 replies; 7+ messages in thread
From: h h extern @ 2004-12-06 23:23 UTC (permalink / raw)


Adam Lindsay wrote:
> Rob Ermers said this at Mon, 6 Dec 2004 22:30:22 +0100:
> 
> 
>>The font is simply not recognised (log file message: bodyfont: unknown 
>>variant johanna). Of course, I am still miles away of getting my 
>>cyrillic font working under context...

there is support for cyrillic in context but there are many encodings; i'm sure 
that there are users out there who can help

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] 7+ messages in thread

* Re: Re: using fonts -- installation
  2004-12-06 21:50     ` Adam Lindsay
@ 2004-12-06 23:19       ` Rob Ermers
  2004-12-06 23:23       ` h h extern
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Ermers @ 2004-12-06 23:19 UTC (permalink / raw)


Hi Adam,

Thanks for your quick reaction. Before ending this eventful day, I ran 
texexec as you suggested.

The font in question is Hudson (vendor=softmaker = Berry 5), for which I 
  invented the name 5hu (+r for roman). I have the two files 5hur.pdf 
and 5hur.afm.

Texfont generated a number of files and put them in several directories:
- texnansi-softmaker-hudson.map in 
J:\tex\localtexmf\fonts\map\pdftex\context
- texnansi-5hur.tfm in J:\tex\localtexmf\fonts\tfm\softmaker\hudson
- texnansi-5hur.vf in J:\tex\localtexmf\fonts\vf\softmaker\hudson
- 5hur.afm in J:\tex\localtexmf\fonts\afm\softmaker\hudson
- 5hur.pfb in J:\tex\localtexmf\fonts\type1\softmaker\hudson

Texfont also generated the following:
D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.log
D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.tex
D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.tmp
D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.pdf

The pdf file does not show the hudson font - I wonder if it should.

Perhaps I should mention that Texfont was interrupted; atf2tfm gets 
stuck - a conflict with a dll, but if click on OK, nothing serious seems 
to be the matter. The tfm file is generated after all. If I test afm2tfm 
  without texfont, it works normally.

I have a test file, which is called testhuds-con.tex.

Kind regards,

Robert

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

* Re: Re: using fonts -- installation
  2004-12-06 21:30   ` Re: using fonts -- installation Rob Ermers
@ 2004-12-06 21:50     ` Adam Lindsay
  2004-12-06 23:19       ` Rob Ermers
  2004-12-06 23:23       ` h h extern
  2004-12-06 23:27     ` h h extern
  2004-12-07  8:17     ` Adam Lindsay
  2 siblings, 2 replies; 7+ messages in thread
From: Adam Lindsay @ 2004-12-06 21:50 UTC (permalink / raw)


Rob Ermers said this at Mon, 6 Dec 2004 22:30:22 +0100:

>The font is simply not recognised (log file message: bodyfont: unknown 
>variant johanna). Of course, I am still miles away of getting my 
>cyrillic font working under context...

Okay, that sounds odd. How do you define/use the font in ConTeXt?

>Let's not take the font Palatino, because it's already there, but a 
>simple font: say, johanna, which consists of two files:
>
>johanna.pfb
>johanna.afm.

Okay, stick those two files in a temp directory together. What happens with:
 texfont --make --install --co=johanna --ve=something --show

?

>Which concrete steps do we have to take to make johanna work under 
>Context with Miktex? 

as before, I don't know about MikTeX specifically...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Re: using fonts -- installation
  2004-12-06 14:52 ` Adam Lindsay
@ 2004-12-06 21:30   ` Rob Ermers
  2004-12-06 21:50     ` Adam Lindsay
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rob Ermers @ 2004-12-06 21:30 UTC (permalink / raw)


Dear friends,

Let's join the font discussion!

Two years ago I installed under latex an adapted cyrillic font family, 
along with a new encoding (which I named l2t.enc -- a variant of t2a), 
for  koi8 texts, which makes it possible to call special diacritics 
(like \cyrkdot) by means of regular input codes, such as \= and \d. (In 
this way the text can still be processed without the special font and 
its code, but looks less nice.) As anybody can imagine, it was the 
toughest latex thing I ever did, I guess, but it worked and still does.

I am telling you this because after this complicated job I have been 
trying several times to install a simple type 1 font under Context, the 
last time being two days ago, but without any success. (I got the same 
simple font working under latex, though.) I carefully read Adam's 'My 
Way' over and over again, but I cannot get it work in my system. I put 
all the files exactly on the indicated places! (Texfont is very handy, 
but it seems to me, that nevertheless mapping files are not found.) 
Could anybody give me, and some others, a hand?

The font is simply not recognised (log file message: bodyfont: unknown 
variant johanna). Of course, I am still miles away of getting my 
cyrillic font working under context...

Let's not take the font Palatino, because it's already there, but a 
simple font: say, johanna, which consists of two files:

johanna.pfb
johanna.afm.

Which concrete steps do we have to take to make johanna work under 
Context with Miktex? And, perhaps more important, where do I put my map 
files and font files, etc. so that they be recognised?
The next step would be the installation of a ttf font. After that a 
whole font family should not be that difficult anymore.

Thank you very much in advance!

Kind regards,

Robert Ermers

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

end of thread, other threads:[~2004-12-07  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07  8:19 Re: using fonts -- installation Adam Lindsay
  -- strict thread matches above, loose matches on Subject: below --
2004-12-06 13:41 using fonts Patrick Gundlach
2004-12-06 14:52 ` Adam Lindsay
2004-12-06 21:30   ` Re: using fonts -- installation Rob Ermers
2004-12-06 21:50     ` Adam Lindsay
2004-12-06 23:19       ` Rob Ermers
2004-12-06 23:23       ` h h extern
2004-12-06 23:27     ` h h extern
2004-12-07  8:17     ` Adam Lindsay

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