From: Georg Baum Date: Sun, 13 Aug 2006 17:36:49 +0000 (+0000) Subject: Fix bug 2723 X-Git-Tag: 1.6.10~12838 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a392ba1c17c28445bd043567c9b775626cefff74;p=features.git Fix bug 2723 * src/lyx_sty.C (lyxgreyedout_def): Use \textcolor instead of \color git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14654 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/lyx_sty.C b/src/lyx_sty.C index 01945fd181..3bd1179874 100644 --- a/src/lyx_sty.C +++ b/src/lyx_sty.C @@ -125,7 +125,7 @@ string const tabularnewline_def = string const lyxgreyedout_def = "%% The greyedout annotation environment\n" - "\\newenvironment{lyxgreyedout}{\\color[gray]{0.8}}{}\n"; + "\\newenvironment{lyxgreyedout}{\\textcolor[gray]{0.8}\\bgroup}{\\egroup}\n"; // We want to omit the file extension for includegraphics, but this does not // work when the filename contains other dots.