Re: Export to Open document

2009-02-02 Thread Paul A. Rubin

Piero Faustini wrote:

Hesham Kamel  writes:


My system is Windows


I also use windows, XP sp3, Lyx 1.6.1 installed with the alt installer
I've never been able to export (with the menu tools) to a open document, and I 
use Lyx since the 1.5.4 version.
The problem has always been more or less the same of Hesham, but in last 
versions (I can't tell since which one) the document IS created, is more or 
less 7kb (inconsistent with lyx document dimensions) and results empty.


I tried with small new documents, guide documents etc.: no way.

Any idea?



See http://thread.gmane.org/gmane.editors.lyx.general/52630.

There are apparently incorrect paths hardcoded into the version of 
TeX4HT that comes with MiKTeX 2.7.  I tried hacking the .env file, to no 
avail.  Andreas Hofer's workaround works for me, though:  create 
C:\tex4ht\texmf\ and copy the entire tex4ht directory from under MiKTeX 
2.7 into that (creating C:\tex4ht\texmf\tex4ht\ and assorted 
subdirectories).


/Paul



Re: Export to Open document

2009-02-02 Thread Paul A. Rubin

Hesham Kamel wrote:

My system is Windows

On Thu, Jan 29, 2009 at 9:07 PM, Typhoon  wrote:


On Thu, 29 Jan 2009 18:43:57 -0500
Hesham Kamel  wrote:


Hi,
I am trying to export a lyx document into an open document, I press
export, but then no files are created.
Can someone help?
The reason is I am trying to get the file into an MS Word file so my
supervisor can open it.

We need to know what system you are on. On Linux, the best export is
tex4ht. There is a special script oolatex that creates the .odt file.

I don't know how it works on Windows.

Cheers,
Alan


Thank you,
Hesham





It's basically the same on Windows.  You need oolatex.exe and TeX4HT. 
Assuming you are using MiKTeX 2.7, you should make sure that the tex4ht 
package and the miktex-tex4ht-bin-2.7 package are installed.  The MiKTeX 
bin directory should also contain oolatex.exe.  If it does not, try running


initexmf --mklinks

in a DOS shell and see if that creates oolatex.exe.

/Paul



Re: Export to Open document

2009-01-30 Thread Piero Faustini
Hesham Kamel  writes:

> 
> My system is Windows

I also use windows, XP sp3, Lyx 1.6.1 installed with the alt installer
I've never been able to export (with the menu tools) to a open document, and I 
use Lyx since the 1.5.4 version.
The problem has always been more or less the same of Hesham, but in last 
versions (I can't tell since which one) the document IS created, is more or 
less 7kb (inconsistent with lyx document dimensions) and results empty.

I tried with small new documents, guide documents etc.: no way.

Any idea?






Re: Export to Open document

2009-01-29 Thread Hesham Kamel
My system is Windows

On Thu, Jan 29, 2009 at 9:07 PM, Typhoon  wrote:

> On Thu, 29 Jan 2009 18:43:57 -0500
> Hesham Kamel  wrote:
>
> > Hi,
> > I am trying to export a lyx document into an open document, I press
> > export, but then no files are created.
> > Can someone help?
> > The reason is I am trying to get the file into an MS Word file so my
> > supervisor can open it.
>
> We need to know what system you are on. On Linux, the best export is
> tex4ht. There is a special script oolatex that creates the .odt file.
>
> I don't know how it works on Windows.
>
> Cheers,
> Alan
>
> > Thank you,
> > Hesham
> >
>


Re: Export to Open document

2009-01-29 Thread Typhoon
On Thu, 29 Jan 2009 18:43:57 -0500
Hesham Kamel  wrote:

> Hi,
> I am trying to export a lyx document into an open document, I press
> export, but then no files are created.
> Can someone help?
> The reason is I am trying to get the file into an MS Word file so my
> supervisor can open it.

We need to know what system you are on. On Linux, the best export is
tex4ht. There is a special script oolatex that creates the .odt file.

I don't know how it works on Windows.

Cheers,
Alan

> Thank you,
> Hesham
> 


Export to Open document

2009-01-29 Thread Hesham Kamel
Hi,
I am trying to export a lyx document into an open document, I press export,
but then no files are created.
Can someone help?
The reason is I am trying to get the file into an MS Word file so my
supervisor can open it.
Thank you,
Hesham