Re: LaTeX in-table computations.

2007-11-12 Thread Tommaso Cucinotta
Tommaso Cucinotta ha scritto: Just tried, but doesn't work. I patched lib/configure.py as in the attachment, where the converter is the attached script. When I use "Insert->graphics...", and I specify a ".gn" file, it crashes. Probably there is (also) a problem in trunk. LyX 1.5.2 does not crash

Re: LaTeX in-table computations.

2007-11-12 Thread Tommaso Cucinotta
Helge Hafting ha scritto: You get the preview "for free" if we set up conversion all the way from .gnumeric to .eps (via .tex). Just tried, but doesn't work. I patched lib/configure.py as in the attachment, where the converter is the attached script. When I use "Insert->graphics...", and I speci

Re: LaTeX in-table computations.

2007-11-12 Thread Helge Hafting
Tommaso Cucinotta wrote: Tommaso Cucinotta ha scritto: to what I was needing. Probably a simple gnumeric->LaTeX "filter" that uses "ssconvert" is sufficient: Just tried and seems to work. You just need to export with "ssconvert -T Gnumeric_html:latex in.gnumeric out.tex", so Great - that was t

Re: LaTeX in-table computations.

2007-11-12 Thread Tommaso Cucinotta
Tommaso Cucinotta ha scritto: to what I was needing. Probably a simple gnumeric->LaTeX "filter" that uses "ssconvert" is sufficient: Just tried and seems to work. You just need to export with "ssconvert -T Gnumeric_html:latex in.gnumeric out.tex", so to get also the table formatting that you set

Re: LaTeX in-table computations.

2007-11-12 Thread Tommaso Cucinotta
Tommaso Cucinotta ha scritto: to what I was needing. Probably a simple gnumeric->LaTeX "filter" that uses "ssconvert" is sufficient: Just tried and seems to work. You just need to export with "ssconvert -T Gnumeric_html:latex in.gnumeric out.tex", so to get also the table formatting that you set

Re: LaTeX in-table computations.

2007-11-12 Thread Tommaso Cucinotta
Helge Hafting ha scritto: Embedding a gnumeric spreadsheet: http://www.aitel.hist.no/~helgehaf/gnumeric.lyx http://www.aitel.hist.no/~helgehaf/spreadsheet.gnumeric http://www.aitel.hist.no/~helgehaf/spreadsheet.tex Turning this into a external inset is easy, and gets rid of the latex commands in

Re: LaTeX in-table computations.

2007-11-12 Thread Pavel Sanda
> The latex roundtrip problem can be fixed another way: this is worth to put somewhere in wiki if its not already there. pavel

Re: LaTeX in-table computations.

2007-11-12 Thread Helge Hafting
Tommaso Cucinotta wrote: Darren Freeman ha scritto: just in the generated output, you would be suggesting a basic embedded spreadsheet within LyX.. Exactly. I was of course thinking of a way to latexify the connections among numbers, rather than simply calculating them in LyX. So that, after ex

Re: LaTeX in-table computations.

2007-11-10 Thread Martin Vermeer
On Sun, Nov 11, 2007 at 01:16:46AM +0100, Tommaso Cucinotta wrote: > Hi all, > > I wish it were possible to make simple computations within > table cells, like summing up all the rows or columns and computing > totals. I found the \FP LaTeX package that allows to perform > computations. D

Re: LaTeX in-table computations.

2007-11-10 Thread Tommaso Cucinotta
Darren Freeman ha scritto: just in the generated output, you would be suggesting a basic embedded spreadsheet within LyX.. Exactly. I was of course thinking of a way to latexify the connections among numbers, rather than simply calculating them in LyX. So that, after export LaTeX -> reimport, th

Re: LaTeX in-table computations.

2007-11-10 Thread Darren Freeman
On Sun, 2007-11-11 at 01:16 +0100, Tommaso Cucinotta wrote: > I wish it were possible to make simple computations within > table cells, like summing up all the rows or columns and computing If you wanted to see the results of the computation in LyX, rather than just in the generated output, you wo

LaTeX in-table computations.

2007-11-10 Thread Tommaso Cucinotta
Hi all, I wish it were possible to make simple computations within table cells, like summing up all the rows or columns and computing totals. I found the \FP LaTeX package that allows to perform computations. Do you know if it is possible, in LaTeX, to generically refer to the contents of oth