On Thu, Jun 12, 2003 at 08:59:21AM +0000, Angus Leeming spake thusly: > On Thursday 12 June 2003 7:00 am, Martin Vermeer wrote: > > On Thu, Jun 12, 2003 at 08:04:41AM +0200, Andre Poenitz spake thusly: > > > Incidently, concerning .fig -> .pdf. Konni said she always uses separate > > > ps/tex export in that case and uses ps2pdf to convert the ps part only. > > > > Yes, that's what I find works the best too. Though I currently use > > separate ps/tex only sparingly; too cumbersome. That *will* change with > > the new externalinset ;-) > > Shrug. It has already. Latex files for both ps and pdf export will in future > contain a single line > \include{your_xfig_output.pstex_t} > or > \include{your_xfig_output.pdftex_t} > > This output file will itself contain > \includegraphics{your_xfig_output} > together with any latex text. Works a treat. > > The two scripts that do the magic are fig2pstex.sh and fig2pdftex.sh, to be > found in lib/scripts. The former generates an eps file of the image (no > special text). The latter should generate a pdf file of the same but > currently creates a png file instead. > > fig2pstex.sh is simple and "finished". > fig2pdftex.sh is more complex and still a work-in-progress. It attempts to > support both "modern" versions of xfig that support the pdftex and pdftex_t > targets and "older" versions which do not. > > In this latter case, the script generates pstex and pstex_t output and then > converts the image to png using gs. I tried to generate a pdf image rather > than a png one but failed :-(
I use epstopdf manually (part of tetex) and works fine. It's a perl script and might give you ideas what to do. > The function that uses "modern" xfig pdftex, pdftex_t targets is currently > disabled because I find that the pdftex image is rotated by 90degrees. I have > no idea why... I find (xfig 3.2.3, no patchlevel) that the pdf produced is in a 'letter' page... > If anyone uses these targets successfully, perhaps they'd have a look... > > > > Andre' > > Martin > Angus > -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Dept. of Surveying, Inst. of Geodesy P.O. Box 1200, FIN-02015 HUT, Finland :wq
pgp00000.pgp
Description: PGP signature