Ulrike Fischer wrote:
Am Tue, 07 Apr 2009 12:09:04 +0200 schrieb Hans Hagen:

Loading luatex-fonts.lua inside a LaTeX document seems to work, but
it looks as if it is not yet possible to add it to the format. I get
errors when documentclasses call \normalsize.
just load it runtime then, prepend it to everyjob or so is also an option;

I had prepend it to everyjob. After some more testing I would say
that the code disturbs the normal font loading of LaTeX (and perhaps
also of plain, I haven't tried yet). There is no problem to use
tfm's which have be loaded before the lua code is executed but each
call for a new font in the document (even something like
\font\testf=ptmr8t \testf abc) later gives an error like this:

! LuaTeX error
..../PrivateDaten/cont-tmf/tex/context/base/font-def.lua:337: att
empt to call field 'read_from_afm' (a nil value).
<to be read again> relax l.100 \fontencoding\encodingdefault\selectfont ? ! Font \T1/cmr/m/n/10=ecrm1000 at 10pt not loadable: metric data not
found or bad.

hm, looks like i need to disable afm

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 : 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 via email to