Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-15 Thread Murat Yildizoglu
Solved, sort of...
Well I can now call elyxer from Lyx.
Here is the black magic that allowed this (I do not understand at all why it
was not working before and why it works now ;-)  ):

I have tried several reconfigures+quits without any success.
Then I have decided to duplicate your configuration. I have moved elyxer.py
in Program Files/elyxer and changed the path in Lyx in conformity with this.
Then reconfigure and restart.

First trial Lyx has tried to run elyxer (instead of htlatex) and this was
already a success but it could not find elyxer since I have moved it from
the scripts folder. I have copied it back to this folder (without changing
my path string) and bingo! I have a beatiful HTML page.

Elyxer's result is really very nice out of the box. Thank you very much Alex
for this tool.

My preferences file now reads:

\path_prefix C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick;C:/Program
Files/elyxer

and

\converter lyx html python $$s/scripts/elyxer.py $$i $$o 

I am happy that it works now but I would be happy to understand why ;-)

Thanks to all (to Olivier and Alex in particular) for your help.

Best regards,

Murat

2009/6/14 Olivier Ripoll durocortorum73-gm...@yahoo.fr

 Murat Yildizoglu wrote:

 Thank you for all your help. In fact, I have also put the path to Lyx's
 script folder (where elyxer resides) to the path box in the preferences of
 Lyx in the same time as the configuration of the Lyx-HTML conversion
 command  box. If I read well Olivier's message, there is not any
 contradiction between these two boxes. I have also observed that during
 the
 first configuration,  Lyx-HTML command has disappeared from the
 conversion
 options and I had to add it by hand.


 I think I remember seeing that once.

  I have erased this command and done a reconfigure and here is what I see
 in
 my preferences file (Lyx continues to run latex and htlatex):


 Have you tried to reconfigure twice (reconf, quit, restart, reconf, quit,
 restart) as I explained in my earlier post ?

  Concerning the path (elyxer.py is in the last folder of the path)

 \path_prefix C:/Program Files/LyX16/bin;C:/Program
 Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
 Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
 Files/LyX16/Resources/scripts


 Mine is:
 \path_prefix C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex
 2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program
 Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program
 Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program
 Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program
 Files/elyxer

  Concerning the conversion:

 \converter lyx html python $$s/scripts/elyxer.py $$i $$o 


 I have the same line.


 And this is the only element about Lyx-HTML conversion

 Do you see anything strange in these items? What am I doing wrong?


 [...]

 Best regards,

 Olivier.




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-15 Thread Murat Yildizoglu
Solved, sort of...
Well I can now call elyxer from Lyx.
Here is the black magic that allowed this (I do not understand at all why it
was not working before and why it works now ;-)  ):

I have tried several reconfigures+quits without any success.
Then I have decided to duplicate your configuration. I have moved elyxer.py
in Program Files/elyxer and changed the path in Lyx in conformity with this.
Then reconfigure and restart.

First trial Lyx has tried to run elyxer (instead of htlatex) and this was
already a success but it could not find elyxer since I have moved it from
the scripts folder. I have copied it back to this folder (without changing
my path string) and bingo! I have a beatiful HTML page.

Elyxer's result is really very nice out of the box. Thank you very much Alex
for this tool.

My preferences file now reads:

\path_prefix C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick;C:/Program
Files/elyxer

and

\converter lyx html python $$s/scripts/elyxer.py $$i $$o 

I am happy that it works now but I would be happy to understand why ;-)

Thanks to all (to Olivier and Alex in particular) for your help.

Best regards,

Murat

