]> git.lyx.org Git - features.git/commitdiff
Simplify the definition of multi-accented polytonic Greek, patch by Günter Milde.
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 10 Dec 2009 08:26:22 +0000 (08:26 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 10 Dec 2009 08:26:22 +0000 (08:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32450 a592a061-630c-0410-9148-cb99ea01b6c8

lib/languages
src/LaTeXFeatures.cpp

index a5bcaeee6fc7078d3f8b4b874552d04a9ca3f2a4..73c0c02b254248c80f7c4880cc92d8ae526266ba 100644 (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  "\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
index 21af63295490fcce16e2aae94ae089f73c8b4551..9538fd0dea3adff1e462535354f5a236c9dcf2a0 100644 (file)
@@ -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");