[Mac OS X TeX] Figure sizing in TeXShop

Ross Moore ross at ics.mq.edu.au
Tue Jan 29 03:51:29 CET 2002




Hello Paul,

> I have a basic question (is there a FAQ for this list somewhere?) about 
> importing figures from Illustrator.  After generating the figures and

Very timely...

> saving them as pdf when I include them in a LaTeX document the borders 
> are set for what appears to be the page size.  I use to fix this in 

This happens upon "Save as PDF" from Illustrator 9 and 10.

> Illustrator 9 by redefining the page size to the size of the figure (or 
> slightly larger) and this worked fine.  In Illustrator X (the Japanese 
> version just came out a couple of weeks ago) this fix no longer seems to 
> work.  How can I get the figures to include correctly in TeXShop (LaTeX) 
> without inappropriate white space? 

2 ways, that I know of:

 1.  convert the .eps to PDF using some other program; e.g.

   Acrobat Distiller  -- this gets it "right"
or
   Ghostscript (e.g. via ps2pdf, epstopdf, or other script)
  

 2. open the bad PDF with Acrobat (not Acrobat Reader)
    go to the  Document:Crop Pages..  menu option
    check  "Remove White Margins"
    then click "OK"
    now save the modified PDF, it will have the correct size.
(Thanks to Hans Hagen for this tip.)


Doubtless there are other methods as well.

It may even be possible to hand-edit the /MediaBox
in the PDF to match the  %%BoundingBox of the .eps
 **provided** you keep the total number of characters the same.
 --- I don't recommend trying this. :-)


> ...   By the way -- whose bug is this - 
> Adobe or pdftex?

It is Adobe's bug.
(We told them about it 2 weeks ago, along with several other bugs.)

The following is a prototype for a site being setup for recording bugs
in Adobe software that affect TeX users:

   http://www.cds.caltech.edu/~ross/Adobe/AdobeBugs/

Contributions are sought.


Hope this helps,

	Ross Moore

 
> 
> 							Paul Fons
> 
> 
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------




More information about the macostex-archives mailing list