Re: Importing and RTF document into LyX

2011-05-04 Thread Dr Eberhard W Lisse
Eric, something like this: cat > t.pl <) { s/\\bigskip//; s/{\\textquotesingle}/'/g; s/\\ / /g; s/{}//g; print; } EOF chmod 755 t.pl ./t.pl < t.tex.ori > t.tex && tex2lyx -f t.tex && open t.lyx It removes unnecessary \bigskip, replaces \textquotesingle with ' removes empty sp

Re: Importing and RTF document into LyX

2011-05-04 Thread Eric Weir
On May 2, 2011, at 7:37 PM, Eric Weir wrote: > On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote: > >> I load the RTF into OpenOffice (NeoOffice to be correct) into which >> I have installed the writer2latex extension and export as Ultraclean. >> That I manipulate a little with TexShop remov

Re: Importing and RTF document into LyX

2011-05-02 Thread Eric Weir
On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote: > I load the RTF into OpenOffice (NeoOffice to be correct) into which > I have installed the writer2latex extension and export as Ultraclean. > That I manipulate a little with TexShop removing the \bigskip and the > likes (which I could do wi

Re: Importing and RTF document into LyX

2011-05-02 Thread Dr Eberhard W Lisse
Eric, I load the RTF into OpenOffice (NeoOffice to be correct) into which I have installed the writer2latex extension and export as Ultraclean. That I manipulate a little with TexShop removing the \bigskip and the likes (which I could do with a Perl Script too) and then tex2lyx it. That works bet

Re: Importing and RTF document into LyX

2011-05-02 Thread Eric Weir
On May 2, 2011, at 2:15 AM, Stephan Witt wrote: >> I have no clue about mac or rtf2latex2e, but I hear there are projects such >> as fink and macports which make it easy to install applications like this >> one. > > I have it installed with the help of macports. Thanks, Stephan. I'll check it

Re: Importing and RTF document into LyX

2011-05-02 Thread Eric Weir
On May 1, 2011, at 11:17 PM, Julien Rioux wrote: > I have no clue about mac or rtf2latex2e, but I hear there are projects such > as fink and macports which make it easy to install applications like this > one. Here are some relevant posts from the past: > > http://www.mail-archive.com/lyx-user

Re: Importing and RTF document into LyX

2011-05-01 Thread Stephan Witt
Am 02.05.2011 um 05:17 schrieb Julien Rioux: > On 01/05/2011 11:03 PM, Eric Weir wrote: >> >> On May 1, 2011, at 10:48 PM, Eric Weir wrote: >> >>> I looked in the scripts folder of the LyX package. It's not there. I ran it >>> in terminal, and the result was: "-bash: rtf2latex2e: command not fo

Re: Importing and RTF document into LyX

2011-05-01 Thread Julien Rioux
On 01/05/2011 11:03 PM, Eric Weir wrote: On May 1, 2011, at 10:48 PM, Eric Weir wrote: I looked in the scripts folder of the LyX package. It's not there. I ran it in terminal, and the result was: "-bash: rtf2latex2e: command not found". Is it a LyX specific script? Or is it used in the wider

Re: Importing and RTF document into LyX

2011-05-01 Thread Eric Weir
On May 1, 2011, at 10:48 PM, Eric Weir wrote: > I looked in the scripts folder of the LyX package. It's not there. I ran it > in terminal, and the result was: "-bash: rtf2latex2e: command not found". Is > it a LyX specific script? Or is it used in the wider LaTeX community? > > My copy of LyX

Re: Importing and RTF document into LyX

2011-05-01 Thread Eric Weir
On May 1, 2011, at 4:21 PM, Julien Rioux wrote: > On 01/05/2011 3:09 PM, Eric Weir wrote: >> >> I'm brand new -- to LyX, LaTeX, and TeX. The whole shebang. >> >> I've attempted to import an RTF document into LyX. Under Preferences/File >> Handling/Converters I've set the From: format to RTF an

Re: Importing and RTF document into LyX

2011-05-01 Thread Julien Rioux
On 01/05/2011 3:09 PM, Eric Weir wrote: I'm brand new -- to LyX, LaTeX, and TeX. The whole shebang. I've attempted to import an RTF document into LyX. Under Preferences/File Handling/Converters I've set the From: format to RTF and the To: format to LaTeX (Plain). The converter identified for

Importing and RTF document into LyX

2011-05-01 Thread Eric Weir
I'm brand new -- to LyX, LaTeX, and TeX. The whole shebang. I've attempted to import an RTF document into LyX. Under Preferences/File Handling/Converters I've set the From: format to RTF and the To: format to LaTeX (Plain). The converter identified for this translation is rtf2latex2e $$i. W