[metapost] btex..etex debugging

Pétiard François petiard.francois at free.fr
Wed Mar 13 22:59:20 CET 2013


Le 13/03/2013 06:43, Stefan Witzel a écrit :
> 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.

I suppose that, in your true metapost source, there is :
\documentclass [microtype]{gtpart}

and not

\documentclass [microtype]{article}

I've downloaded your gtpart.cls and reproduced your problem.

If you comment the line 372 of gtpart.cls (\hoffset -4mm), the problem 
disappears.

François



More information about the metapost mailing list