ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
Subject: postscript problem
Date: Fri, 19 Jan 2007 14:51:59 +0100	[thread overview]
Message-ID: <45B0CCFF.3000101@gmx.net> (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

             reply	other threads:[~2007-01-19 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19 13:51 Peter Rolf [this message]
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

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=45B0CCFF.3000101@gmx.net \
    --to=indiego@gmx.net \
    --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).