Il 04/10/2011 17:26, Alex Fernandez ha scritto:
It is the same option as before. But now, if the argument is found in
ImageConfig.converters then it is used as a shortcut to the configured
command line; otherwise the whole command supplied is used. For
example the new option:
[ImageConfig.converters]
lyx:lyx -C "$input" "$output"
means that
$ elyxer.py --converter "lyx" ...
is equivalent to
$ elyxer.py -- converter "lyx -C \"$input\" \"$output\"" ...
Note the escaped quotes for the full command.
Any backward compatibility issues that may possibly arise ?
I also try to think about backwards compatibility, and in this case I
can think of no problem. It will even recognize if the command is not
working and disable it.
Very nice. One last thing. I guess I'd need a test in configure.py about the
version of elyxer currently installed, so probably there's someway to
issue a "elyxer --version", and change the way elyxer is invoked depending
on its output. What would be the release accepting the new syntax ?
Thanks,
T.