ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean Magnan de Bornier <jm.bornier@free.fr>
To: ntg-context@ntg.nl
Subject: metapost-pdf problem
Date: Mon, 31 Aug 2009 07:37:59 +0200	[thread overview]
Message-ID: <87ocpwczm0.fsf@boldair.bornier.net> (raw)

Hi all,

I have had trouble with metapost lately; mptopdf seems broken. Here are
two small test files:

rent.mp:
........................
input metafun;
numeric u; u=15mm;


beginfig(1);
  drawarrow (0,0)..(8u,0);
draw (3u,-.2u)..(3u,.5u);
label.bot(btex 0 etex, (3.2u,0));
  endfig;

end

.......................

rent.tex:

.......................
\starttext
 
\externalfigure[/home/jean/graph/rent.1]

\stoptext
.......................

I run metapost on the first file and (nearly) everything seems all right;
rent.1 is created and I can visualize it.

ThenI run in order mkiv, mkii, texexec --dvi, and mptopdf:

** mkiv output:
ERROR: Leaders not followed by proper glue.

--- TeX said ---
<to be read again> 
                   \normalhskip 
\forcecolorhack ->\leaders \hrule \normalhskip 
                                               \zeropoint 
\dohandleobject ...hss }\fi \fi }}\forcecolorhack 
                                                  \box \scratchbox \endgroup 
l.3 ...ox{\getobject{FIG}{/home/jean/graph/rent.1}
                                                  }
--- HELP ---
No help available



** mkii output:

name: dummy
file: rent
state: unknown

** texexec --dvi output:

OK


** 07:23 jean@boldair /home/jean/graph % mptopdf rent      

MPtoPDF 1.3.3 : no filename matches rent


My context system from minimals is updated from tomorrow night (mptopdf
was slightly different but failed anyway before thet update)


Sorry if the question was already discussed here!

--
jean 







































-- 
Jean
___________________________________________________________________________________
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	other threads:[~2009-08-31  5:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31  5:37 Jean Magnan de Bornier [this message]
2009-09-01  9:41 ` Peter Rolf
2009-09-01 15:23   ` Jean Magnan de Bornier
2009-09-01 15:33     ` Peter Rolf
2009-09-01 16:12       ` Jean Magnan de Bornier
2009-09-01 17:32         ` Jean Magnan de Bornier
2009-09-01 18:22           ` Peter Rolf
2009-09-01 19:13             ` Jean Magnan de Bornier
2009-09-09 12:01 ` Hans Hagen

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=87ocpwczm0.fsf@boldair.bornier.net \
    --to=jm.bornier@free.fr \
    --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).