Richard Heck wrote: > I'm guessing it's because amsdefs.inc Provides amsmath, and then you have: > bool LaTeXFeatures::mustProvide(string const & name) const > { > return isRequired(name) && !params_.getTextClass().provides(name); > } > So the require is ignored.
Yes, this makes sense. And then, it would even be correct to _not_ load amsmath explicitely. > Another possibility is that the order could get messed up in such cases. > > For what it's worth, I don't understand this Preamble bit. So far as I > can see, there isn't any other Preamble bit we're overriding here, and > that's what the comment makes it sound like. Me neither. I don't have time to test it, and the ams classes are fragile due to the several includes and subincludes. So I leave it for now. Jürgen