[NTG-context] metafun not working

Taco Hoekwater taco at elvenkind.com
Tue Jun 28 10:35:39 CEST 2005


Hi,

When this sort of thing happens, I usually run each step
manually to see what goes wrong. So, can you check if the

MP-mpgraph.mp file is ok? The last lines should be:

   verbatimtex \global \loadfontfileoncetrue  etex;
   graphictext "MP" scaled 8 outlinefill withdrawcolor .7blue
     withfillcolor .7white dashed evenly withpen pencircle scaled 2pt ;
   endfig;
   let end=mprunend;
   end.

(if this is wrong, there is a problem in the tex run)

MP-mpgraph.mpo file is ok? It should contain:

   % format=context
    \global \loadfontfileoncetrue

   \startTEXpage[scale=10000]MP\stopTEXpage

(if this is wrong, there is a problem in your initial
mpost run)

MP-mpgraph.mpy file is ok?  It should contain:

   % mpochecksum : 8298
   begingraphictextfig(1);
   linecap := butt;
   linejoin := mitered;
   fill (101.859,0)--(101.859,3.46875)--
   .....app. 15 lines snipped.......
	--cycle;
   fill (180.047,59.5352)..
   .....app. 10 lines snipped.......
	--cycle;
   endgraphictextfig;

(if this contains only the mpochecksum, you have to
  delete it so it is regenerated next time, otherwise
there is a problem in the makempy run)

MP-mpgraph.1 file is ok?  It should contain:

   %!PS-Adobe-3.0 EPSF-3.0
   %%BoundingBox: -1 -1 142 67
   %%HiResBoundingBox: -0.79619 -0.79619 141.033 66.52214
   %%Creator: MetaPost 0.901
   %%CreationDate: 2005.06.27:1605
   %%Pages: 1
   %%BeginProlog
   %%EndProlog
   %%Page: 1 1
   %%HiResBoundingBox: -0.79619 -0.79619 141.033 66.52214
    0.7 setgray 0 1.99252 dtransform truncate idtransform setlinewidth
    pop
    [] 0 setdash 0 setlinejoin 10 setmiterlimit
    newpath 77.48254 0.20007 moveto
    ......app. 35 lines ........
    closepath stroke
    0 0 0.7 setrgbcolor [3 3 ] 0 setdash 0 setlinecap
    newpath 77.48254 0.20007 moveto
    ......app. 160 lines ........
    closepath
    gsave fill grestore stroke
    showpage
    %%EOF

(if this is wrong, there is a problem in your secondary
mpost run)

(and if this is correct, there is a problem with the MPtoPDF
step)

Hope this helps, Taco

