ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* postscript problem
@ 2007-01-19 13:51 Peter Rolf
  2007-01-19 14:00 ` Taco Hoekwater
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Rolf @ 2007-01-19 13:51 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

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 #2: test-mpgraph.1 --]
[-- Type: application/postscript, Size: 888 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-03 11:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-19 13:51 postscript problem Peter Rolf
2007-01-19 14:00 ` Taco Hoekwater
2007-01-19 14:56   ` Peter Rolf
2007-01-19 15:38     ` Taco Hoekwater
2007-02-02 16:00       ` Peter Rolf
2007-02-02 16:24         ` Mojca Miklavec
2007-02-03 10:23         ` Taco Hoekwater
2007-02-03 11:50           ` Peter Rolf

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).