Great job! I will create a test version to use it.
Alex. El 01/10/2011 13:20, "Tommaso Cucinotta" <[email protected]> escribió: > Hi, > > the attached patch adds the "-C" option to LyX, allowing to use its > converters > for arbitrary files conversions, e.g.: > > lyx -C /path/to/source.dia /path/to/dest.eps > lyx --convert-to /path/to/source.dia /path/to/dest.eps > > Despite being useful in general (as this is more powerful than > ImageMagik's convert), > this might be specifically useful when invoking elyxer for conversions > to HTML. > In such a case, instead of using the default converter for elyxer, one might > use "lyx -C" as the converter used by elyxer, and be able this way to > support > arbitrary image formats. > > This option does not need any LyX buffer to operate with nor any LyX > file to be opened > when it is activated, that's why there's some unusual stuff in LyX.cpp > around > parse_convert_to(). > > Comments ? > > Bye, > > T.
