On Wednesday 08 June 2005 08:30, G. Milde wrote: > On 7.06.05, Jose' Matos wrote: > > Hello, > > > > I have implemented the --try-hard option. As you can see it will catch > > any python exception in the convertion step and ignore it. > > > > My question is how to warn the user that something wrong happened > > during the convertion? The goal would be to ask the user to report it > > to us. > > Since version 2.3, python comes with a highly customizable logging module > that could be used trigger the creation of an error log file (my LyX > package uses the logging module for all diagnostic information (but > currently only feedback to stdout, no log file))
That requirement is not an option for 1.4 as I have stated before (minimum requirements for lyx2lyx). > > There is another possible step in the direction of a reasonable lyx > > file, to sanitize the lyx file output. We can, for example, remove any > > keyword not allowed in lyx present version... > > This would be a nice option. However, as it removes information, it > should be kept as an option, so by default LyX would warn the user about > the error. This should be an option, yes. If necessary we can place the replaced text inside a note, then we can loose presentation but not the content. :-) > Günter -- José Abílio