* problem with MPpath (concat)
@ 2005-07-21 9:37 Peter Rolf
2005-07-21 9:59 ` Taco Hoekwater
0 siblings, 1 reply; 9+ messages in thread
From: Peter Rolf @ 2005-07-21 9:37 UTC (permalink / raw)
Hello all,
the following mp-snippet
...
gsave newpath 4.5 21.1875 moveto
3.7973 20.87306 3.16096 20.42763 2.625 19.875 curveto
1.91222 19.14006 1.3963 18.23721 1.125 17.25 curveto
[0.99834 0.5764 -0.05766 0.09985 0 0] concat stroke grestore
^^^^^^^^
0.123 0.018 0.007 setrgbcolor
...
leads to
...
Transcript written on window-mpgraph.log.
[MP to PDF] (./window-mpgraph.1
! Missing number, treated as zero.
<to be read again>
[
\@@MP41 ->[
0.99834
\presetMPconcat ->\dimen 0=\gMPs 1
\onepoint \dimen 2=\gMPs 2\onepoint
\dimen...
\handleMPpathconcat ->\presetMPconcat
\PDFcode {\gMPs 1 \gMPs 2 \gMPs 3
\gMP...
\dohandleMPpathB ...catMPpath \handleMPpathconcat
\else \ifx \somestring
\PS...
l.148 ...9834 0.5764 -0.05766 0.09985 0 0] concat
stroke grestore
?
pdfeTeX, Version 3.141592-1.30.0-rc3-2.2 (Web2C 7.5.5)
ConTeXt ver: 2005.07.20 fmt: 2005.7.20
MetaPost, Version 0.901 (Web2C 7.5.3)
I hope this information is enough (else I'm really in trouble to
generate a minimal example).
Greetings,
Peter
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 9:37 problem with MPpath (concat) Peter Rolf
@ 2005-07-21 9:59 ` Taco Hoekwater
2005-07-21 10:20 ` Taco Hoekwater
2005-07-21 10:28 ` Peter Rolf
0 siblings, 2 replies; 9+ messages in thread
From: Taco Hoekwater @ 2005-07-21 9:59 UTC (permalink / raw)
Here is a minimal example:
beginfig(1);
pickup pencircle rotated 1;
draw unitsquare;
endfig;
end.
Peter Rolf wrote:
>
> I hope this information is enough (else I'm really in trouble to
> generate a minimal example).
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 9:59 ` Taco Hoekwater
@ 2005-07-21 10:20 ` Taco Hoekwater
2005-07-21 11:22 ` Peter Rolf
2005-07-21 12:08 ` problem with MPpath (concat) Hans Hagen
2005-07-21 10:28 ` Peter Rolf
1 sibling, 2 replies; 9+ messages in thread
From: Taco Hoekwater @ 2005-07-21 10:20 UTC (permalink / raw)
And this is a working patch:
(change in supp-pdf.tex)
\def\presetMPconcat
{\ignoreMPspecials
\dimen 0=\gMPs1\onepoint % s_x
\dimen 2=\gMPs2\onepoint % r_x
\dimen 4=\gMPs3\onepoint % r_y
\dimen 6=\gMPs4\onepoint % s_y
\dimen 8=\gMPs5\onepoint % t_x
\dimen10=\gMPs6\onepoint % t_y
\keepMPspecials }
Taco Hoekwater wrote:
>
> Here is a minimal example:
>
> beginfig(1);
> pickup pencircle rotated 1;
> draw unitsquare;
> endfig;
> end.
>
>
> Peter Rolf wrote:
>
>>
>> I hope this information is enough (else I'm really in trouble to
>> generate a minimal example).
>>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 10:20 ` Taco Hoekwater
@ 2005-07-21 11:22 ` Peter Rolf
2005-07-21 12:04 ` Taco Hoekwater
2005-07-21 12:12 ` Hans Hagen
2005-07-21 12:08 ` problem with MPpath (concat) Hans Hagen
1 sibling, 2 replies; 9+ messages in thread
From: Peter Rolf @ 2005-07-21 11:22 UTC (permalink / raw)
Taco Hoekwater wrote:
>
> And this is a working patch:
>
> (change in supp-pdf.tex)
>
>
> \def\presetMPconcat
> {\ignoreMPspecials
> \dimen 0=\gMPs1\onepoint % s_x
> \dimen 2=\gMPs2\onepoint % r_x
> \dimen 4=\gMPs3\onepoint % r_y
> \dimen 6=\gMPs4\onepoint % s_y
> \dimen 8=\gMPs5\onepoint % t_x
> \dimen10=\gMPs6\onepoint % t_y
> \keepMPspecials }
>
Many thanks again. Texexec runs now without any warnings/errors, but the
resulting pdf is corrupt ("Error while parsing a Form, Type 3 font, or a
Pattern.").
Greetings,
Peter
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 11:22 ` Peter Rolf
@ 2005-07-21 12:04 ` Taco Hoekwater
2005-07-21 12:12 ` Hans Hagen
1 sibling, 0 replies; 9+ messages in thread
From: Taco Hoekwater @ 2005-07-21 12:04 UTC (permalink / raw)
Peter Rolf wrote:
>
> Many thanks again. Texexec runs now without any warnings/errors, but the
> resulting pdf is corrupt ("Error while parsing a Form, Type 3 font, or a
> Pattern.").
I cannot reproduce that. It looks like you need to provide a minimal
example after all. :-(
Taco
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 11:22 ` Peter Rolf
2005-07-21 12:04 ` Taco Hoekwater
@ 2005-07-21 12:12 ` Hans Hagen
2005-07-21 12:32 ` problem with MPpath (concat) [final] Peter Rolf
1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2005-07-21 12:12 UTC (permalink / raw)
Peter Rolf wrote:
>Taco Hoekwater wrote:
>
>
>>And this is a working patch:
>>
>>(change in supp-pdf.tex)
>>
>>
>>\def\presetMPconcat
>> {\ignoreMPspecials
>> \dimen 0=\gMPs1\onepoint % s_x
>> \dimen 2=\gMPs2\onepoint % r_x
>> \dimen 4=\gMPs3\onepoint % r_y
>> \dimen 6=\gMPs4\onepoint % s_y
>> \dimen 8=\gMPs5\onepoint % t_x
>> \dimen10=\gMPs6\onepoint % t_y
>> \keepMPspecials }
>>
>>
>>
>
>Many thanks again. Texexec runs now without any warnings/errors, but the
>resulting pdf is corrupt ("Error while parsing a Form, Type 3 font, or a
>Pattern.").
>
>
i uploaded a fix
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat) [final]
2005-07-21 12:12 ` Hans Hagen
@ 2005-07-21 12:32 ` Peter Rolf
0 siblings, 0 replies; 9+ messages in thread
From: Peter Rolf @ 2005-07-21 12:32 UTC (permalink / raw)
Hans Hagen wrote:
> Peter Rolf wrote:
>
>> Taco Hoekwater wrote:
>>
>>
>>> And this is a working patch:
>>>
>>> (change in supp-pdf.tex)
>>>
>>>
>>> \def\presetMPconcat
>>> {\ignoreMPspecials
>>> \dimen 0=\gMPs1\onepoint % s_x
>>> \dimen 2=\gMPs2\onepoint % r_x
>>> \dimen 4=\gMPs3\onepoint % r_y
>>> \dimen 6=\gMPs4\onepoint % s_y
>>> \dimen 8=\gMPs5\onepoint % t_x
>>> \dimen10=\gMPs6\onepoint % t_y
>>> \keepMPspecials }
>>>
>>>
>>
>>
>> Many thanks again. Texexec runs now without any warnings/errors, but the
>> resulting pdf is corrupt ("Error while parsing a Form, Type 3 font, or a
>> Pattern.").
>>
>>
> i uploaded a fix
>
All working fine now. Many thanks to Taco and Hans for the fast fixing.
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 10:20 ` Taco Hoekwater
2005-07-21 11:22 ` Peter Rolf
@ 2005-07-21 12:08 ` Hans Hagen
1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2005-07-21 12:08 UTC (permalink / raw)
Taco Hoekwater wrote:
>
> And this is a working patch:
>
> (change in supp-pdf.tex)
>
>
> \def\presetMPconcat
> {\ignoreMPspecials
> \dimen 0=\gMPs1\onepoint % s_x
> \dimen 2=\gMPs2\onepoint % r_x
> \dimen 4=\gMPs3\onepoint % r_y
> \dimen 6=\gMPs4\onepoint % s_y
> \dimen 8=\gMPs5\onepoint % t_x
> \dimen10=\gMPs6\onepoint % t_y
> \keepMPspecials }
oeps, serious bug (introduced when trying to make the converter honor { } [ ] in text for older metaposts); i'll post a fixed version asap
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: problem with MPpath (concat)
2005-07-21 9:59 ` Taco Hoekwater
2005-07-21 10:20 ` Taco Hoekwater
@ 2005-07-21 10:28 ` Peter Rolf
1 sibling, 0 replies; 9+ messages in thread
From: Peter Rolf @ 2005-07-21 10:28 UTC (permalink / raw)
Taco Hoekwater wrote:
>
> Here is a minimal example:
>
> beginfig(1);
> pickup pencircle rotated 1;
> draw unitsquare;
> endfig;
> end.
>
Thanks, Taco! :)
>
> Peter Rolf wrote:
>
>>
>> I hope this information is enough (else I'm really in trouble to
>> generate a minimal example).
>>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-07-21 12:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-21 9:37 problem with MPpath (concat) Peter Rolf
2005-07-21 9:59 ` Taco Hoekwater
2005-07-21 10:20 ` Taco Hoekwater
2005-07-21 11:22 ` Peter Rolf
2005-07-21 12:04 ` Taco Hoekwater
2005-07-21 12:12 ` Hans Hagen
2005-07-21 12:32 ` problem with MPpath (concat) [final] Peter Rolf
2005-07-21 12:08 ` problem with MPpath (concat) Hans Hagen
2005-07-21 10:28 ` 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).