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
This commit is contained in:
Martin Vermeer 2003-07-28 07:50:24 +00:00
parent a16c8a8759
commit 7aecdcd585
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
*insetnote.C: did the right fix to greyedout: \color
instead of \textcolor.
2003-07-28 Angus Leeming <leeming@lyx.org>
* insetbibtex.h: remove extraneous forward declaration.

View File

@ -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);