>Hi,
>
>how can I sort the entries within a table?
>
>ASCII on
>
>b|bla|blubb
>a|blubb|bla
>
>I want it to be sorted like:
>
>a|blubb|bla
>b|bla|blubb
>
>I figured out that makeindex is probably the right choice, but I am
not 
>experienced enough to use it. . .
>  
>
>Is there a way to do that?
>  
>
I have a way that works for me, it is a bit of a workaround, but it
works. I make my tables with the sc spreadsheet under linux. sc can sort
tables, do math etc. as one would expect from a spreadsheet. sc also has
the ability to export tables to latex format. I then include the latex
files generated by sc into my lyx document.

The sc latex output is a bit stupid in the sense that it does not
preserve column alignments, and it does not add vertical and horizontal
lines. It does not take long to fix this with a text editor afterwards.

If I remember correctly, the gnumeric spreadsheet could also output
latex, It might be a bit smarter than sc.

Regards,
Johann



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

Reply via email to