Hello,

    Does someone test to import a .tex file previously exported by 
gnumeric ?
    I have a Debian 3.0 and i use the latest version of lyx 
(1.1.6fix4-2) and gnumeric (1.0.3-1)
    When i try it, it give me this error:

Got nothing when argument expected at /usr/bin/../share/lyx/reLyX/Text/TeX.pm
line 841, <TeXOpenFile0003> line 1969.
        

    I open a bug report: http://bugzilla.lyx.org/show_bug.cgi?id=220

    It's weird because the .tex file created by gnumeric can be compiled 
by Latex without errors.
    Else i wrote a small script in awk to translate my file (format 
.csv) in a table in tex

cat ../rapport/Listes_soft_all_07.csv | awk -F ";" 'BEGIN { print 
"\\begin{longtable}{|"; for(i=1;i<=NF;i++) print"c|"; print"}" } { print 
"\hline"; for(i=1;i<NF;i++) print $i"&"; print $NF"\\\\" } END { print 
"\\end{longtable}" }' > /tmp/Listes_soft_all_07.tex

    It's just a very basic script. So i must add the header with 
packages and footer. I need to correct (or protect) somes _ and & to \_ 
and \&
    After i compile it with Latex.

    I try to import it in Lyx, it's work but it display all the table in 
Latex mode and not in the wysywyg Lyx style for table .

    Somebody can help me ?

Best Regards,
rsf
-- 
------------------------------------------------------------------------
SALIOU Renaud
NoRSfall

[EMAIL PROTECTED]
06.99.75.50.30

[EMAIL PROTECTED]
01.45.54.58.08

[EMAIL PROTECTED] (En journ�e)
ICQ: 61340098


Reply via email to