My apologies if this mail gets posted twice, but I sent the original yesterday and I haven't seen it arrive yet, so here's trying again.
I seem to be having a rather difficult time getting xfig and lyx to play nicely together when exporting pstex/pstex_t files from xfig. I'm sure I'm doing something wrong, but I can't seem to figure out what. Here's the details: tetex-2.0.2 (gentoo tetex-2.0.2-r1 package) lyx-1.3.2 (gentoo lyx-1.3.2-r1 package) xfig-3.2.4 (gentoo xfig-3.2.4-r1 package) The error I get is: Undefined control sequence. }}}} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. The lyx file is: #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Here's some generic text, followed by a ps figure. \layout Standard \begin_inset Float figure wide false collapsed false \layout Caption inserted pstext graphic \layout Standard \begin_inset Graphics filename /home/grant/class/chem330/2003/hotcold.pstex \end_inset \end_inset \layout Standard More generic text, followed by a figure float that includes my pstext_t file: \layout Standard \begin_inset Float figure wide false collapsed false \layout Caption included pstext_t \layout Standard \begin_inset Include \input{/home/grant/class/chem330/2003/hotcold.pstex_t} preview false \end_inset \end_inset \layout Standard All done! \the_end The pstex_t file is: \begin{picture}(0,0)% \includegraphics{/home/grant/class/chem330/2003/hotcold.pstex}% \end{picture}% \setlength{\unitlength}{3947sp}% % \begingroup\makeatletter\ifx\SetFigFont\undefined% \gdef\SetFigFont#1#2#3#4#5{% [EMAIL PROTECTED] \fontfamily{#3}\fontseries{#4}\fontshape{#5}% \selectfont}% \fi\endgroup% \begin{picture}(2574,1074)(1114,-1348) \put(1276,-1186){\makebox(0,0)[lb]{\smash{{\SetFigFont{12}{14.4}{\rmdefault}{\mddefault}{\updefault}{\color[rgb]{0,0,0}$E_1,V_1,n_1$}% }}}} \end{picture}% The pstex file is fairly lengthy, but if you really want to see it you can snag it from "http://www.gentoo.org/~g2boojum/hotcold.pstex". Any advice gratefully accepted! Thanks, Grant Goodyear -- Grant Goodyear The Secrets of Physics: Dept. of Chemistry 1. Add zero. Clemson University 2. Multiply by one. Clemson, SC 29617 3. Expand in a Taylor series (864) 656-7702 4. Integrate by parts. e-mail: [EMAIL PROTECTED] 5. Fourier transform.