2009/6/14 Olivier Ripoll durocortorum73-gm...@yahoo.fr

 Murat Yildizoglu wrote:

 Thank you for all your help. In fact, I have also put the path to Lyx's
 script folder (where elyxer resides) to the path box in the preferences of
 Lyx in the same time as the configuration of the Lyx-HTML conversion
 command  box. If I read well Olivier's message, there is not any
 contradiction between these two boxes. I have also observed that during
 the
 first configuration,  Lyx-HTML command has disappeared from the
 conversion
 options and I had to add it by hand.


 I think I remember seeing that once.

  I have erased this command and done a reconfigure and here is what I see
 in
 my preferences file (Lyx continues to run latex and htlatex):


 Have you tried to reconfigure twice (reconf, quit, restart, reconf, quit,
 restart) as I explained in my earlier post ?

  Concerning the path (elyxer.py is in the last folder of the path)

 \path_prefix C:/Program Files/LyX16/bin;C:/Program
 Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
 Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
 Files/LyX16/Resources/scripts


 Mine is:
 \path_prefix C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex
 2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program
 Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program
 Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program
 Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program
 Files/elyxer

  Concerning the conversion:

 \converter lyx html python $$s/scripts/elyxer.py $$i $$o 


 I have the same line.


 And this is the only element about Lyx-HTML conversion

 Do you see anything strange in these items? What am I doing wrong?


 [...]

 Best regards,

 Olivier.




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-15 Thread Murat Yildizoglu
Solved, sort of...
Well I can now call elyxer from Lyx.
Here is the black magic that allowed this (I do not understand at all why it
was not working before and why it works now ;-)  ):

I have tried several reconfigures+quits without any success.
Then I have decided to duplicate your configuration. I have moved elyxer.py
in Program Files/elyxer and changed the path in Lyx in conformity with this.
Then reconfigure and restart.

First trial Lyx has tried to run elyxer (instead of htlatex) and this was
already a success but it could not find elyxer since I have moved it from
the scripts folder. I have copied it back to this folder (without changing
my path string) and bingo! I have a beatiful HTML page.

Elyxer's result is really very nice out of the box. Thank you very much Alex
for this tool.

My preferences file now reads:

\path_prefix "C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick;C:/Program
Files/elyxer"

and

\converter "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" ""

I am happy that it works now but I would be happy to understand why ;-)

Thanks to all (to Olivier and Alex in particular) for your help.

Best regards,

Murat

2009/6/14 Olivier Ripoll 

> Murat Yildizoglu wrote:
>
>> Thank you for all your help. In fact, I have also put the path to Lyx's
>> script folder (where elyxer resides) to the path box in the preferences of
>> Lyx in the same time as the configuration of the Lyx->HTML conversion
>> command  box. If I read well Olivier's message, there is not any
>> contradiction between these two boxes. I have also observed that during
>> the
>> first configuration,  Lyx->HTML command has disappeared from the
>> conversion
>> options and I had to add it by hand.
>>
>
> I think I remember seeing that once.
>
>  I have erased this command and done a reconfigure and here is what I see
>> in
>> my preferences file (Lyx continues to run latex and htlatex):
>>
>
> Have you tried to reconfigure twice (reconf, quit, restart, reconf, quit,
> restart) as I explained in my earlier post ?
>
>  Concerning the path (elyxer.py is in the last folder of the path)
>>
>> \path_prefix "C:/Program Files/LyX16/bin;C:/Program
>> Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
>> Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
>> Files/LyX16/Resources/scripts"
>>
>
> Mine is:
> \path_prefix "C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex
> 2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program
> Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program
> Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program
> Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program
> Files/elyxer"
>
>  Concerning the conversion:
>>
>> \converter "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" ""
>>
>
> I have the same line.
>
>
>> And this is the only element about Lyx->HTML conversion
>>
>> Do you see anything strange in these items? What am I doing wrong?
>>
>
> [...]
>
> Best regards,
>
> Olivier.
>
>


-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-14 Thread Olivier Ripoll

Murat Yildizoglu wrote:

Thank you for all your help. In fact, I have also put the path to Lyx's
script folder (where elyxer resides) to the path box in the preferences of
Lyx in the same time as the configuration of the Lyx-HTML conversion
command  box. If I read well Olivier's message, there is not any
contradiction between these two boxes. I have also observed that during the
first configuration,  Lyx-HTML command has disappeared from the conversion
options and I had to add it by hand.


