[metapost] btex..etex debugging
Stefan Witzel
s.witzel at uni-muenster.de
Thu Mar 14 09:22:29 CET 2013
Oops, not really, I had just used the "article" class temporarily.
mps2eps actually uses the right fonts.
Concerning your suggestions: prologues:=3 does not make any difference.
As for an example file: you can use the gtptest.mp file attached,
which is the previous one except that I put the document class back to
gtpart. As mentioned before, you will need the gtpart.cls which is
available online [1]. When I do
mpost gtptest.mp
mps2eps gtptest.mps
I get the eps I sent before. My Metapost version is 1.211.
Best,
Stefan
[1] http://www.msp.warwick.ac.uk/agt/macros/gtpart.cls
2013/3/14 Stefan Witzel <s.witzel at uni-muenster.de>:
> Hi all,
>
> I think it is not a metapost issue after all. I used the mps2eps
> script and thought it was aware of the document style. But judging
> from how simple it is it probably fills all boxes with just the
> standard computer modern font. So I think the problem was that
> metapost produced a box for some font and then it was filled using
> another. When I include the file into an actual document it looks
> right. Sorry, for the confusion and thanks for all the help!
>
> Best wishes,
> Stefan
>
> 2013/3/13 Hans Hagen <pragma at wxs.nl>:
>> 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
>> -----------------------------------------------------------------
>
>
>
> --
> Dr. Stefan Witzel
> Mathematisches Institut der Universität Münster
> Einsteinstraße 62
> 48149 Münster
> http://wwwmath.uni-muenster.de/u/stefan.witzel
--
Dr. Stefan Witzel
Mathematisches Institut der Universität Münster
Einsteinstraße 62
48149 Münster
http://wwwmath.uni-muenster.de/u/stefan.witzel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtptest.mp
Type: application/octet-stream
Size: 403 bytes
Desc: not available
URL: <http://tug.org/pipermail/metapost/attachments/20130314/70f284ed/attachment.obj>
More information about the metapost
mailing list