rgheck wrote:
On 03/27/2010 02:41 PM, Claudio Beccari wrote:
Dear all,
those using LyX or direct LaTeX (pdflatex) often need to convert
sources in MS Word .doc format into .lix format.
On Linux platforms there are at least AbiWord and Kword that can open
doc files and save them in various other formats, .tex included.
Unfortunately the LaTeX file thus obtained is pittyful.
OpenOffice will also save in LaTeX format. I have used it often
myself, but with old WordPerfect files, and you are right of course
that the output file could use some cleaning up. Much of this can be
done with a script, such as the exceedingly trivial sed script attached.
My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have
this capability, either as a "save as" or "export to".
Abi word imports an odt file, mangles it, and exports it as LaTeX that
can then be cleaned up -- but it takes _lots_ of cleaning, and the
equations don't come through.
--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell: 503-349-8432
http://www.wescottdesign.com