I'm trying to make a patch for #10188, which has to do with the fact that in some cases LyX GUI gives an error but lyx -e does not exit with non-zero exit code. At first it seemed more reasonable to change the latex() method to return a bool indicating if exporting to LaTeX had an error. I started doing this, and don't have much work left I think to finish. But then looking at Buffer::makeLaTeXFile() there is a lot of catching of exceptions there, so perhaps I should follow what is done and throw an exception instead of doing surgery on the return type.
Any thoughts? Scott
signature.asc
Description: PGP signature