[Insight-users] Re: [Insight-developers] Insight Journal Latex Style

Luis Ibanez luis.ibanez at kitware.com
Fri Feb 24 12:04:43 EST 2006


Hi Jim,

I don't see any reason for not endorsing "pdflatex" as the preferred
tool for generating PDF files for the Insight Journal.

As fas as I know, pdflatex can be found in most Linux distributions
as well as Cygwin.

I commented out from the InsightJournal.sty the lines for invoking
the ImageMagik 'convert' tool. Those who prefer to use latex directly
can restore these lines and in this way recover the previous behavior.

If somebody knows a way of checking whether the style is being invoked
from "latex" or from "pdflatex" please let us know, so we can find a
way of making the enabling/disabling of these lines to be automatic.




     Thanks for pointing this out.



         Luis




----------------------
Gaetan Lehmann wrote:
> Hi all,
> 
> I'm using tex -> dvi -> ps -> pdf without much problem. It just require to 
> have a Makefile to do that. Here is mine: 
> http://voxel.jouy.inra.fr/darcs/contrib-itk/template/article/Makefile
> 
> That said, I agree that the IJ template should allow to use pdflatex :-)
> 
> Gaetan
> 
> On Wednesday 22 February 2006 19:06, Joshua Cates wrote:
> 
>>Hi Jim, all,
>>
>>I agree that pdflatex is a more convenient way to go.  It would be nice to
>>keep the .sty file as accommodating as possible.
>>
>>Josh.
>>
>>Miller, James V (GE, Research) wrote:
>>
>>>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/
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Insight-developers mailing list
>>>Insight-developers at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-developers
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk.org
>>http://www.itk.org/mailman/listinfo/insight-developers
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk.org
>>http://www.itk.org/mailman/listinfo/insight-developers



More information about the Insight-users mailing list