> OK, but what is the link between InsetERT not having a ::latex method ans > not outputting anything? The InsetText::latex is sufficiently flexible to > handle it. Likewise for many insets derived from InsetCommand (label, > bibitem...).
I forgot to answer this. Putting this default latex method in Inset is just a quick and easy safeguard; so insets (current and future ones) that don't produce any output because their latex method is not defined will not be matched freely and thus won't be at risk of dataloss. Those in which their latex method is not called AND they don't produce output will not be saved automatically unfortunately. [But if they don't handle their own latex output, probably they don't store that much information anyway and the loss will not be so serious]. If it bothers you, I can leave out the Inset::latex part and only fix InsetNote and InsetBranch and see if something else comes out. A/