[NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)
Hans Hagen
pragma at wxs.nl
Tue Sep 26 21:44:05 CEST 2006
Sanjoy Mahajan wrote:
> I'm using the 2006.09.26 beta, and noticed an extra gap before some
> external metapost figures. Here is a small test:
>
> ============================ test.mp =================
> beginfig(1)
> draw fullcircle scaled (0.75in) xscaled 1.5;
> endfig;
> end
> ======================================================
>
> With this test file, there is a whitespace of about 1cm between the
> first hairline and the ellipse:
> =================== test.tex (has 1cm gap) ===========
> \starttext
> \hrule
> \placefigure[force,none]{}{\externalfigure[test.1]}
> \hrule
> \stoptext
> ======================================================
>
> If I convert test.1 to test-1.pdf and include that, all is fine:
> =================== test.tex (works) =================
> \starttext
> \hrule
> \placefigure[force,none]{}{\externalfigure[test-1.pdf]}
> \hrule
> \stoptext
> ======================================================
>
> If test.mp draws a square or rectangle instead of an ellipse, then
> there's no difference (both versions of test.tex work).
>
that's indeed weird, any hypothesis to start from?
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list