Hello
I am using Lyx for more than 2 years now to maintain the faq of
news:fr.comp.os.unix.mac, and I made a perl script to automate
conversions to text, sgml and html format. I have just upgraded to Lyx
1.2.3
Since a few Lyx versions, my script doesn't work anymore.
In the perl script, I use the following statement for exporting to
linuxdoc:
($status, $data) = $lyx->command("buffer-export linuxdoc","[M-f E x]");
An alert says :
No information for exporting to linuxdoc
and debuging info (with -dbg 8192 option) tells me :
LyXComm: No such file or directory
and no files are created.
When exporting to text format, the behavior is the same.
Notice that :
- the script did work with Lyx 1.1.5fix2
- "lyx -export linuxdoc faq.fcoum.lyx" works fine
- exporting to LinuxDoc whith menu File/Export/LinuxDoc works fine
- I use, in the perl script :
($status, $data) = $lyx->command("buffer-write","[C-s] [F2] [M-f s]");
to save the lyx file before exporting and it works fine.
So, what is the matter when exporting from the script ?
Thanks in advance.
--
Macintosh, GNU/Linux sur Macintosh et PalmOS
http://webperso.easyconnect.fr/eherlent
GNU/Linux sur Macintosh
http://www.linux-france.org/macintosh