Hi list,

Uwe Stöhr and I are trying to debug a weird issue with eLyXer that
appears only on Windows, and only on certain machines. In these cases
it appears that eLyXer 0.27 is not able to parse directories with
spaces, while on other similar machines it works perfectly. The
conversion is done from inside LyX, where it does:
  elyxer.py --directory $r $i $o
and if the directory $r contains spaces, eLyXer fails to parse the
parameter set correctly. Each directory appears in the command line
enclosed in quotes:
  > elyxer.py --directory "D:\programas\LyX 1.6.4\" "Intro.lyx" "Output.html"
but in this case eLyXer will get one parameter less.

I realize that the problem does not lie with LyX itself, but
correcting it is essential for bundling eLyXer with LyX as an HTML
output format. It would seem that Python is mangling the parameters
somehow -- it has to be some configuration issue since exactly the
same code is working on a different Windows machine. Does anyone have
any idea of what can be going on?

Versions:
  - eLyXer 0.27
  - LyX 1.6.4
  - Python 2.6.2 (latest)
  - Windows XP and XP 64 bits.

Thanks a lot,

Alex Fernández.

Reply via email to