On Tue, Jun 04, 2002 at 08:21:05AM +0200, Andre Poenitz wrote: > > Then you may want to consider radio buttons: > > > > < > "Use AMS" > > < > "Don't use AMS" > > <x> "Let LyX decide" > > ... _that_ might indeed be an option. Would that be difficult to implement? > > Andre'
Shouldn't be -- I think. Just boolean logic, and one extra parameter, param.suppress_amsmath. In LaTeXFeatures.C we have if (isRequired("amsmath") && ! tclass.provides(LyXTextClass::amsmath)) { packages << "\\usepackage{amsmath}\n"; } and in buffer.C // AMS Style is at document level if (params.use_amsmath || tclass.provides(LyXTextClass::amsmath)) features.require("amsmath"); ...which suggests that this is doable. But what did Herbert have already, as John said higher up here? Martin
msg39038/pgp00000.pgp
Description: PGP signature