Harrie Frericks wrote:
I've been looking into luatex and got it running now. However, i'm not sure
how to link a font that I want to use in my ConText documents to an actual
font file on my disk. For example, I have tried:

\definebodyfont[12pt][rm][
    tf="c:\fonts\ITC Stone Serif\SR______.AFM"
]

1. get rid of the funny names, so copy it to sr.afm (and also the pfb file)

2. put the files in your tex tree (texmf-fonts/fonts/afm/... and /type1/...) and run luatools --generate

3. then try:

\definedfont[sr at 12pt] test

and see if you get the font

if that works, then take a look at the type-otf files to see how to define typescripts

most of the font manuals can be skipped when using luatex/mkiv

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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 via email to