On 08/09/2011 2:16 AM, Tommaso Cucinotta wrote:
Il 07/09/2011 15:21, Tommaso Cucinotta ha scritto:
Il 07/09/2011 14:23, Julien Rioux ha scritto:
(having looked at your patch)
Can you write a python port of libreoffice2eps.sh?
then it's also portable to windows.
ok, that was the real reason of why all the scripts were Python. Sure,
I'll do that.
However, I'm not sure of the availability on Windows and Mac of the
following commands:
- cat
- ps2eps
- libreoffice -nologo -convert-to eps -outdir path/to/destination
/path/to/input.odg
Can any Windows/Mac user confirm whether I can use these programs
without problems (e.g., "os.system('ps2eps ...')), or not ?
Thanks,
T.
Well, looking at your script again, we don't really need a script.
We just need to set up a odg->ps converter, then let LyX do the ps2eps
part (and yes, it's available on windows).
libreoffice -nologo -convert-to eps -o $$o $$i
I think we also need -headless in that call?
Cheers,
Julien