Re: LaTeX-symbols in XFigs using figtops?
Angus Leeming wrote Hi Claus. Sounds nice indeed! Is there an equivalent fig2pdf script? Yes. The package consist of one perl script (8k) which can produce both ps and/or pdf. It is nice to know that you have worked on similar functionality. I have attached a tarball with the script from the fig2ps Debian package along with its copyright file. Maybe you can get some inspiration for your own scripts or you may find it suitable for inclusion into the LyX codebase? As far as I know it is currently only packaged for Debian. Claus -- Ph.D.-studerende Claus Hindsgaul Reberbanegade 53, 4. th, DK-2300 KBH S Copenhagen, Denmark fig2ps.tar.gz Description: application/compressed-tar
Re: LaTeX-symbols in XFigs using figtops?
Angus Leeming wrote > Hi Claus. > > Sounds nice indeed! Is there an equivalent fig2pdf script? Yes. The package consist of one perl script (8k) which can produce both ps and/or pdf. It is nice to know that you have worked on similar functionality. I have attached a tarball with the script from the fig2ps Debian package along with its copyright file. Maybe you can get some inspiration for your own scripts or you may find it suitable for inclusion into the LyX codebase? As far as I know it is currently only packaged for Debian. Claus -- Ph.D.-studerende Claus Hindsgaul Reberbanegade 53, 4. th, DK-2300 KBH S Copenhagen, Denmark fig2ps.tar.gz Description: application/compressed-tar
LaTeX-symbols in XFigs using figtops?
Hi LyX developers, The package fig2ps in Debian unstable contain a small perl script by Vincent Fourmond, which does excactly what it says. But compared to the fig2dev (used by default by LyX 1.3.3), it lets LaTeX process any text in the figure with the special flag set, so that you can have any LaTeX symbols, formulas etc. in your figure without having to handle split eps and tex file. See: http://packages.debian.org/unstable/tex/fig2ps After having installed it, and simply changing the LyX conversion rule for XFig-eps to invoke figtops --nogv $$i, this is handled transparently to the user if he includes the graphics foo.fig. LyX still displays the figure with LaTeX codes in it, but the final document looks perfect. Since the above package is distributed under the GPL 2 (or later) license, you might want to consider using or including it into LyX? I think the users would love it (At least I would :-) ). Sincerely, Claus Hindgsaul -- Ph.D.-studerende Claus Hindsgaul
Re: LaTeX-symbols in XFigs using figtops?
Claus Hindsgaul wrote: The package fig2ps in Debian unstable contain a small perl script by Vincent Fourmond, which does excactly what it says. But compared to the fig2dev (used by default by LyX 1.3.3), it lets LaTeX process any text in the figure with the special flag set, so that you can have any LaTeX symbols, formulas etc. in your figure without having to handle split eps and tex file. Hi Claus. Sounds nice indeed! Is there an equivalent fig2pdf script? I guess that it would be pretty trivial to modify the lib/configure script to check for the presence of fig2ps before falling back on fig2dev. Alternatively, I wrote a couple of shell scripts for 1.4.x that are I use with the xfig external inset that --- from the users's point of view --- do much the same as the script you describe. Ie, I include an xfig figure and get final output with nicely typeset latex text. Find 'em here: http://tinyurl.com/3yrh4 http://tinyurl.com/2y368 -- Angus
LaTeX-symbols in XFigs using figtops?
Hi LyX developers, The package fig2ps in Debian unstable contain a small perl script by Vincent Fourmond, which does excactly what it says. But compared to the fig2dev (used by default by LyX 1.3.3), it lets LaTeX process any text in the figure with the "special" flag set, so that you can have any LaTeX symbols, formulas etc. in your figure without having to handle split eps and tex file. See: http://packages.debian.org/unstable/tex/fig2ps After having installed it, and simply changing the LyX conversion rule for XFig->eps to invoke "figtops --nogv $$i", this is handled transparently to the user if he includes the graphics "foo.fig". LyX still displays the figure with LaTeX codes in it, but the final document looks perfect. Since the above package is distributed under the GPL 2 (or later) license, you might want to consider using or including it into LyX? I think the users would love it (At least I would :-) ). Sincerely, Claus Hindgsaul -- Ph.D.-studerende Claus Hindsgaul
Re: LaTeX-symbols in XFigs using figtops?
Claus Hindsgaul wrote: > The package fig2ps in Debian unstable contain a small perl script by > Vincent Fourmond, which does excactly what it says. > But compared to the fig2dev (used by default by LyX 1.3.3), it lets > LaTeX process any text in the figure with the "special" flag set, so > that you can have any LaTeX symbols, formulas etc. in your figure > without having to handle split eps and tex file. Hi Claus. Sounds nice indeed! Is there an equivalent fig2pdf script? I guess that it would be pretty trivial to modify the lib/configure script to check for the presence of fig2ps before falling back on fig2dev. Alternatively, I wrote a couple of shell scripts for 1.4.x that are I use with the xfig external inset that --- from the users's point of view --- do much the same as the script you describe. Ie, I include an xfig figure and get final output with nicely typeset latex text. Find 'em here: http://tinyurl.com/3yrh4 http://tinyurl.com/2y368 -- Angus