Hi Hans,

It can load cid fonts rightly now. But I found it can not generate
MetaPost figure.

For example,

%filename: test.tex

\setmplibformat{plain}
\mplibcode
    beginfig(1);
        draw fullcircle scaled 10cm withcolor red withpen pencircle;
    endfig;
\endmplibcode
\end

luatex output the log:

This is LuaTeX, Version beta-0.63.0-2010091123  (format=luatex-plain
2010.9.20)  20 SEP 2010 08:20
 \write18 enabled.
**test
(./test.tex 
(/opt/context/tex/texmf-context/tex/generic/context/luatex-basics.tex
\lastallocatedattribute=\count26
) (/opt/context/tex/texmf-context/tex/generic/context/luatex-fonts.tex
</opt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua>(using
cache: /opt/context/tex/texmf-cache/luatex-cache/generic)
!
! Attribute 0 is reserved for ConTeXt's font feature management and has to be
! set to zero. Also, some attributes in the range 1-255 are used for special
! purposed so setting them at the TeX end might break the font handler.
!

I am using the merged version of 'luatex-fonts.lua' here. If
you run into problems or experience unexpected behaviour, and
if you have ConTeXt installed you can try to delete the file
'luatex-font-merged.lua' as I might then use the possibly
updated libr
aries. The merged version is not supported as it
is a frozen instance.

     <luatex-fonts.lua loaded in 0.037 seconds>)
(/opt/context/tex/texmf-context/tex/generic/context/luatex-mplib.tex
\mplibscratchbox=\box16
)<mplib: using format plain.mem><mplib: mp error: This is MetaPost,
Version 1.502
 (plain.mp
>> $Id
! Isolated expression.
<to be read again>
                   :
l.1  $Id:
          plain.mp,v 1.3 2005/04/28 06:45:21 taco Exp $
! Extra tokens will be fl
ushed.
<to be read again>
                   :
l.1  $Id:
          plain.mp,v 1.3 2005/04/28 06:45:21 taco Exp $
>> base_name
>> "plain"
! Equation cannot be performed (numeric=string).
<to be read again>
                   ;
l.8 ...base_name, base_vers
ion; base_name="plain";
                                                   base_version="1.004";
>> base_version
>> "1.004"
! Equation cannot be performed (numeric=string).
<to be read again>
                   ;
l.8 ...n; base_name="plain"; base_version
="1.004";

>> "Preloading the plain mem file, version "
>> base_version
! Not implemented: (string)&(unknown numeric).
<to be read again>
                   ;
l.10 ...he plain mem file, version "&base_ver
sion;

>> base_version
! Not a string.
<to be read again>
                   ;
l.10 ...he plain mem file, version "&base_version;

)
! Attempt to close th
e bottom level file!.
l.576 defaultpen := savepen;



no-error> )
No pages of output.
PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

-- 
Best regards,

Li Yanrui (李延瑞)
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to