I think I remember seeing that once.


I have erased this command and done a reconfigure and here is what I see in
my preferences file (Lyx continues to run latex and htlatex):


Have you tried to reconfigure twice (reconf, quit, restart, reconf, 
quit, restart) as I explained in my earlier post ?



Concerning the path (elyxer.py is in the last folder of the path)

\path_prefix C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
Files/LyX16/Resources/scripts


Mine is:
\path_prefix C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex 
2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program 
Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program 
Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program 
Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program 
Files/elyxer



Concerning the conversion:

\converter lyx html python $$s/scripts/elyxer.py $$i $$o 


I have the same line.



And this is the only element about Lyx-HTML conversion

Do you see anything strange in these items? What am I doing wrong?


[...]

Best regards,

Olivier.



Re: Elyxer and Lyx 1.6.3

2009-06-14 Thread rgheck

Uwe Stöhr wrote:

Alex Fernandez schrieb:


On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglumurat.yildizo...@univ-cezanne.fr wrote:
I am trying elyxer under the last version of Lyx (1.6.3) . I have 
followed

the instructions in the list given by Olivier:


Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.


No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX 
to recognize eLyXer, you need to add the path to the eLyXer.py file to 
LyX's PATH in the preferences.


If you've previously done any sort of customization to your preferences, 
will LyX still recognize it? What did we decide about the format? Is it 
also html, or is it some other format?


rh


regards Uwe




Re: Elyxer and Lyx 1.6.3

2009-06-14 Thread Uwe Stöhr

rgheck schrieb:

No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX 
to recognize eLyXer, you need to add the path to the eLyXer.py file to 
LyX's PATH in the preferences.


If you've previously done any sort of customization to your preferences, 
will LyX still recognize it?


If you made a knot into your towel, will the next Tuesday be sunny? ;-)

What did we decide about the format? Is it 
also html, or is it some other format?


I don't understand. It is html because it produces html, for more details, see our current 
configure.py in branch.


regards Uwe


Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-14 Thread Olivier Ripoll

Murat Yildizoglu wrote:

Thank you for all your help. In fact, I have also put the path to Lyx's
script folder (where elyxer resides) to the path box in the preferences of
Lyx in the same time as the configuration of the Lyx-HTML conversion
command  box. If I read well Olivier's message, there is not any
contradiction between these two boxes. I have also observed that during the
first configuration,  Lyx-HTML command has disappeared from the conversion
options and I had to add it by hand.


I think I remember seeing that once.


I have erased this command and done a reconfigure and here is what I see in
my preferences file (Lyx continues to run latex and htlatex):


Have you tried to reconfigure twice (reconf, quit, restart, reconf, 
quit, restart) as I explained in my earlier post ?



Concerning the path (elyxer.py is in the last folder of the path)

\path_prefix C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
Files/LyX16/Resources/scripts


Mine is:
\path_prefix C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex 
2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program 
Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program 
Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program 
Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program 
Files/elyxer



Concerning the conversion:

\converter lyx html python $$s/scripts/elyxer.py $$i $$o 


I have the same line.



And this is the only element about Lyx-HTML conversion

Do you see anything strange in these items? What am I doing wrong?


[...]

Best regards,

Olivier.



Re: Elyxer and Lyx 1.6.3

2009-06-14 Thread rgheck

Uwe Stöhr wrote:

Alex Fernandez schrieb:


On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglumurat.yildizo...@univ-cezanne.fr wrote:
I am trying elyxer under the last version of Lyx (1.6.3) . I have 
followed

the instructions in the list given by Olivier:


Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.


No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX 
to recognize eLyXer, you need to add the path to the eLyXer.py file to 
LyX's PATH in the preferences.


If you've previously done any sort of customization to your preferences, 
will LyX still recognize it? What did we decide about the format? Is it 
also html, or is it some other format?


rh


regards Uwe




