[Tugindia] tugindia Digest, Vol 58, Issue 4

Ashish Sharma asharma at tiet.ac.in
Thu Oct 18 06:17:47 CEST 2007

> Continuing with  what has been written so far, I would think that Latex
> does accept pdf figures directly.  i use xfig to create a figure, save it
> with a  .fig extn, and also export it as a figure with a .ps or .eps or a
> .pdf  extension, according to my requirement.  Then use
> \usepackage{graphicx}  in the preamble and use in the tex file where the
> figure is to appear

> \begin{figure}
> \includegraphics{figurename.pdf}
> \end{graphics}
The above code (with .pdf file) works only with pdflatex, not plain latex.

> and use pdflatex to generate a file with .pdf extension.
> I find xfig program to be very versatile. Maybe XFIG is available for
> windows also.  However, I use tetex under linux
> C. Datta
>> >   Latex does not accept PDF or JPG figures directly for their
>> inclusion in the tex. It needs first to be converted into EPS
>> file,...
>> The freely downloadable JPEJ2PS program does convert jpeg figures into
>> eps files nicely.
>> M.Kalidoss
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia

Ashish Sharma

More information about the tugindia mailing list