On Tuesday 04 September 2007 13:34, Steve Litt wrote:
> On Tuesday 04 September 2007 12:45, John Kane wrote:
> > Word-to-LaTex will give you a LaTeX file that you
> > might then able to import to LyX
> > http://kebrt.webz.cz/programs/word-to-latex/index.html
> > . I suspect the results will be VERY ugly.
>
> This looks like what I need.
Oops, maybe not. I just read the specifications -- it's a Windows based
program requiring Word 2002 (I have Word 97 on Windows 98) and .Net 1.1
or .Net 2.0 (I have neither, and don't want to take the time to install them
because I no longer use Windows).
I don't spoze there's an rtf to LaTeX converter that doesn't require Word
or .Net?
But somebody here might be able to do the conversion for you, and send
you the result.
I have another idea. I could write a series of Word macros to find styles and
write their names as tags within the text. Then export as text, write a Ruby
parser, and convert to LyX. Only thing is, I don't know if I can write the
word macros to do that. Any of you know of online documentation on writing
fairly complex word macros? I've got MS Word 97 IIRC.
What if you export the Word document to HTML? Do you get some CSS with
it? Those may encode your styles, and then you can write your simple
script. Or some HTML->LaTeX converter might do it for you.
Richard