Hi, Philipp and Rich (and others),    On linux, at least, with the QT interface 
for LyX, I insert xfig figures with Insert -> File ->External Material. Then a 
pdflatex run includes everything nicely, including "special" text.   I, too, 
invariably start XFig with the special flags set, because I include LaTeX code 
in the XFig files. However, this doesn't address figures which are edited in 
XFig but were originally produced elsewhere. I happen to convert a lot of .eps 
files to .fig format (using pstoedit, which I'm putting on an OS X machine 
right now), and then edit them in XFig. When there are many labels, this is a 
huge pain to change each bit of text to "special". I've written a Mathematica 
function to do this automatically (it's a very easy hack, because xfig formats 
are so nicely transparent), and if you just happen to use Mathematica and want 
the package, let me know. However, there must be a regex way or equivalent 
program which is even easier to use; I just happen to be "differently abled" 
when it comes to regex.     Best of luck!         C.O.--------
  Down with categorical imperative!

        [EMAIL PROTECTED]   or   [EMAIL PROTECTED]
--------> CC: lyx-users@lists.lyx.org> From: [EMAIL PROTECTED]> Subject: Re: 
changing Xfig figures in LyX> Date: Wed, 31 Jan 2007 21:43:24 +0100> To: [EMAIL 
PROTECTED]> > Hello,> > Thank you for the help.> Yes I do xfig -specialtext 
-latexfonts -startlatexFont default when I  > start Xfig.> > Philipp> > Am 
31.01.2007 um 21:31 schrieb Rich Shepard:> > > On Wed, 31 Jan 2007, Philipp 
Fleig wrote:> >> >> I am not sure whether this forum is the right adress for my 
 > >> question, but> >> I will give it a try anyway. I have created a number of 
images  > >> using Xfig,> >> which all have labels/text in them. Unfortunately 
the text does  > >> not come> >> out very well and I would also like to include 
some math symbols,  > >> which> >> Xfig cannot do anyway. Therefore I would now 
like to edit the  > >> latex files> >> of the images, which I exported in Xfig. 
The only problem is that  > >> when I> >> try to convert the edited latex file 
in LyX back to a pdf or  > >> postscript, I> >> get lots of errors saying 
things like 'undefined sequence' ... I  > >> guess the> >> problme is that I am 
missing some package, but I do not really  > >> know which> >> one. Does anyone 
know how to fix this? Should say that I am a  > >> beginner.> >> > Philipp,> >> 
>   When you start Xfig, do you do it this way?> > xfig -specialtext 
-latexfonts -startlatexFont default> >> >   Also, if you want ALL of your 
figures to be started with special  > > text and> > latex fonts, you can set 
the following resources in your> > .Xresources or whatever resource file you 
use:> > Fig.latexfonts: true> > Fig.specialtext: true> >> >   Then you can use 
all the LaTeX math commands. I've attached a  > > small .eps> > file with a 
Greek mu in it to show it can be done.> >> >   Look at the Xfig (from the Help 
menu) for more information on  > > LaTeX and> > Xfig.> >> > Rich> >> > -- > > 
Richard B. Shepard, Ph.D.               |    The Environmental  > > Permitting> 
> Applied Ecosystem Services, Inc.        |          Accelerator(TM)> > 
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax:  > > 
503-667-8863> > <risk_factor.eps>> 
_________________________________________________________________
Turn searches into helpful donations. Make your search count.
http://click4thecause.live.com/search/charity/default.aspx?source=wlmemtagline_donation

Reply via email to