* revert r32450 which broke polytonic Greek.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33055 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-01-16 09:52:42 +00:00
parent ec96bbe429
commit 95466fff15
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ german german "German (old spelling)" false iso8859-15 de_DE ""
ngerman ngerman "German" false iso8859-15 de_DE ""
german-ch ngerman "German (Switzerland)" false iso8859-15 de_CH ""
greek greek "Greek" false iso8859-7 el_GR ""
polutonikogreek polutonikogreek "Greek (polytonic)" false iso8859-7 el_GR "\addto\extraspolutonikogreek{\let\~\char126}\addto\extrasgreek{\let\~\char126}"
polutonikogreek polutonikogreek "Greek (polytonic)" false iso8859-7 el_GR "\providecommand*{\perispomeni}{\char126}\addto\extraspolutonikogreek{\let\~\perispomeni}\addto\extrasgreek{\let\~\perispomeni}"
hebrew hebrew "Hebrew" true cp1255 he_IL ""
# "hungarian" is a synonym for the "magyar" babel language option
# "hungarian" might be used for special purposes, see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf

View File

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