On Wednesday 03 February 2010 13:00:35 Liviu Andronic wrote:
> Does anyone have experience with it?
Hi Liviu
I use it about once per month to convert a report created in Lyx to OpenOffice
but I find it chokes on some of Lyx's formatting and I have to run a vim script
to remove or alter the offending code.
The list of changes needed increases occasionally as new tables appear in the
report.
The vim script I use is currently:
:%s/\\LARGE//eg
:%s/\\Large//eg
:%s/\\large//eg
:%s/>{\\raggedright}p{2.3in}/l/eg
:%s/>{\\raggedright}p{2.6in}/l/eg
:%s/\\textrm//eg
:%s/\\textendash/ --- /eg
:%s/\\textquoteright/'/eg
:%s/\\textquotedoubleright/''/eg
:%s/\\newpage//eg
I run this script on the .tex produced by exporting the lyx file to latex. Then
run ConvTex on the altered .tex file to produce a .sxw file that can then be
read by OO.
A bit clumsy but it gets me the result I need.
Cheers
G