> Author: spitz > Date: Sat Jan 19 12:17:12 2008 > New Revision: 22629 > > URL: http://www.lyx.org/trac/changeset/22629 > Log: > Fix hyperref-soul conflict and sanitize hyperref management ... > + /** FIXME: If the textclass provides hyperref, the GUI is > + non-functional.
hmm, in which cases (how often) this happens? >To fix this, we would need requires("hyperref") > + below, pass getTextClass().provides("hyperref") to > + pdfoptions().writeLaTeX(oss) and load the options via > + \hypersetup instead of tha package's optional argument. > + **/ > + if (features.mustProvide("hyperref")) { > + odocstringstream oss; > + pdfoptions().writeLaTeX(oss); > + lyxpreamble += oss.str(); > + } pavel