1.1.6-pre3 and wv

2001-01-09 Thread Robin Turner

Nice to see Word import in 1.1.6-pre3 - I never use Word myself, but
people insist on sending me files in .doc format.  However, I'm having
trouble getting it to work.  With wv versions 0.5.26 and 0.5.44, lyx
won't detect wv (i.e. after reconfiguring there is still no "Import -
Word" option).  With version 0.6.2, Import-Word gives me all the LaTeX
commands' but the text is just digital garbage.  Is there another
version of wv I should be using, or is there something else I should
have installed?

Thanks,

Robin



Re: 1.1.6-pre3 and wv

2001-01-09 Thread Rem

Robin,

Go to http://www.word2tex.com/index.html and try their word > latex
converter. The trial version will convert the text and formulas but not the
tables and pictures...

Remzi Seker

- Original Message -
From: "Robin Turner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 9:59 AM
Subject: 1.1.6-pre3 and wv


> Nice to see Word import in 1.1.6-pre3 - I never use Word myself, but
> people insist on sending me files in .doc format.  However, I'm having
> trouble getting it to work.  With wv versions 0.5.26 and 0.5.44, lyx
> won't detect wv (i.e. after reconfiguring there is still no "Import -
> Word" option).  With version 0.6.2, Import-Word gives me all the LaTeX
> commands' but the text is just digital garbage.  Is there another
> version of wv I should be using, or is there something else I should
> have installed?
>
> Thanks,
>
> Robin




Re: 1.1.6-pre3 and wv

2001-01-09 Thread Dekel Tsur

On Tue, Jan 09, 2001 at 05:59:08PM +0200, Robin Turner wrote:
> Nice to see Word import in 1.1.6-pre3 - I never use Word myself, but
> people insist on sending me files in .doc format.  However, I'm having
> trouble getting it to work.  With wv versions 0.5.26 and 0.5.44, lyx
> won't detect wv (i.e. after reconfiguring there is still no "Import -
> Word" option).  With version 0.6.2, Import-Word gives me all the LaTeX
> commands' but the text is just digital garbage.  Is there another
> version of wv I should be using, or is there something else I should
> have installed?

What was the language of the document?
wv supports only latin1 encoding (but it is possible to change this).



Re: 1.1.6-pre3 and wv

2001-01-10 Thread Robin Turner

Dekel Tsur wrote:
> 
> On Tue, Jan 09, 2001 at 05:59:08PM +0200, Robin Turner wrote:
> > Nice to see Word import in 1.1.6-pre3 - I never use Word myself, but
> > people insist on sending me files in .doc format.  However, I'm having
> > trouble getting it to work.  With wv versions 0.5.26 and 0.5.44, lyx
> > won't detect wv (i.e. after reconfiguring there is still no "Import -
> > Word" option).  With version 0.6.2, Import-Word gives me all the LaTeX
> > commands' but the text is just digital garbage.  Is there another
> > version of wv I should be using, or is there something else I should
> > have installed?
> 
> What was the language of the document?
> wv supports only latin1 encoding (but it is possible to change this).


It was in English.  Here's an example of what got generated:


\layout Standard

[2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000]
[2000]
 [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000]
[2000]
 [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000] [2000]
[4500]E[4c00]L[5
300]S[2000]
 [3100]1[3100]1[3200]2[2000]
[5600]V[6f00]o[6300]c[6100]a[6200]b[7500]u[6c00]l[6
100]a[7200]r[7900]y[2000]
 [5400]T[6500]e[7300]s[7400]t[2000] [5400]T[7700]w[6f00]o[2000] [2000]
[2d00]-[2
000]
 [5300]S[7500]u[6d00]m[6d00]m[6500]e[7200]r[2000]
[5300]S[6300]c[6800]h[6f00]o[6
f00]o[6c00]l[2000]
 [3200]2[3000]0[3000]0[3000]0[d00]
\layout Standard

Closer inspection revealed that I was not getting "digital garbage" as
I'd said before - look carefully here and you see "ELS 112 Vocabulary
Test Two, Summer School 2000"  -- but why am I getting all the character
codes in brackets as well?

Robin



Re: 1.1.6-pre3 and wv

2001-01-11 Thread Dekel Tsur

On Wed, Jan 10, 2001 at 11:43:28AM +0200, Robin Turner wrote:
> Dekel Tsur wrote:
> It was in English.  Here's an example of what got generated:

> Closer inspection revealed that I was not getting "digital garbage" as
> I'd said before - look carefully here and you see "ELS 112 Vocabulary
> Test Two, Summer School 2000"  -- but why am I getting all the character
> codes in brackets as well?

The [n] is for unicode characters which cannot be converted to latin1
(in your case, I think that these are spacing characters).
To get rid of those, edit the file text.c in the wv sources,
and uncomment line 1622 (the line
  if (char16 >= 0x80) printf("[%x]", char16);
)

Also, you can send your complaints to the wv authors.



Re: 1.1.6-pre3 and wv

2001-01-18 Thread Robin Turner

Dekel Tsur wrote:
> 
> On Wed, Jan 10, 2001 at 11:43:28AM +0200, Robin Turner wrote:
> > Dekel Tsur wrote:
> > It was in English.  Here's an example of what got generated:
> 
> > Closer inspection revealed that I was not getting "digital garbage" as
> > I'd said before - look carefully here and you see "ELS 112 Vocabulary
> > Test Two, Summer School 2000"  -- but why am I getting all the character
> > codes in brackets as well?
> 
> The [n] is for unicode characters which cannot be converted to latin1
> (in your case, I think that these are spacing characters).
> To get rid of those, edit the file text.c in the wv sources,
> and uncomment line 1622 (the line
>   if (char16 >= 0x80) printf("[%x]", char16);
> )
> 
> Also, you can send your complaints to the wv authors.

I installed from RPMs.  If I compile wv from source, Lyx doesn't detect
it.
Is it possible to use the old mswordview in Lyx (i.e. convert Word to
HTML, then HTML to LaTeX)?

Robin



Re: 1.1.6-pre3 and wv

2001-01-18 Thread Dekel Tsur

On Thu, Jan 18, 2001 at 07:22:23PM +0200, Robin Turner wrote:
> I installed from RPMs.  If I compile wv from source, Lyx doesn't detect
> it.

In order to autodetect the wvCleanLatex program, it must be in your path.
Did you did a make install after compiling it ?
You can also add a Word->Latex converter manually using the preferences
dialog.

> Is it possible to use the old mswordview in Lyx (i.e. convert Word to
> HTML, then HTML to LaTeX)?

Yes. You just need to define a Word->html and html->latex converters in the
preferences dialog (but you will probably need to install a html->latex
converter).