Dave Hewitt writes:

> Over the past few days I've struggled to get LyX 1.5.2 on WinXP to 
> recognize and use latex2rtf for Rich Text Format exports. Jurgen suggested 
> this to someone and it was a tool I needed, so I gave it a shot. The 
> process was beset by many troubles, and now that I finally have it working, 
> I describe it here to help other users on WinXP that need a way of sharing 
> documents with the underclass that use M$ products (hat tip to Paul). 
> Jurgen helped me a LOT along the way.

The problem here is that the option -P for specifying the config directory
to latex2rtf is broken on Windows. However, the RTFPATH variable works,
so a simpler option is creating a latex2rtf.bat file as follows:

@echo off
set RTFPATH=C:/Program Files/latex2rtf/cfg
latex2rt %*
exit 0

You only need installing latex2rtf, starting LyX and reconfigure.
Then, go to Tools->Preferences->Converters and modify the entry
for the LaTeX to Rich Text Format converter changing latex2rt
into latex2rtf. Note that this last step is only necessary because
the configure.py script is braindead and simply checks for the
existence of program or program.exe, but not for program.bat, or
program.cmd, or ... (sigh).

-- 
Enrico

Reply via email to