Le 06/09/2009 12:40, Jürgen Spitzmüller a écrit :
There's one major obstacle that holds the use of multiple alternative
converters for a given output format: the LyX conversion chain allows only one
converter per output format (thus, we have the odd pdf{2-4} formats). I think
it would be wrong to add a new output format for each alternative converter,
so my idea would be to introduce some kind of "via" parameter that can
optionally be taken into account. Then, we would be able not only to request a
converter "from - to" (as is now), but we could also request a converter "from
- to - via". The "via" parameter would be basically just a unique identifier
for a converter. This would allow us to drop the duplicated file formats and
replace "buffer-view pdf2" by "buffer-view pdf pdflatex", for instance. If the
via argument is empty, the default converter for the given format would be
used.
What do you think?
(I didn't look too deep into the converter code yet, so I don't know how hard
it will be to implement the idea; surely it involves quite some work).
I like it, but the name in the menus may become awkward. Doyou plan to
give names to converters? It would not be bad.
JMarc