[OS X TeX] Tables
Alan Munn
amunn at msu.edu
Mon Aug 20 18:01:44 EDT 2007
At 11:40 PM +0200 8/20/07, Peter Dyballa wrote:
>Am 20.08.2007 um 20:26 schrieb Nathan Paxton:
>
>>And perhaps I need a column added later on.
>
>You can use a regular expression. The cells are
>separated by ``&´´ characters. So it's easy to
>insert another `` &´´ after n ``&´´ have
>occurred ... Changing header and footer is
>simple manual work.
>
>The regular expression describes that a line
>starts with a set of characters of which none is
>an ampersand. Then an ampersand follows. This
>repeats n times. This description is then
>replaced by itself plus an additional `` &´´.
>Something like ^\([^&]+&[^&]+&[^&]+&[^&]+&\) =>
>\1 & or ^\(\([^&]+&\)\{n\}\) => \1 &.
These regular expressions seem to have too many \'s in them. I think you meant
^([^&]+&){n} (where n is the column number after
which you want the insertion.)
The only problem with this is that in TeXShop
(because of the OgreFind kit, I assume) there
persists a bug in which the ^ denoting beginning
of line doesn't actually work, so such regular
expressions don't actually work as intended even
though they will in another editor.
Frankly, I'd stick with Excel if the data is to
be constantly changing. Even without a plugin
it's not very hard to add the relevant formatting
to your Excel cells and then just cut and paste.
Alan
--
Alan Munn
amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736
Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list