+2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * buffer.C: change tracking (dvipost) doesn't require
+ color.sty anymore.
+
+ * LaTeXFeatures.C (getPackages): no need for the color
+ option "usenames" (bug 2169).
+
2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
* buffer_funcs.C: Trivial fix - added {} around
the statements to be affected by a if-test. Now
// color.sty
if (isRequired("color")) {
if (params_.graphicsDriver == "default")
- packages << "\\usepackage[usenames]{color}\n";
+ packages << "\\usepackage{color}\n";
else
packages << "\\usepackage["
<< params_.graphicsDriver
- << ",usenames"
<< "]{color}\n";
}
LyXTextClass const & tclass = params().getLyXTextClass();
if (features.isAvailable("dvipost") && params().tracking_changes
- && params().output_changes) {
+ && params().output_changes)
features.require("dvipost");
- features.require("color");
- }
// AMS Style is at document level
if (params().use_amsmath == BufferParams::AMS_ON