Angus Leeming wrote: > <shrug> > > I don't think that this option is better than using gnuplot with my > gnuplot2fig.sh script to build a .fig file. Gnuplot is an extremely > powerful tool for scientific data preparation, something that PSTricks > can never hope to be. That's not to say that PSTricks is not useful, but > use the right tool for the right job. > > The script will mark all text entries in the XFig file as 'Special' > meaning that the text will be typeset by the latex compiler if you export > the figure from XFig as a (.pstex_t, .eps) pair. Indeed, LyX will do this > for you if you use the XFig external inset. (Insert->External > Material...) > > The external inset that comes with LyX 1.3.x will support only output to > DVI, so PDF files can be generated with dvi->ps->pdf but not using > pdflatex direct. This limitation is removed with LyX 1.4.x. > > </shrug>
I forgot to say. When using XFig and exporting to a (.pstex_t, .eps) pair, XFig will specify font size and shape UNLESS a LaTeX macro is set already. Thus, in order to use exactly the same LaTeX fonts in your document and in your figures, you need to insert a little magic in your Preamble: %% Preempt the definition of \SetFigFont in the %% xfig-generated pstex_t files by setting it to "do nothing". \gdef\SetFigFont#1#2#3#4#5{} -- Angus