From: Martin Vermeer Date: Mon, 28 Jul 2003 07:50:24 +0000 (+0000) Subject: The right fix to insetnote's greyedout: use \color and \normalcolor. X-Git-Tag: 1.6.10~16425 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7aecdcd585cf8eca908b2ef23c14670c0e36a834;p=lyx.git The right fix to insetnote's greyedout: use \color and \normalcolor. Thanks J�rgen S. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7406 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index e82bd3cce5..5e0e34806d 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2003-07-28 Martin Vermeer + *insetnote.C: did the right fix to greyedout: \color + instead of \textcolor. + 2003-07-28 Angus Leeming * insetbibtex.h: remove extraneous forward declaration. diff --git a/src/insets/insetnote.C b/src/insets/insetnote.C index d8acb2a3e3..ce4188331e 100644 --- a/src/insets/insetnote.C +++ b/src/insets/insetnote.C @@ -153,7 +153,7 @@ int InsetNote::latex(Buffer const * buf, ostream & os, if (pt == "Comment") os << "%\n\\begin{comment}\n"; // remember to validate else if (pt == "Greyedout") - os << "%\n\\textcolor[gray]{0.8}{"; + os << "%\n\\color[gray]{0.8}"; if (pt != "Note") i = inset.latex(buf, os, runparams);