[metapost] btex..etex debugging

Hans Hagen pragma at wxs.nl
Wed Mar 13 11:20:17 CET 2013


On 3/13/2013 6:43 AM, Stefan Witzel wrote:
> Hi,
>
> ok, this is good to know, though bbox is such a suggestive name. But
> maybe I should explain my problem. Actually no bounding box is
> supposed to be there in the end. I just noticed that my labels are all
> over the place when using this new document class and tried to figure
> out why. As you can see in the attached image (with bbox and the
> actual bounding box) something goes wrong in determining the
> dimensions of the typeset text. But when I compile the debugging tex
> file (I added a vrule to see the left boundary) I get the rather
> reasonable looking pdf file attached.
> I also attached the metapost source. The document class is available
> at http://www.msp.warwick.ac.uk/agt/macros/gtpart.cls. I am grateful
> for suggestions about what might cause this problem.

I cannot repeat that example as I run no latex+pdftex/dvips/gs workflow 
here) but a luatex based one, but I can imagine that it's just the low 
res bounding box that is the cause:

%%BoundingBox: 282 694 330 721

best set the prologues variable to a higher number

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the metapost mailing list