On Tue, Oct 4, 2011 at 4:21 PM, Tommaso Cucinotta <tomm...@lyx.org> wrote:
>> Good idea. I have implemented it and exported a new version, again at:
>>
>> http://download-mirror.savannah.gnu.org/releases/elyxer/older/elyxer-lyx-C.py
>> It works exactly as you describe.
>
> Nice, I'll try this. Did you modify the "semantics" of the --converter
> option,
> or do you have a new option now, or do you distinguish whether the converter
> command is being supplied along with its syntax or not ? (just to know).

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.

Alex.

Reply via email to