Re: Converting Doc file to Lyx

2010-11-28 Thread Dr Eberhard W Lisse

I have had to do this a bit recently and find that the easiest way is to

open the file in OpenOffice, and export it to LaTeX (you need an
extension, google for it) using the ultra-clean option.

Then I use TeXShop to get rid of some unnecessary stuff and change
the header to what I like in LyX and then run tex2lyx.

Works very nicely.

el

On 2010-11-27 15:53 , Frederick Noronha wrote:

I know this might be asking for a bit much, but could someone help me
with converting a Doc file to Lyx? I know there are ways of doing
this, but don't have the right software tools on my comp (and can't
understand the complex instructions for installing the same).

If you agree, I will email you the doc file, and really appreciate if
it could be converted to Lyx.In particular, I need to retain the
italicisation of the text. Thanks! FN

Frederick Noronha :: +91-9822122436 :: +91-832-2409490






Re: Converting Doc file to Lyx

2010-11-28 Thread Frederick Noronha
Stefano Franchi helped me by doing a pretty neat translation of .doc to Lyx.
I found it very usable, and am grateful to him.

Earlier, he advocated this route:

QUOTE from the post by Stefano:

The conversion is never pretty, I am afraid. I usually follow  this path:

1. in word (or equivalent) save from doc  to rtf
2. convert rtf to latex with rtftolatex2e   (in Linux and, I think, MacOs X.
I do not know if a version for windows exists)
3. clean up the tex file in a text editor (in particular, remove all the
\tab commands, take a close look at the font commads)
4. import the latex file into lyx

It may work for you. Others have suggested the html route

UNQUOTE

FN

PS: I did have to remove a lot of \tab commands, and some \dots, but that
was all... far better than manually resetting! Thanks, Stefano!!!


Frederick Noronha :: +91-9822122436 :: +91-832-2409490



On 29 November 2010 00:52, Jim Oldfield  wrote:

> Hi,
>
> I managed to convert doc -> html -> tex -> lyx (I had to install htmltotex
> first), but the results were unusable - all non-ASCII characters were
> screwed up in the .tex file, and LyX couldn't even convert it to a .lyx.
>  Copying and pasting from Word to LyX works, but doesn't preserve any of the
> formatting (not that it was properly formatted in Word anyway - it was
> "finger painted" with explicit fonts, rather than using styles).  That's all
> I can think to do, sorry!
>
> Jim
>
>
> *From:* Frederick Noronha 
> *To:* Jim Oldfield 
> *Sent:* Sat, 27 November, 2010 20:42:58
> *Subject:* Re: Converting Doc file to Lyx
>
> Jim, if you could help me by converting the attached file, I'd be more than
> grateful! Tried here but didn't succeed.. FN
>
> Frederick Noronha :: +91-9822122436 :: +91-832-2409490
>
>
>
> On 27 November 2010 20:33, Jim Oldfield  wrote:
>
>> One way would be to open the file in Word and from there save it as an
>> HTML
>> file.  Then in LyX import that HTML file.  I doubt the results would be
>> very
>> good, but they would probably at least preserve the italics.
>>
>> Jim
>>
>>
>> - Original Message 
>> > From: Frederick Noronha 
>> > To: lyx-users@lists.lyx.org
>> > Sent: Sat, 27 November, 2010 13:53:20
>> > Subject: Converting Doc file to Lyx
>> >
>> > I know this might be asking for a bit much, but could someone help me
>> > with  converting a Doc file to Lyx? I know there are ways of doing
>> > this, but don't  have the right software tools on my comp (and can't
>> > understand the complex  instructions for installing the same).
>> >
>> > If you agree, I will email you the  doc file, and really appreciate if
>> > it could be converted to Lyx.In  particular, I need to retain the
>> > italicisation of the text. Thanks!  FN
>> >
>> > Frederick Noronha :: +91-9822122436 :: +91-832-2409490
>> >
>>
>>
>>
>>
>
>


Re: Converting Doc file to Lyx

2010-11-27 Thread Jim Oldfield
One way would be to open the file in Word and from there save it as an HTML 
file.  Then in LyX import that HTML file.  I doubt the results would be very 
good, but they would probably at least preserve the italics.

Jim


- Original Message 
> From: Frederick Noronha 
> To: lyx-users@lists.lyx.org
> Sent: Sat, 27 November, 2010 13:53:20
> Subject: Converting Doc file to Lyx
> 
> I know this might be asking for a bit much, but could someone help me
> with  converting a Doc file to Lyx? I know there are ways of doing
> this, but don't  have the right software tools on my comp (and can't
> understand the complex  instructions for installing the same).
> 
> If you agree, I will email you the  doc file, and really appreciate if
> it could be converted to Lyx.In  particular, I need to retain the
> italicisation of the text. Thanks!  FN
> 
> Frederick Noronha :: +91-9822122436 :: +91-832-2409490
> 





Converting Doc file to Lyx

2010-11-27 Thread Frederick Noronha
I know this might be asking for a bit much, but could someone help me
with converting a Doc file to Lyx? I know there are ways of doing
this, but don't have the right software tools on my comp (and can't
understand the complex instructions for installing the same).

If you agree, I will email you the doc file, and really appreciate if
it could be converted to Lyx.In particular, I need to retain the
italicisation of the text. Thanks! FN

Frederick Noronha :: +91-9822122436 :: +91-832-2409490