* src/LaTeXFeatures.cpp: simplify greektext definition. Patch by G. Milde (bug #6458)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34100 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-04-09 09:27:54 +00:00
parent cbb60f2aa9
commit ff63d50ca8

View File

@ -195,13 +195,11 @@ static docstring const changetracking_none_def = from_ascii(
"\\newcommand{\\lyxdeleted}[3]{}\n"); "\\newcommand{\\lyxdeleted}[3]{}\n");
static docstring const textgreek_def = from_ascii( static docstring const textgreek_def = from_ascii(
"\\providecommand*{\\perispomeni}{\\char126}\n" "\\DeclareRobustCommand{\\greektext}{%\n"
"\\AtBeginDocument{\\DeclareRobustCommand{\\greektext}{%\n" " \\fontencoding{LGR}\\selectfont\\def\\encodingdefault{LGR}}\n"
" \\fontencoding{LGR}\\selectfont\\def\\encodingdefault{LGR}%\n"
" \\renewcommand{\\~}{\\perispomeni}%\n"
"}}\n"
"\\DeclareRobustCommand{\\textgreek}[1]{\\leavevmode{\\greektext #1}}\n" "\\DeclareRobustCommand{\\textgreek}[1]{\\leavevmode{\\greektext #1}}\n"
"\\DeclareFontEncoding{LGR}{}{}\n"); "\\DeclareFontEncoding{LGR}{}{}\n"
"\\DeclareTextSymbol{\\~}{LGR}{126}");
static docstring const textcyr_def = from_ascii( static docstring const textcyr_def = from_ascii(
"\\DeclareRobustCommand{\\cyrtext}{%\n" "\\DeclareRobustCommand{\\cyrtext}{%\n"