Lyx + Xetex 和参考书目错误

Lyx + Xetex 和参考书目错误

我正在 Lyx 中准备我的文档,并且我想使用 Xetex。

我的文件编纂的参考书目完全缺少俄语单词。

BIB 文件以 UTF8 编码保存。主 Lyx 文件包含俄语、英语文本 + 一些方程式和数学符号。因此我要求 Lyx 编译(通过 Xetex)并显示 PDF。Lyx 处理了文档,但其消息日志显示了大量“缺少字符”错误。但是,主文本处理正常。我是否在 Lyx 前言中遗漏了某些选项或命令,或者其他什么?

MWE 如下:

\documentclass[fontsize=13pt]{scrreprt}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T2A]{fontenc}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\RequirePackage{fix-cm}
\usepackage[T2A]{fontenc}
%\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
%\usepackage[fontsize=13pt]{scrextend}
\usepackage {setspace}
\onehalfspacing
\usepackage[a4paper, left=2.5cm, right=1cm, top=2cm, nohead]{geometry}

\usepackage{mathtext}
%\usepackage[backend=biber, style=gost-numeric, bibencoding=utf8, sorting=none, language=auto]{biblatex}


\ifpdf\usepackage{graphicx}\else\usepackage{graphicx}\fi

\usepackage{comment} 
%\ifpdf\usepackage{epstopdf}\usepackage{pdfpages}\fi

\graphicspath{{fig/}}
\addtokomafont{disposition}{\rmfamily}
\setkomafont{chapter}{\normal}

\defcaptionname{english}{\chaptername}{Part}
\renewcommand*{\chapterformat}{\chaptername~\thechapter\autodot\enskip}
%\renewcommand{\thechapterfont}{\normalsize\bfseries} % 
\renewcommand{\appendixfont}{\normalsize\bfseries}
%\renewcommand{\chapterfont}{\normalsize\bfseries}   
\setcounter{tocdepth}{2}

\makeatother

\usepackage[style=gost-numeric,backend=biber, style=gost-numeric, bibencoding=utf8, sorting=none, language=auto]{biblatex}

\addbibresource{0C__Users_1_Contacts_Documents_My_diss_All_bib_ext_2U.bib}
\begin{document}
\tableofcontents 
\clearpage

\chapter*{{\large{}\textcyr{\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}}

\addcontentsline{toc}{chapter}{--}

\section*{{\normalsize{}\textcyr{\CYRP\cyro\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya},
\textcyr{\cyrv\cyrery\cyrn\cyro\cyrs\cyri\cyrm\cyrery\cyre} \textcyr{\cyrn\cyra}
\textcyr{\cyrz\cyra\cyrshch\cyri\cyrt\cyru}}}  

\section*{{\normalsize{}\textcyr{\CYRA\cyrp\cyrr\cyro\cyrb\cyra\cyrc\cyri\cyrya}
\textcyr{\cyrr\cyra\cyrb\cyro\cyrt\cyrery}}}

\chapter{{\large{}\textcyr{\CYRL\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrn\cyrery\cyrishrt}
\textcyr{\cyro\cyrb\cyrz\cyro\cyrr}}}
\vspace{42pt}

\section{A}
\vspace{38pt}

\section{B}

\section{{\normalsize{}C}}
\vspace{42pt}

\chapter{{\large{}\textcyr{\CYRT\cyre\cyrh\cyrn\cyro\cyrl\cyro\cyrg\cyri\cyrya}
\textcyr{\cyrp\cyrr\cyri\cyrg\cyro\cyrt\cyro\cyrv\cyrl\cyre\cyrn\cyri\cyrya}
\textcyr{\cyri} \textcyr{\cyra\cyrt\cyrt\cyre\cyrs\cyrt\cyra\cyrc\cyri\cyrya}
\textcyr{\cyro\cyrb\cyrr\cyra\cyrz\cyrc\cyro\cyrv} }}
\vspace{42pt}

\section{\textcyr{\CYRA}}
\vspace{38pt}

\section{\textcyr{\CYRB}}

\chapter*{{\large{}\textcyr{\CYRL\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyra}}}

\nocite{*}
\printbibliography

\end{document}

相关内容