ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: metafun not working
Date: Tue, 28 Jun 2005 10:35:39 +0200	[thread overview]
Message-ID: <42C10BDB.2000303@elvenkind.com> (raw)
In-Reply-To: <20050628081738.68873.qmail@web50002.mail.yahoo.com>


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@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-06-28  8:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28  8:17 piskala upendran
2005-06-28  8:35 ` Taco Hoekwater [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-04  4:34 piskala upendran
2005-06-30  6:44 piskala upendran
2005-06-29 16:00 piskala upendran
2005-06-29 16:52 ` Wolfgang Zillig
2005-06-28 20:42 piskala upendran
2005-06-28 21:01 ` Taco Hoekwater
2005-06-29  7:18   ` luigi.scarso
2005-06-29  7:34     ` Taco Hoekwater
2005-06-29  8:15       ` luigi.scarso
2005-06-29  9:04         ` Wolfgang Zillig
2005-06-29  9:21           ` luigi.scarso
2005-06-29 10:43             ` Mojca Miklavec
2005-06-29 10:56               ` Hans Hagen
2005-06-29 11:55                 ` luigi.scarso
2005-06-29 12:47                   ` Mojca Miklavec
2005-06-29  7:59     ` Hans Hagen
2005-06-29  8:57       ` luigi.scarso
2005-07-07 12:38     ` Mojca Miklavec
2005-07-07 15:44       ` Hans Hagen
2005-06-28 16:18 piskala upendran
2005-06-28  8:19 piskala upendran
2005-06-28  8:17 piskala upendran
2005-06-28  9:31 ` Nikolai Weibull
2005-06-27 11:00 [Fwd: metafun not working] Hans Hagen
2005-06-27 14:08 ` Taco Hoekwater
2005-06-28 19:49   ` Mojca Miklavec
2005-06-28 20:52     ` Hans Hagen
     [not found]       ` <6faad9f00506281432696c63f0@mail.gmail.com>
2005-06-28 21:37         ` metafun not working Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42C10BDB.2000303@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).