Re: help on latex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-08-02 at 14:48 +0100, Ian Malone wrote:
> Pushparaj Shetty wrote:
> 
> > On 8/2/05, Daniel Normolle wrote:
> <email snipped>
> 

[snip]
 
> >>Pushparaj Shetty wrote:
>  >
>  > The documentclass does not  support the psfig , which is essential for
>  > including figures.
>  > It gives the following error message:
>  >
>  > ! Undefined control sequence.
>  > <argument> \psfig
>  >
>  > It worked fine in redhat 9.0.
>  > Please tell me how to get the same latex as in RedHat linux 9.0.
>  >
>  >
> 
> I could only find <http://www.lbl.gov/ICSD/CIS/UNIX/TeX/psfig.html>,
> which talks about documentstyle, so quite old.
> 

[snip]

> Is that what you're doing?  I also note that my MikTeX (Windows atm)
> doesn't have psfig installed by default, nor is it in the LaTeX users
> guide.  Is there any reason you can't use the graphicx package instead?
> (This appears to have superseeded the graphics package mentioned in
> the LaTeX user's guide 2nd edition, psfig is nowhere mentioned in that
> book)
> 
> Am I misunderstanding the use of psfig? I would do:
> \documentclass{article}
> \usepackage{graphicx}
> \begin{document}
> \include{somepicture} % where somepicture.eps (for latex) or
>                        % somepicture.pdf (for pdflatex) exists
> \include{somepicture.eps} % although pdflatex will choke
> \include{somepicture.png} % etc, different formats are available
>                            % depending whether you're doing latex
>                            % or pdflatex
> \end{document}
> 
> I'd guess from your use of it that psfig is an old package for
> backwards compatibility.  Try and get hold of a copy of the 2nd
> edition users guide (specifically section 7.2) and where it says
> `graphics' read `graphicx'.  Otherwise I would suggest searching
> on google for `latex graphicx'.

In FC3, psfig.sty is in "/usr/share/texmf/tex/generic/misc/psfig.sty"
while graphics.sty and graphicx.sty are in
"/usr/share/texmf/tex/latex/graphics". All 3 are in the basic tex rpm. I
would presume they are in the same package in FC4.

Bob

-- 
brtaylor@xxxxxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux