]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
Output labels (1.1, etc) with the TOC.
[lyx.git] / src / LaTeXFeatures.cpp
index 457029319b8109da841cf89bfac087c1840ee31e..7b32eac8a13ee6c7ae76b2b00d5288d5bf9502f1 100644 (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");