On Tue, 11 Nov 2003 23:11:00 -0500,
Jim Dai <[EMAIL PROTECTED]> wrote:
> fink has been running well on Panther.
>
> I have been using pdtex format to export an xfig figure.
> In each export, I get two files file.pdftex and file.pdftex_t.
> Inside file.pdftex_t, there is a line
>
> \psfig{file="file.pdftex"}.
>
> This command fails in pdflatex and latex/dvips.
>
> What I need are
> a) \includegraphics{file}, without extension.
>
> b) file.pdf is the file name for the actual pdf file.
>
> I notice that in compiling transfig, one can
> turn on latex2e option. Can someone provide a version of transfig/xfig
> with
> latex2e turned on?
I went around and around on this and ended up using fig2dev,
latex, and dvipdfm:
fig2dev -L pstex figfile.fig > figfile.pstex
fig2dev -L pstex_t -p figfile.pstex figfile.fig >figfile.pstex_t
latex texfile.tex
dvipdfm -p letter texfile.dvi
(There is an issue with using pdflatex instead of latex/dvipdfm,
but I don't remember the specifics.)
In texfile.tex, I have these commands in my preable:
\usepackage{color}
\usepackage{epsfig}
\usepackage{exscale}
and use this to include the figures:
\begin{center} \input{figfile.pstex_t} \end{center}
(I wrapped this up in a tex macro for easy repetitive use.)
I would *guess* that this scheme would work with dvips as well,
but haven't tested it. The folks and FAQ over in comp.text.tex
were extremely useful when I posed a similar question over there.
HTH,
Dan
--
<mailto:[EMAIL PROTECTED]>
<http://www.tombstonezero.net/dan/>
An omer is a tenth of an ephah. -- Exodus 16:36.
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users