On Sun, 20 Oct 2002 00:51:38 +0200 (MEST), "I Wayan Warmada"
<[EMAIL PROTECTED]> said:
>
> On Sat, 19 Oct 2002, Wayne Menzie wrote:
>
> | I suppose that's possible but it seems like getting the data into the
> | table might be problematic and I was hoping there was a way to get
> | the indentation you see in my sample data without using protected
> | spaces. Any ideas on how to do this better?
>
> It is not so complicated... I have made up to 60 tables (numerical
> data, description and a simple translation). All can be done with LyX.
> I need an ERT if I want to make a special result. By LyX default is OK.

I'm not sure I understand your answer.  Let me be more clear on the
question.  Given the data I showed earlier, I would put each family
listing in its own row to prevent weird page breaks.  Within that
listing, I would like the address and phone number to be slightly
indented from the surname and the children's' names to be slightly
indented from the parents' names.  I have played around with LyX and
found that using a protected space accomplishes this but that would
appear to be a difficult thing to automate when converting my data.
Any ideas on another method or a way to make inserting all those
protected spaces less labor-intensive.  I'm looking at ~250 family
entries for this list so anything I have to do manually for each entry
becomes quite arduous.

> | Also, the users guide mentions that LyX isn't capable of fully
> | exploiting LaTeX tables.  Are the limitations of LyX in this area
> | significant?  In other words, am I looking at a lot of ERT?
>
> Yes, you need ERT but not so important. For your table, just make a CSV
> file, which the column should be separated by TAB (I have never used
> COMMA). Then install the csv2lyx program (you can download from LyX
> homepage, I forget the ftp address) to convert your csv file into the
> lyx file. Then edit the converted file with your lyx.

Excellent suggestion.  I noticed some mentions of csv2lyx and wondered if
it would work for me.  One caveat is that I'm using LyX under Windows
(thanks Claus!) so I don't know if it can run in that environment.

> Last two days I have made about 40s page longtable with (the original
> data was from excel: my friend sent me a large excel file, which is
> needed for type setting). It was very fast compared with other program.
> I have done the following ways:
> - convert the XLS to CSV with OpenOffice
> - remove all quot (") with bluefish or other text-editor
> - running cvs2lyx
> - edit with lyx (setting length of column, etc) --> finish.

That sounds very similar to what I'm going to have to do.  I will be
using fixed column widths to get multiple-line cells but I'm not sure
that I can automate that at all.  It looks like that will have to take
place after I get the data into LyX.  I've noticed a problem with the
positioning of tables when using longtable.  I seems to want to be
shifted to the right much farther than I would imagine.  In fact, with
fixed-width columns totaling 7 inches on USLetter - Portrait, about 1/4
of the table is off the page when I preview the DVI.  Anything I can do
about that?  Also, are you familiar with supertab?  It appears to be a
simpler environment to have multipage tables but I don't know if LyX can
deal with it.  Sorry for all the questions.  Thanks for your and everyone
else's help.

Wayne

Reply via email to