* 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
* Re: postscript problem
2007-01-19 13:51 postscript problem Peter Rolf
@ 2007-01-19 14:00 ` Taco Hoekwater
2007-01-19 14:56 ` Peter Rolf
0 siblings, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2007-01-19 14:00 UTC (permalink / raw)
Peter Rolf wrote:
> 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.
looks like a problem in the metapost beta (context depends on metapost
not generating empty lines).
Taco
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: postscript problem
2007-01-19 14:00 ` Taco Hoekwater
@ 2007-01-19 14:56 ` Peter Rolf
2007-01-19 15:38 ` Taco Hoekwater
0 siblings, 1 reply; 8+ messages in thread
From: Peter Rolf @ 2007-01-19 14:56 UTC (permalink / raw)
Taco Hoekwater wrote:
>
> Peter Rolf wrote:
>> 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.
>
> looks like a problem in the metapost beta (context depends on metapost
> not generating empty lines).
>
Thanks for the info. I have "wasted" five hours on this, but I couldn't
find the place, where the line is inserted.
> Taco
> _______________________________________________
> 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
* Re: postscript problem
2007-01-19 14:56 ` Peter Rolf
@ 2007-01-19 15:38 ` Taco Hoekwater
2007-02-02 16:00 ` Peter Rolf
0 siblings, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2007-01-19 15:38 UTC (permalink / raw)
Peter Rolf wrote:
> Taco Hoekwater wrote:
>> Peter Rolf wrote:
>>> 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.
>> looks like a problem in the metapost beta (context depends on metapost
>> not generating empty lines).
>>
> Thanks for the info. I have "wasted" five hours on this, but I couldn't
> find the place, where the line is inserted.
I'll look this up in the weekend.
Taco
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: postscript problem
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
0 siblings, 2 replies; 8+ messages in thread
From: Peter Rolf @ 2007-02-02 16:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
>
> Peter Rolf wrote:
>> Taco Hoekwater wrote:
>>> Peter Rolf wrote:
>>>> 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.
>>> looks like a problem in the metapost beta (context depends on metapost
>>> not generating empty lines).
>>>
>> Thanks for the info. I have "wasted" five hours on this, but I couldn't
>> find the place, where the line is inserted.
>
> I'll look this up in the weekend.
>
Hi Taco. Any news about it?
Peter
> Taco
> _______________________________________________
> 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
* Re: postscript problem
2007-02-02 16:00 ` Peter Rolf
@ 2007-02-02 16:24 ` Mojca Miklavec
2007-02-03 10:23 ` Taco Hoekwater
1 sibling, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2007-02-02 16:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 2/2/07, Peter Rolf wrote:
> Taco Hoekwater wrote:
> >
> > Peter Rolf wrote:
> >> Taco Hoekwater wrote:
> >>> Peter Rolf wrote:
> >>>> 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.
> >>> looks like a problem in the metapost beta (context depends on metapost
> >>> not generating empty lines).
> >>>
> >> Thanks for the info. I have "wasted" five hours on this, but I couldn't
> >> find the place, where the line is inserted.
> >
> > I'll look this up in the weekend.
> >
> Hi Taco. Any news about it?
Although it probably isn't the answer you were looking for:
yes, there are news, the metapost & pdfTeX versions in the garden are updated ;)
Mojca
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: postscript problem
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
1 sibling, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2007-02-03 10:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Peter Rolf wrote:
>>>>looks like a problem in the metapost beta (context depends on metapost
>>>>not generating empty lines).
>>>>
>>>
>>>Thanks for the info. I have "wasted" five hours on this, but I couldn't
>>>find the place, where the line is inserted.
>>
>>I'll look this up in the weekend.
>>
>
> Hi Taco. Any news about it?
Found it. There will be a new metapost beta somewhere in the coming
week, with the fix added.
In case anyone is interested right now, the diff is:
Index: src/texk/web2c/psout.ch
===================================================================
--- src/texk/web2c/psout.ch (revision 128)
+++ src/texk/web2c/psout.ch (working copy)
@@ -494,7 +494,7 @@
@x
begin print_nl("gsave ");
@y
- begin print_ln; print_cmd("gsave ","q ");
+ begin print_nl(""); print_cmd("gsave ","q ");
@z
@x
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: postscript problem
2007-02-03 10:23 ` Taco Hoekwater
@ 2007-02-03 11:50 ` Peter Rolf
0 siblings, 0 replies; 8+ messages in thread
From: Peter Rolf @ 2007-02-03 11:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
> Peter Rolf wrote:
>
>>>>> looks like a problem in the metapost beta (context depends on metapost
>>>>> not generating empty lines).
>>>>>
>>>> Thanks for the info. I have "wasted" five hours on this, but I couldn't
>>>> find the place, where the line is inserted.
>>> I'll look this up in the weekend.
>>>
>> Hi Taco. Any news about it?
>
> Found it. There will be a new metapost beta somewhere in the coming
> week, with the fix added.
>
Many thanks from my side. I can't wait to test the new beta. :)
Best, Peter
> In case anyone is interested right now, the diff is:
>
>
> Index: src/texk/web2c/psout.ch
> ===================================================================
> --- src/texk/web2c/psout.ch (revision 128)
> +++ src/texk/web2c/psout.ch (working copy)
> @@ -494,7 +494,7 @@
> @x
> begin print_nl("gsave ");
> @y
> - begin print_ln; print_cmd("gsave ","q ");
> + begin print_nl(""); print_cmd("gsave ","q ");
> @z
>
> @x
>
> _______________________________________________
> 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).