On Aug 20, 2007, at 3:34 PM, Isaac Pante wrote:

On Aug 20, 2007, at 2:07 PM, Isaac Pante wrote:

Le 20 août 07 à 19:48, Bennett Helm a écrit :

On Aug 20, 2007, at 12:53 PM, Isaac Pante wrote:

I've installed Latex2RTF using i-installer and reconfigured lyx but the problem remains. When I select Export>Personalisé>RTF, Lyx still requests a command to process.

Where's the mistake?

You shouldn't need to choose File > Export > Custom..., since you should already have File > Export > Rich Text Format.

If you look at LyX > Preferences > Converters, you should find a converter already defined, with the converter specified as "latex2rtf $$i" (without the quotes). If you've properly installed latex2rtf and have that in a path that LyX recognizes, then reconfiguring LyX should automatically generate the File > Export > Rich Text Format menu item.

I've installed Latex2RTF using i-installer. This should be sufficient as written on the latex2rtfwebsite ("If you want a MacOS X version, make sure that you have installed the developer tools CD that is appropriate for your OS version, and then follow the directions above for a UNIX installation. Alternatively you can install using fink http://fink.sourceforge.net/ or as an i- installer package http://www.rna.nl/ii.html.";)

In my preferences>converters, I exactly have what you mean ("latex2rtf $$i"), but I can't choose RTF in my Export menu. I reconfigured Lyx two times with no changes.

How can I check the path? It seems to be the last possible error...

I'm not sure where iInstaller puts latex2rtf, but I suspect it's probably /usr/local/bin. (Try checking in the Terminal by typing "which latex2rtf" and see what the output is.) What you need to make sure is that whatever path it gives you is a part of LyX > Preferences > Paths > PATH Prefix.


You're right, latex2rtf is installed in /usr/bin/location, a path contained in my prefix as shown below:

"/usr/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin- current:/usr/local/teTeX/bin/i386-apple-darwin-current:/usr/X11R6/ bin:/sw/bin:/opt/local/teTeX/bin:/opt/local/bin"

You might also check the results of reconfiguring LyX, which show up in Console.app. If it finds latex2rtf, you should have a couple lines like this:

checking for a LaTeX -> RTF converter...
+checking for "latex2rtf"...   yes

Yes, I have the both lines in the console output.


(You are quitting and restarting LyX after reconfiguring, right?)

(Yes, everytime)

I'm asking myself if I shouldn't uninstall my MacTex installation and reinstall everything (any other solution is welcome). I've tried to use the MacTex.dmg again, but it just updates the archive. Is there a way (maybe using the terminal?) to be sure that I've cancelled everything?

I don't think reinstalling MacTeX would help. Try quitting LyX and then moving LyX's user's directory out of the way (~/Library/ Application Support/LyX-1.5) -- just drag it to your desktop or rename it. Then restart LyX to see if that helps. (It will regenerate the user's directory and reconfigure itself automatically.)

Bennett

Reply via email to