Re: Elyxer and Lyx 1.6.3

2009-06-14 Thread Uwe Stöhr

rgheck schrieb:

No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX 
to recognize eLyXer, you need to add the path to the eLyXer.py file to 
LyX's PATH in the preferences.


If you've previously done any sort of customization to your preferences, 
will LyX still recognize it?


If you made a knot into your towel, will the next Tuesday be sunny? ;-)

What did we decide about the format? Is it 
also html, or is it some other format?


I don't understand. It is html because it produces html, for more details, see our current 
configure.py in branch.


regards Uwe


Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-14 Thread Olivier Ripoll

Murat Yildizoglu wrote:

Thank you for all your help. In fact, I have also put the path to Lyx's
script folder (where elyxer resides) to the path box in the preferences of
Lyx in the same time as the configuration of the Lyx->HTML conversion
command  box. If I read well Olivier's message, there is not any
contradiction between these two boxes. I have also observed that during the
first configuration,  Lyx->HTML command has disappeared from the conversion
options and I had to add it by hand.


I think I remember seeing that once.


I have erased this command and done a reconfigure and here is what I see in
my preferences file (Lyx continues to run latex and htlatex):


Have you tried to reconfigure twice (reconf, quit, restart, reconf, 
quit, restart) as I explained in my earlier post ?



Concerning the path (elyxer.py is in the last folder of the path)

\path_prefix "C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
Files/LyX16/Resources/scripts"


Mine is:
\path_prefix "C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex 
2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program 
Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program 
Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program 
Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program 
Files/elyxer"



Concerning the conversion:

\converter "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" ""


I have the same line.



And this is the only element about Lyx->HTML conversion

Do you see anything strange in these items? What am I doing wrong?


[...]

Best regards,

Olivier.



Re: Elyxer and Lyx 1.6.3

2009-06-14 Thread rgheck

Uwe Stöhr wrote:

Alex Fernandez schrieb:


On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglu<murat.yildizo...@univ-cezanne.fr> wrote:
I am trying elyxer under the last version of Lyx (1.6.3) . I have 
followed

the instructions in the list given by Olivier:


Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.


No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX 
to recognize eLyXer, you need to add the path to the eLyXer.py file to 
LyX's PATH in the preferences.


If you've previously done any sort of customization to your preferences, 
will LyX still recognize it? What did we decide about the format? Is it 
also html, or is it some other format?


rh


regards Uwe




Re: Elyxer and Lyx 1.6.3

2009-06-14 Thread Uwe Stöhr

rgheck schrieb:

No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX 
to recognize eLyXer, you need to add the path to the eLyXer.py file to 
LyX's PATH in the preferences.


If you've previously done any sort of customization to your preferences, 
will LyX still recognize it?


If you made a knot into your towel, will the next Tuesday be sunny? ;-)

What did we decide about the format? Is it 
also html, or is it some other format?


I don't understand. It is html because it produces html, for more details, see our current 
configure.py in branch.


regards Uwe


Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Olivier Ripoll

Murat Yildizoglu wrote:

Hi,
I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


I managed to get elyxer working by doing the following:

- copy elyxer.py to the script folder (C:\Program Files\LyX
1.6.3\Resources\scripts)
on my machine,- in Preferences - Converters, in the LyX - HTML, modify the
command to be:


python $$s/scripts/elyxer.py $$i $$o


I have installed the last version (0.29) of the elyxer.py script in the
folder indicated by Olivier and changed Lyx-HTML conversion command as
indicated.
I have done a reconfigure, just incase.


Hi,

First, in the same thread, I was indicating that I had a problem with 
reconfigure:


To have it to work, I have to reconfigure, then close lyx, reopen, 
reconfigure, close again, and only at the second restart, I had it to 
work. Try that, and perhaps the problem will be solved.


If it still fails, then you should follow the instructions given by Uwe 
in the same thread, namely:
But even now, LyX will recognize eLyXer when you have it installed. All 
you have to do is to add the path to the file elyxer.py in the PATH 
prefix in LyX's preferences. Then reconfigure LyX and eLyXer should work.


