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))

 
> 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.

Günter

-- 
G.Milde web.de

Reply via email to