From 2c5637b83108aae0be551d70b12356db8f1d96a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 26 Sep 2008 00:21:35 +0000 Subject: [PATCH] LaTeXFeatures.cpp: fix critical bug, due to this, no Cyrillic document could be compiled with LyX 1.6 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26560 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index cf85ec5648..d1d6fdb8dc 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -197,7 +197,7 @@ static string const textcyr_def = " \\fontencoding{T2A}\\selectfont\n" " \\def\\encodingdefault{T2A}}\n" "\\DeclareRobustCommand{\\textcyr}[1]{\\leavevmode{\\cyrtext #1}}\n" - "\\DeclareFontEncoding{T2A}{}{}\n"; + "\\AtBeginDocument{\\DeclareFontEncoding{T2A}{}{}}\n"; static string const lyxmathsym_def = "\\DeclareRobustCommand{\\lyxmathsym}[1]{%\n" -- 2.39.2