I think that if you install in the lyx resources script folder, you 
should not need to do it, but in case, you may try it.



I actually have a different situation, so if everything still fail, here 
it is: elyxer is installed in Program Files, and this folder was added 
to LyX path. So it's the one seen by reconfigure script (I think). Then 
only, I copy the script in LyX's script folder.


Good luck !

Best regards,

Olivier.




But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
I am probably missing something but I do not know what :-(

Sorry if I am making a stupid mistake but I would appreciate a lot your help
at this point, since I am just blocked...

Regards,

Murat




Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Uwe Stöhr

Alex Fernandez schrieb:


On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglumurat.yildizo...@univ-cezanne.fr wrote:

I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.


No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to recognize eLyXer, you need 
to add the path to the eLyXer.py file to LyX's PATH in the preferences.


regards Uwe


Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Alex Fernandez
Hi Uwe,

On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhruwesto...@web.de wrote:
 Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
 downloaded it to try, but I was under that impression. Well, maybe
 not.

 No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to
 recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's
 PATH in the preferences.

That is actually what I meant with support: recognize it and use it
if present. Sorry for the confusion.

Alex.


Fwd: Elyxer and Lyx 1.6.3

2009-06-13 Thread Murat Yildizoglu
Thank you for all your help. In fact, I have also put the path to Lyx's
script folder (where elyxer resides) to the path box in the preferences of
Lyx in the same time as the configuration of the Lyx-HTML conversion
command  box. If I read well Olivier's message, there is not any
contradiction between these two boxes. I have also observed that during the
first configuration,  Lyx-HTML command has disappeared from the conversion
options and I had to add it by hand.
I have erased this command and done a reconfigure and here is what I see in
my preferences file (Lyx continues to run latex and htlatex):

Concerning the path (elyxer.py is in the last folder of the path)

\path_prefix C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
Files/LyX16/Resources/scripts

Concerning the conversion:

\converter lyx html python $$s/scripts/elyxer.py $$i $$o 

And this is the only element about Lyx-HTML conversion

Do you see anything strange in these items? What am I doing wrong?

I have also done another experiment: I have erased this conversion line from
the preferences files but let the path to elyxer in the path box. Then I
have opened Lyx and done a reconfigure. Then closed and reopened Lyx but
there was not any line with Lyx-HTML in the conversion box. Reconfigure
does not seem to be able to find elyxer.py, even it is supposed to if I
understand well Uwe. I am lost...

Last information: I have used the standard installer for Lyx under Windows
XP.

Murat


2009/6/13 Alex Fernandez ely...@gmail.com

 Hi Uwe,

 On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhruwesto...@web.de wrote:
  Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
  downloaded it to try, but I was under that impression. Well, maybe
  not.
 
  No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to
  recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's
  PATH in the preferences.

 That is actually what I meant with support: recognize it and use it
 if present. Sorry for the confusion.

 Alex.




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Olivier Ripoll

Murat Yildizoglu wrote:

Hi,
I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


I managed to get elyxer working by doing the following:

- copy elyxer.py to the script folder (C:\Program Files\LyX
1.6.3\Resources\scripts)
on my machine,- in Preferences - Converters, in the LyX - HTML, modify the
command to be:


python $$s/scripts/elyxer.py $$i $$o


I have installed the last version (0.29) of the elyxer.py script in the
folder indicated by Olivier and changed Lyx-HTML conversion command as
indicated.
I have done a reconfigure, just incase.


Hi,

First, in the same thread, I was indicating that I had a problem with 
reconfigure:


To have it to work, I have to reconfigure, then close lyx, reopen, 
reconfigure, close again, and only at the second restart, I had it to 
work. Try that, and perhaps the problem will be solved.


If it still fails, then you should follow the instructions given by Uwe 
in the same thread, namely:
But even now, LyX will recognize eLyXer when you have it installed. All 
you have to do is to add the path to the file elyxer.py in the PATH 
prefix in LyX's preferences. Then reconfigure LyX and eLyXer should work.


I think that if you install in the lyx resources script folder, you 
should not need to do it, but in case, you may try it.



I actually have a different situation, so if everything still fail, here 
it is: elyxer is installed in Program Files, and this folder was added 
to LyX path. So it's the one seen by reconfigure script (I think). Then 
only, I copy the script in LyX's script folder.


Good luck !

Best regards,

Olivier.




But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
I am probably missing something but I do not know what :-(

Sorry if I am making a stupid mistake but I would appreciate a lot your help
at this point, since I am just blocked...

Regards,

Murat




Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Uwe Stöhr

Alex Fernandez schrieb:


On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglumurat.yildizo...@univ-cezanne.fr wrote:

I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.


No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to recognize eLyXer, you need 
to add the path to the eLyXer.py file to LyX's PATH in the preferences.


regards Uwe


Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Alex Fernandez
Hi Uwe,

On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhruwesto...@web.de wrote:
 Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
 downloaded it to try, but I was under that impression. Well, maybe
 not.

 No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to
 recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's
 PATH in the preferences.

That is actually what I meant with support: recognize it and use it
if present. Sorry for the confusion.

Alex.


Fwd: Elyxer and Lyx 1.6.3

2009-06-13 Thread Murat Yildizoglu
Thank you for all your help. In fact, I have also put the path to Lyx's
script folder (where elyxer resides) to the path box in the preferences of
Lyx in the same time as the configuration of the Lyx-HTML conversion
command  box. If I read well Olivier's message, there is not any
contradiction between these two boxes. I have also observed that during the
first configuration,  Lyx-HTML command has disappeared from the conversion
options and I had to add it by hand.
I have erased this command and done a reconfigure and here is what I see in
my preferences file (Lyx continues to run latex and htlatex):

Concerning the path (elyxer.py is in the last folder of the path)

\path_prefix C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
Files/LyX16/Resources/scripts

Concerning the conversion:

\converter lyx html python $$s/scripts/elyxer.py $$i $$o 

And this is the only element about Lyx-HTML conversion

Do you see anything strange in these items? What am I doing wrong?

I have also done another experiment: I have erased this conversion line from
the preferences files but let the path to elyxer in the path box. Then I
have opened Lyx and done a reconfigure. Then closed and reopened Lyx but
there was not any line with Lyx-HTML in the conversion box. Reconfigure
does not seem to be able to find elyxer.py, even it is supposed to if I
understand well Uwe. I am lost...

Last information: I have used the standard installer for Lyx under Windows
XP.

Murat


2009/6/13 Alex Fernandez ely...@gmail.com

 Hi Uwe,

 On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhruwesto...@web.de wrote:
  Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
  downloaded it to try, but I was under that impression. Well, maybe
  not.
 
  No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to
  recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's
  PATH in the preferences.

 That is actually what I meant with support: recognize it and use it
 if present. Sorry for the confusion.

 Alex.




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Olivier Ripoll

Murat Yildizoglu wrote:

Hi,
I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


"I managed to get elyxer working by doing the following:

- copy elyxer.py to the script folder ("C:\Program Files\LyX
1.6.3\Resources\scripts")
on my machine,- in Preferences -> Converters, in the LyX -> HTML, modify the
command to be:


python $$s/scripts/elyxer.py $$i $$o"


I have installed the last version (0.29) of the elyxer.py script in the
folder indicated by Olivier and changed Lyx->HTML conversion command as
indicated.
I have done a reconfigure, just incase.


Hi,

First, in the same thread, I was indicating that I had a problem with 
reconfigure:


To have it to work, I have to reconfigure, then close lyx, reopen, 
reconfigure, close again, and only at the second restart, I had it to 
work. Try that, and perhaps the problem will be solved.


If it still fails, then you should follow the instructions given by Uwe 
in the same thread, namely:
"But even now, LyX will recognize eLyXer when you have it installed. All 
you have to do is to add the path to the file elyxer.py in the PATH 
prefix in LyX's preferences. Then reconfigure LyX and eLyXer should work."


I think that if you install in the lyx resources script folder, you 
should not need to do it, but in case, you may try it.



I actually have a different situation, so if everything still fail, here 
it is: elyxer is installed in "Program Files", and this folder was added 
to LyX path. So it's the one seen by reconfigure script (I think). Then 
only, I copy the script in LyX's script folder.


Good luck !

Best regards,

Olivier.




But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
I am probably missing something but I do not know what :-(

Sorry if I am making a stupid mistake but I would appreciate a lot your help
at this point, since I am just blocked...

Regards,

Murat




Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Uwe Stöhr

Alex Fernandez schrieb:


On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglu<murat.yildizo...@univ-cezanne.fr> wrote:

I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.


No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to recognize eLyXer, you need 
to add the path to the eLyXer.py file to LyX's PATH in the preferences.


regards Uwe


Re: Elyxer and Lyx 1.6.3

2009-06-13 Thread Alex Fernandez
Hi Uwe,

On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhr<uwesto...@web.de> wrote:
>> Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
>> downloaded it to try, but I was under that impression. Well, maybe
>> not.
>
> No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to
> recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's
> PATH in the preferences.

That is actually what I meant with "support": recognize it and use it
if present. Sorry for the confusion.

Alex.


Fwd: Elyxer and Lyx 1.6.3

2009-06-13 Thread Murat Yildizoglu
Thank you for all your help. In fact, I have also put the path to Lyx's
script folder (where elyxer resides) to the path box in the preferences of
Lyx in the same time as the configuration of the Lyx->HTML conversion
command  box. If I read well Olivier's message, there is not any
contradiction between these two boxes. I have also observed that during the
first configuration,  Lyx->HTML command has disappeared from the conversion
options and I had to add it by hand.
I have erased this command and done a reconfigure and here is what I see in
my preferences file (Lyx continues to run latex and htlatex):

Concerning the path (elyxer.py is in the last folder of the path)

\path_prefix "C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
Files/LyX16/Resources/scripts"

Concerning the conversion:

\converter "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" ""

And this is the only element about Lyx->HTML conversion

Do you see anything strange in these items? What am I doing wrong?

I have also done another experiment: I have erased this conversion line from
the preferences files but let the path to elyxer in the path box. Then I
have opened Lyx and done a reconfigure. Then closed and reopened Lyx but
there was not any line with Lyx->HTML in the conversion box. Reconfigure
does not seem to be able to find elyxer.py, even it is supposed to if I
understand well Uwe. I am lost...

Last information: I have used the standard installer for Lyx under Windows
XP.

Murat


2009/6/13 Alex Fernandez <ely...@gmail.com>

> Hi Uwe,
>
> On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhr<uwesto...@web.de> wrote:
> >> Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
> >> downloaded it to try, but I was under that impression. Well, maybe
> >> not.
> >
> > No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to
> > recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's
> > PATH in the preferences.
>
> That is actually what I meant with "support": recognize it and use it
> if present. Sorry for the confusion.
>
> Alex.
>



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Elyxer and Lyx 1.6.3

2009-06-12 Thread Murat Yildizoglu
Hi,
I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


I managed to get elyxer working by doing the following:

- copy elyxer.py to the script folder (C:\Program Files\LyX
1.6.3\Resources\scripts)
on my machine,- in Preferences - Converters, in the LyX - HTML, modify the
command to be:


python $$s/scripts/elyxer.py $$i $$o


I have installed the last version (0.29) of the elyxer.py script in the
folder indicated by Olivier and changed Lyx-HTML conversion command as
indicated.
I have done a reconfigure, just incase.

But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
I am probably missing something but I do not know what :-(

Sorry if I am making a stupid mistake but I would appreciate a lot your help
at this point, since I am just blocked...

Regards,

Murat
-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Elyxer and Lyx 1.6.3

2009-06-12 Thread Alex Fernandez
Hi Murat,

On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglumurat.yildizo...@univ-cezanne.fr wrote:
 I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
 the instructions in the list given by Olivier:

Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.

 But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
 I am probably missing something but I do not know what :-(

I am sorry I can't help you. Surely someone else on the list can help
you. Meanwhile you can try manual conversion on a DOS terminal,
writing:
   Python.exe route_to_elyxer\elyxer.py filein.lyx fileout.html

Let us hope that LyX 1.6.4 comes already preconfigured to use eLyXer
and that the Windows installer optionally installs it. It would solve
a lot of problems for users.

Thanks,

Alex.


Elyxer and Lyx 1.6.3

2009-06-12 Thread Murat Yildizoglu
Hi,
I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


I managed to get elyxer working by doing the following:

- copy elyxer.py to the script folder (C:\Program Files\LyX
1.6.3\Resources\scripts)
on my machine,- in Preferences - Converters, in the LyX - HTML, modify the
command to be:


python $$s/scripts/elyxer.py $$i $$o


I have installed the last version (0.29) of the elyxer.py script in the
folder indicated by Olivier and changed Lyx-HTML conversion command as
indicated.
I have done a reconfigure, just incase.

But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
I am probably missing something but I do not know what :-(

Sorry if I am making a stupid mistake but I would appreciate a lot your help
at this point, since I am just blocked...

Regards,

Murat
-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Elyxer and Lyx 1.6.3

2009-06-12 Thread Alex Fernandez
Hi Murat,

On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglumurat.yildizo...@univ-cezanne.fr wrote:
 I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
 the instructions in the list given by Olivier:

Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.

 But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
 I am probably missing something but I do not know what :-(

I am sorry I can't help you. Surely someone else on the list can help
you. Meanwhile you can try manual conversion on a DOS terminal,
writing:
   Python.exe route_to_elyxer\elyxer.py filein.lyx fileout.html

Let us hope that LyX 1.6.4 comes already preconfigured to use eLyXer
and that the Windows installer optionally installs it. It would solve
a lot of problems for users.

Thanks,

Alex.


Elyxer and Lyx 1.6.3

2009-06-12 Thread Murat Yildizoglu
Hi,
I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
the instructions in the list given by Olivier:


"I managed to get elyxer working by doing the following:

- copy elyxer.py to the script folder ("C:\Program Files\LyX
1.6.3\Resources\scripts")
on my machine,- in Preferences -> Converters, in the LyX -> HTML, modify the
command to be:


python $$s/scripts/elyxer.py $$i $$o"


I have installed the last version (0.29) of the elyxer.py script in the
folder indicated by Olivier and changed Lyx->HTML conversion command as
indicated.
I have done a reconfigure, just incase.

But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
I am probably missing something but I do not know what :-(

Sorry if I am making a stupid mistake but I would appreciate a lot your help
at this point, since I am just blocked...

Regards,

Murat
-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Elyxer and Lyx 1.6.3

2009-06-12 Thread Alex Fernandez
Hi Murat,

On Fri, Jun 12, 2009 at 4:56 PM, Murat
Yildizoglu wrote:
> I am trying elyxer under the last version of Lyx (1.6.3) . I have followed
> the instructions in the list given by Olivier:

Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't
downloaded it to try, but I was under that impression. Well, maybe
not.

> But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex.
> I am probably missing something but I do not know what :-(

I am sorry I can't help you. Surely someone else on the list can help
you. Meanwhile you can try manual conversion on a DOS terminal,
writing:
  > Python.exe \elyxer.py filein.lyx fileout.html

Let us hope that LyX 1.6.4 comes already preconfigured to use eLyXer
and that the Windows installer optionally installs it. It would solve
a lot of problems for users.

Thanks,

Alex.