* revert r32451 which broke polytonic Greek.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33054 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-01-16 09:51:27 +00:00
parent fa4be31b0c
commit 91e020e6fb
3 changed files with 5 additions and 2 deletions

View File

@ -42,7 +42,7 @@ galician galician "Galician" false iso8859-15 gl_ES ""
german german "German (old spelling)" false iso8859-15 de_DE ""
ngerman ngerman "German" false iso8859-15 de_DE ""
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

@ -189,9 +189,10 @@ static string const changetracking_none_def =
"\\newcommand{\\lyxdeleted}[3]{}\n";
static string const textgreek_def =
"\\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";

View File

@ -96,6 +96,8 @@ What's new
- LaTeX import (tex2lyx) now also recognizes the document language Kazakh.
- Fix polytonic Greek macro definition.
* USER INTERFACE