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
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
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
participants (3)
-
Hans Hagen
-
Peter Rolf
-
Taco Hoekwater