Vincent van Ravesteijn wrote: > I don't know whether it is possible, but is this kind of cases, I would > favor a method: "Inset::forceLatexLanguage()". > > In other words, I don't like testing on specific type of insets. IMO, > the code must be structured such that we could remove the InsetArgument > class, and a function in the InsetFactory, and the code should still work.
I agree, but this whole code to force latex_language (which is not mine) is a hack and should go. Jürgen