piskala upendran wrote:
> Hi all, 
> 
> I did install the new kpsewhich and texexec send by
> mr. Hans Hagen and installed pstoedit. 
> 
> updated the mem file and pdfetex.efmt using texexec
> --make --alone en metafun. still the problem exits
> except that the MakeMPY stopped complaining about
> pstoedit is not recogonise internal or external
> command. can you help me out. 
> 
> The mp graphics opened so error message as bonding box
> as  0 0 0 0. 
> 
> can any one help me the get the correct method?
> 
> 
> thanks all.
> 
> upendran
> 
> 
> %---------------attached log file-------------------
> 
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> H:\Documents and Settings\Upendran\Desktop>texexec MP
> 
>  TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005
> 
>  fixing texformat path :
> fixing engine variable : pdfetex
>             executable : pdfetex
>                 format : cont-en
>              inputfile : MP
>                 output : standard
>              interface : en
>           current mode : none
>                TeX run : 1
> 
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX
> 2.4)
> entering extended mode
> (MP.tex
> 
> ConTeXt  ver: 2005.05.30  fmt: 2005.6.28  int: english
>  mes: english
> 
> language        : language en is active
> <protectionstate 0>
> system          : cont-new loaded
> (f:\texmf\tex\context\base\cont-new.tex
> systems         : beware: some patches loaded from
> cont-new.tex
> color           : palette rollover is available
> )
> system          : cont-old loaded
> (f:\texmf\tex\context\base\cont-old.tex
> loading         : Context Old Macros
> )
> system          : cont-fil loaded
> (f:\texmf\tex\context\base\cont-fil.tex
> loading         : Context File Synonyms
> )
> system          : cont-sys.rme loaded
> (f:\texmf\tex\context\user\cont-sys.rme
> (f:\texmf\tex\context\base\./type-exa.tex)
> (f:\texmf\tex\context\base\./type-syn.tex)
> (f:\texmf\tex\context\base\./type-enc.tex)
> (f:\texmf\tex\context\base\./type-dis.tex)
> (f:\texmf\tex\context\base\./type-siz.tex)
> (f:\texmf\tex\context\base\./type-map.tex)
> (f:\texmf\tex\context\base\./type-spe.tex)
> (f:\texmf\tex\context\base\./type-akb.tex))
> bodyfont        : 12pt rm is loaded
> language        : patterns en->ec:ec->1->2:2
> uk->ec:ec->2->2:2 de->texnansi:tex
> nansi->3->2:2 de->ec:ec->4->2:2
> fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2
>  es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2
> pt->ec:ec->9->2:2 it->texnansi
> :texnansi->10->2:2 it->ec:ec->11->2:2
> nl->texnansi:texnansi->12->2:2 nl->ec:ec-
> 
>>13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2
> 
> sk->il2:il2->16->2:2 sk->ec:ec
> ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2
> loaded
> specials        : tex,postscript,rokicki loaded
> system          : MP.top loaded
> (./MP.top)
> specials        : loading definition file tpd
> (f:\texmf\tex\context\base\spec-tpd.tex
> specials        : loading definition file fdf
> (f:\texmf\tex\context\base\spec-fdf.tex)
> specials        : fdf loaded
> )
> specials        : fdf,tpd loaded
> fonts           : using map file: original-base
> fonts           : using map file: ec-public-lm
> fonts           : using map file: ec-base
> fonts           : using map file: original-ams-base
> fonts           : using map file: original-public-lm
> systems         : begin file MP at line 3
> systems         : randomizer starts with 952238433
> 
>  TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005
> 
>               metapost : MP-mpgraph
>                 format : metafun
> 
>  MakeMPY 1.1 - MetaFun / PRAGMA ADE 2000-2004
> 
>        processing file : MP-mpgraph.mpo
>             tex format : context
>        requested texts : 1
>             generating : pdf file
>             generating : metapost file
>        processed texts : 0
>          produced file : MP-mpgraph.mpy
>   second MP run needed : text graphics found
>               metapost : MP-mpgraph
>                 format : metafun
> 
>         total run time : 6 seconds
> [MP to PDF] (./MP-mpgraph.1)
> [1.1{original-empty.map}{original-base.map}{ec-pub
> lic-lm.map}{ec-base.map}{original-ams-base.map}{original-public-lm.map}]
> systems         : end file MP at line 9
> 
> ){ec-lm.enc}<f:\texmf\fonts\type1\public\lm\lmr12.pfb>
> Output written on MP.pdf (1 page, 5654 bytes).
> Transcript written on MP.log.
> 
>            return code : 0
>               run time : 10 seconds
>   sorting and checking : running texutil
> 
>  TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
> 
>                 action : processing commands, lists
> and registers
>                 option : sorting IJ under Y
>                 option : converting high ASCII values
>             input file : MP.tui
>            output file : MP.tuo
>        passed commands : 15
>          remapped keys : 0
>       register entries : 0 -> 0 entries 0 references
>        synonym entries : 0 -> 0 entries
>         embedded files : 1
> 
>  utility file analysis : another run needed
>                TeX run : 2
> 
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX
> 2.4)
> entering extended mode
> (MP.tex
> 
> ConTeXt  ver: 2005.05.30  fmt: 2005.6.28  int: english
>  mes: english
> 
> language        : language en is active
> <protectionstate 0>
> system          : cont-new loaded
> (f:\texmf\tex\context\base\cont-new.tex
> systems         : beware: some patches loaded from
> cont-new.tex
> color           : palette rollover is available
> )
> system          : cont-old loaded
> (f:\texmf\tex\context\base\cont-old.tex
> loading         : Context Old Macros
> )
> system          : cont-fil loaded
> (f:\texmf\tex\context\base\cont-fil.tex
> loading         : Context File Synonyms
> )
> system          : cont-sys.rme loaded
> (f:\texmf\tex\context\user\cont-sys.rme
> (f:\texmf\tex\context\base\./type-exa.tex)
> (f:\texmf\tex\context\base\./type-syn.tex)
> (f:\texmf\tex\context\base\./type-enc.tex)
> (f:\texmf\tex\context\base\./type-dis.tex)
> (f:\texmf\tex\context\base\./type-siz.tex)
> (f:\texmf\tex\context\base\./type-map.tex)
> (f:\texmf\tex\context\base\./type-spe.tex)
> (f:\texmf\tex\context\base\./type-akb.tex))
> bodyfont        : 12pt rm is loaded
> language        : patterns en->ec:ec->1->2:2
> uk->ec:ec->2->2:2 de->texnansi:tex
> nansi->3->2:2 de->ec:ec->4->2:2
> fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2
>  es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2
> pt->ec:ec->9->2:2 it->texnansi
> :texnansi->10->2:2 it->ec:ec->11->2:2
> nl->texnansi:texnansi->12->2:2 nl->ec:ec-
> 
>>13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2
> 
> sk->il2:il2->16->2:2 sk->ec:ec
> ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2
> loaded
> specials        : tex,postscript,rokicki loaded
> system          : MP.top loaded
> (./MP.top)
> specials        : loading definition file tpd
> (f:\texmf\tex\context\base\spec-tpd.tex
> specials        : loading definition file fdf
> (f:\texmf\tex\context\base\spec-fdf.tex)
> specials        : fdf loaded
> )
> specials        : fdf,tpd loaded
> (./MP.tuo) (./MP.tuo) (./MP.tuo) (./MP.tuo) (./MP.tuo)
> (./MP.tuo) (./MP.tuo)
> (./MP.tuo) (./MP.tuo) (./MP.tuo) (./MP.tuo) (./MP.tuo)
> (./MP.tuo)
> fonts           : using map file: original-base
> fonts           : using map file: ec-public-lm
> fonts           : using map file: ec-base
> fonts           : using map file: original-ams-base
> fonts           : using map file: original-public-lm
> systems         : begin file MP at line 3
> systems         : randomizer starts with 952238433
> 
>  TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005
> 
>               metapost : MP-mpgraph
>                 format : metafun
> 
>         total run time : 1 seconds
> [MP to PDF] (./MP-mpgraph.1)
> [1.1{original-empty.map}{original-base.map}{ec-pub
> lic-lm.map}{ec-base.map}{original-ams-base.map}{original-public-lm.map}]
> systems         : end file MP at line 9
> 
> ){ec-lm.enc}<f:\texmf\fonts\type1\public\lm\lmr12.pfb>
> Output written on MP.pdf (1 page, 5654 bytes).
> Transcript written on MP.log.
> 
>            return code : 0
>               run time : 3 seconds
>   sorting and checking : running texutil
> 
>  TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
> 
>                 action : processing commands, lists
> and registers
>                 option : sorting IJ under Y
>                 option : converting high ASCII values
>             input file : MP.tui
>            output file : MP.tuo
>        passed commands : 15
>          remapped keys : 0
>       register entries : 0 -> 0 entries 0 references
>        synonym entries : 0 -> 0 entries
>         embedded files : 1
> 
>         total run time : 14 seconds
> 
> 
> 
> 
> 
> 
> 		
> ____________________________________________________ 
> Yahoo! Sports 
> Rekindle the Rivalries. Sign up for Fantasy Football 
> http://football.fantasysports.yahoo.com
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



More information about the ntg-context mailing list