Categories: MSWord<< | Page list | >>
Converting from Word to LyX
This page is meant to contain tips for how to import a Word file into LyX.
Converting with Wvware
If you've installed AbiWord, you can open up a Word document and save it as LaTeX, then use reLyX to convert it to LyX. However, this might be a Linux-only solution.
Probably a better way anyway, is to use wvWare directly. wvWare is what AbiWord uses to convert Word to AbiWord's format -- it doesn't do as good a job as OpenOffice, but it's passable. According to the wvWare homepage, The GnuWin32 project maintains a port for Windows.
Part of wvWare is a wrapper script, wvCleanLatex (there is also wvLatex, which is truer to the Word document, but reLyX probably won't like it). Then you can run reLyX on this LaTeX document. Mind you, LyX is a pretty smart cookie and can do this for you:
If LyX finds wvCleanLatex in the path when you reconfigure, expect to see an "Import --> Word..." in the File menu. (at least in version 1.3.5 of LyX ... for 1.3.3 you might need to run wvCleanLatex from a command line/shell.
Converting with Writer2LaTeX
Writer2LaTex (http://www.hj-gym.dk/~hj/writer2latex/index.html) is an OpenSource converter between OpenOffice (StarOffice) Writer and LaTeX. It is more powerful than WvCleanLaTeX and will convert for example footnotes, tables, etc.
If you start with a well formatted MsWord file with styles, you can get pretty good results :
-- Trent Apted - 2004-11-03
On Gentoo, you can install it using this ebuild.