Re: patch for inserting raw latex command to gnumeric for exporting latex files
- From: Shixin Zeng <shixinzeng sjtu edu cn>
- To: "Andreas J. Guelzow" <aguelzow taliesin ca>
- Cc: Gnumeric Dev List <gnumeric-list gnome org>
- Subject: Re: patch for inserting raw latex command to gnumeric for exporting latex files
- Date: Tue, 23 Nov 2004 23:58:45 +0800
Andreas J. Guelzow wrote:
Hi,
Hi,
Glad to see someone interested in it.
Since there are several people that commented on the list that they
handle the same issue by editing the LaTeX files after wards, it would
clearly be useful to them to have this incorporated in the plugin
distributed with Gnumeric.
Are you submitting your code for inclusion in Gnumeric and distribution
under the GPL?
Yes, I sent it for inclusion in Gnumeric and distribution under the GPL
v2 or newer.
Andreas
PS: I haven't looked at your patch in detail yet, but on first glance it
looks like something that could fit into the latex exporter, potentially
with some little changes.
On Sat, 2004-11-20 at 02:17, Shixin Zeng wrote:
Hi, all
Is there anybody can remember that I had asked how to insert raw latex
command in gnumeric for exporting latex?
http://mail.gnome.org/archives/gnumeric-list/2004-June/msg00023.html
Some people on this list told me that no way. Now I implement it myself
and the patch is attached(latex.patch).
Let me give some explanations:
1. I tested on gnumeirc-1.2.13, it worked fine. If you don't want to
compile it from source, you may try the pre-compiled file. Extract the
attachment to overrite your original html plugins, backup your files first!
2. To insert raw latex command, please put them between '\L{' and '}'.
The '{'s and '}'s must be matched, that is to say you can't put a
unmatched brackets in it, I think there is no need to to so in latex.
What's in gnumeric What's in latex
foo \L{E=m\cdot{}c^2} foo foo E=m\cdot{}c^2 foo
foo \L{{aa}{bb}{a{b}c}} foo foo {aa}{bb}{a{b}c} foo
foo \L{a}\L{b} foo foo ab foo
I think this patch would be very convinient for those who take gnumeric
as their latex table-maker, just as me. :-)
Any reply please cc to me, for I don't subscribe the mailing list.
--
Best regards
Shixin Zeng
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]