Angus Leeming wrote: > On Thursday 25 April 2002 1:56 pm, Herbert Voss wrote: > >>Jean-Marc Lasgouttes wrote: >> >>>>>>>>"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: >>>>>>>> >>>Herbert> only an idea: we have "tons" of converter entries. Why not >>>Herbert> use convert file.from file.to as a default converter and >>>Herbert> adding only those ones which need other commands or should do >>>Herbert> not use convert. >>> >>>Do we have a notion of default converter in the code? And are we sure >>>that we always call the converter with the right file extensions? >>> >>1. no >> >>2. yes, we always no from .. to >> >>it wouls simplify the code (configure.m4) and the list of >>converters if we could define convert as a default, which >>it seems to be anyway. >> > > If it can be done without affecting (1) above, then go for it. > > Alternatively, since convert is so regular in it's syntax, can't you use that > to your advantage in the configure script. > > eps_to_xpm > convert EPS:$$i XPM:$$o > > generalises to > abc_to_xyz > convert ABC:$$i XYZ:$$o > > someone could probably write a littel script to do that...
it was very easy. When Converters.convert returns false than there is no converter, so we take convert. I had only to rearrange the configure.m4 a bit. send patch on monday HErbert -- http://www.lyx.org/help/