[texhax] Quick question

Walt Burkhard burkhard at cs.ucsd.edu
Fri Sep 12 21:52:06 CEST 2014


Hello

I have been successfully using the epsf system for years.


However, now when I try a 3 line tex program  to display an eps file
(centered), the display is nowhere near centered on the page.


here is the tex program ---

     \input epsf

     \centerline{\epsfxsize6in\epsfbox{demo.1}}

     \bye


and here is the demo mpost program ---

    beginfig(1) ;

    draw (-3in,0) -- (3in,0) -- (3in,3in) --               (-3in,3in) --
cycle ;

    endfig ;

    end


When I create demo.1 the bounding box seems to be okay.
 %%HiResBoundingBox: -216.25 -0.25 216.25 216.25



Here is the beginning of the PDF file created by

dvipdfm ---

%PDF-1.5

%äðíø

4 0 obj

<</Type/XObject/Subtype/Form/FormType 1/BBox[-217 -1 217 217]/Matrix[1 0 0
1 217

1]/Resources 5 0 R/Filter/FlateDecode/Length 58>>

stream


What has changed or what have I missed.   This used to work.


Many thanks in advance.


Walt Burkhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20140912/dbbb3da3/attachment.html>


More information about the texhax mailing list