On 2009-12-08, Jürgen Spitzmüller wrote:
> Guenter Milde wrote:

>> It would be easier to diff against trunk, as my stable lyx comes from
>> a binary package.

> Trunk is OK as well.

Here you are.

Günter


diff --git a/lib/languages b/lib/languages
index 42f812c..5a86ea8 100644
--- a/lib/languages
+++ b/lib/languages
@@ -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  
"\providecommand*{\perispomeni}{\char126}\addto\extraspolutonikogreek{\let\~\perispomeni}\addto\extrasgreek{\let\~\perispomeni}"
+polutonikogreek polutonikogreek        "Greek (polytonic)"     false  
iso8859-7  el_GR  
"\addto\extraspolutonikogreek{\let\~\char126}\addto\extrasgreek{\let\~\char126}"
 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


diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 8c04af2..34c948d 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -195,10 +195,9 @@ 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{\\~}{\\perispomeni}\n"
+       "  \\renewcommand{\\~}{\\char126}\n"
        "}}\n"
        "\\DeclareRobustCommand{\\textgreek}[1]{\\leavevmode{\\greektext #1}}\n"
        "\\DeclareFontEncoding{LGR}{}{}\n");

Reply via email to