This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BoundingBox of graphic? (JadeTeX)


The units are points: 72 per inch is the conversion factor.

>> From: Peter Elliott <axit@paradise.net.nz>
>> Subject: Re: DOCBOOK: BoundingBox of graphic? (JadeTeX)
>> 
>> At 00:05 3/11/99 +0000, Peter Flynn <pflynn@imbolc.ucc.ie> you wrote:
>> >> 
>> >You can fix it by hand. 
>> >
>> >1. Print the EPS file.
>> >   If it doesn't print, you may need to manually eject the page
>> >   by pressing FF on your printer control panel. 
>> >
>> >2. Draw a rectangle round the image so that the four lines fall just
>> >   outside the image.
>> >
>> >3. Using the bottom LH corner of the page as a reference point (0,0)
>> >   measure the (x,y) coordinates of the lower LH corner (x1,y1) of 
>> >   the rectangle and the upper RH corner (x2,y2).
>> >
>> >4. Edit the EPS file and add the line
>> >
>> >   %%BoundingBox: 26 49 596 842
>> >
>> >   (replacing the four values with x1 y1 x2 y2
>> >
>> >5. Save and exit. Now the file has an approximate BoundingBox.
>> >
>> >Try to process it with your LaTeX document. If the printing is not
>> >quite what you wanted you can adjust the BoundingBox by hand (but
>> >it's usually better to get LaTeX to move and rescale it).
>> >
>> >///Peter
>> 
>> OK 
>> Got that - but just one Question - what units are we using here when doing our measuring? Assumed it's mm (millimeters) but thought i'd better check ...
>> Cheers
>> pre
>> 
     o
    ---  ----
     |  / /         Lance F. Larsen
     | / /
     |/ /           llarsen@sco.com
  o  | /   o
     |/             (908)790-2335
     |
    ---
     o


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]