Hello,

I've a little problem with batch use of lyx to provide tables
formatted as text.
Up to lyx version 1.3.1, I could
reLyX foo.tex
(where foo.tex contains a table)
then
lyx -e text foo.lyx
Since 1.3.1 (current is 1.3.2), this doexn't work any more,
the table is not correctly formatted when I load interactively
lyx foo.lyx

If I load interactively in an older version, e.g
lyx-1.2.1 foo.lyx
then File->save in foo_old.lyx
all is OK again, and a diff between foo.lyx et foo_old.lyx shows a
lot of differences.

Two questions there:
 1 - is there a problem in the reLyX install?
Head of the foo.lyx file reads
-----------------------------
# The reLyX bundled with LyX 1.3 created this file.
# For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\use_natbib 0
\use_numerical_citations 0

\layout Standard



\LyXTable
multicol5
----------------------------
Seems that this code is no more interpreted by lyx >=1.3.1. Should read

\begin_inset  Tabular
instead of 
\LyXTable

Moreover, lyxformat is 2.15, which seems an obsolete value.
Do I load (in a hidden manner) an obsolete perl module ?
I'm aware that importing from latex calls reLyX script
whatever the lyx version suffix given, so I ReLyX from 
shell window. In fact, reLyX-1.2.1 and reLyX-1.3.2
creates lyx files which differ only by 
\use_natbib 0
\use_numerical_citations 0

2 - Is there a way to recover batch processing by adding a batch step
loading foo.tex in lyx-1.2.1 and saving as foo_old.tex ?
I guess this is possible with lyxpipe, lyx2lyx seems useless here.

Thanks for any help

-- 
Jean-Pierre




Reply via email to