[Insight-developers] Insight Journal Latex Style

Miller, James V (GE, Research) millerjv at crd.ge.com
Wed Feb 22 09:38:54 EST 2006


My latex is pretty rusty but I have some questions/suggestions on the Insight Journal latex style.

Lately, I have been using pdflatex which "appears" to be the preferred mechanism for generating pdfs from latex documents and getting the table of contents and hyperlinks managed.  

I have been using the graphicx package with pdflatex which "natively" supports including images in pdf, png, etc. formats (but not eps). Since most the images I produce are in png or jpeg format, I can include my images directly into pdflatex without using an external conversion tool.

The InsightJournal.sty file has a entries at the bottom of the file 

\DeclareGraphicsExtensions{.eps,.jpg,.gif,.tiff,.bmp,.png}
\DeclareGraphicsRule{.jpg}{eps}{.jpg.bb}{`convert #1 eps:-}
\DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 eps:-}
\DeclareGraphicsRule{.tiff}{eps}{.tiff.bb}{`convert #1 eps:-}
\DeclareGraphicsRule{.bmp}{eps}{.bmp.bb}{`convert #1 eps:-}
\DeclareGraphicsRule{.png}{eps}{.png.bb}{`convert #1 eps:-}

which appear to try to perform an automated conversion of file types to eps.  Having these lines in the style actually prevents me some using the native capabilites to include png files, etc. So in my local copy, I commented out these lines. Of course, it took me some time to figure out why my images were not appearing.

Is there any reason not to endorse using pdflatex+graphicx over using graphics+convert?

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C223
1 Research Circle, Schenectady NY 12309-1027

millerjv at research.ge.com <mailto:millerjv at research.ge.com>
(518) 387-4005, Dial Comm: 8*833-4005
Cell: (518) 505-7065, Fax: (518) 387-6981


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20060222/0b65f8e0/attachment.html


More information about the Insight-developers mailing list