Hi,

I have a problem with the postscript output of a MP graphic. The
(attached) ps file contains a single blank line, which breaks the
conversion by mptopdf.

[..]
[MP to PDF] (./test-mpgraph.1
Runaway argument?
! Paragraph ended before \handleMPsequence was complete.
<to be read again>
                   \par
l.19

?

The file is converted by mptopdf, if I remove that blank line.
Here is a minimal example.


\setupoutput[pdftex]

\setuppagenumber[state=stop]

\startreusableMPgraphic{foo}
  draw unitsquare xyscaled(4cm,4cm)
  withpen pencircle scaled 1pt
  shifted(1cm,1cm)
   ;
\stopreusableMPgraphic

\starttext
\null
\useMPgraphic{foo}

\stoptext


I've tested it on context live, but the versions of pdftex and metapost
are too old (but work without errors) for any comparison.
Used versions: pdftex 1.40.1, metapost 0.933, context 18.01.2007

Any hints welcome.

Peter

Attachment: test-mpgraph.1
Description: PostScript document

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to