阿拉伯语乳胶文件中的英文段落

阿拉伯语乳胶文件中的英文段落

我正在使用 Latex 撰写论文,文档使用 Polyglossia 以阿拉伯语撰写,并使用 biblatex 管理参考书目。

所有的参考文献都是英文的,因此参考文献页面如下:

在此处输入图片描述

然而,引用必须从左到右。

我该怎么做 ?

主 Latex 文件:

\documentclass[a4paper.13pt,arabic]{book}

%Packages

\usepackage{tocloft}

\usepackage{graphicx}
\usepackage{polyglossia}
\usepackage[LFE,LAE]{fontenc}
\usepackage{titlesec}
\usepackage{fmtcount}
\usepackage[margin=1in]{geometry}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{fancyhdr}
\usepackage{hyperref}
\hypersetup{pdftex,colorlinks=true,allcolors=black}
\usepackage{hypcap}
\usepackage[backend=biber,bibencoding=utf8,style=ieee]{biblatex}    
%\addbibresource{MyLibrary.bib}

\addbibresource{./Biblography/MyLibrary.bib}

%Language settings for polyglossia
\setmainlanguage{arabic}
\setotherlanguage{english}
\setmainfont{Simplified Arabic}
\newfontfamily\arabicfont[Script = Arabic]{Simplified Arabic} 
\let\arabicfonttt\ttfamily
\setkeys{arabic}{numerals=maghrib,locale=mashriq,calendar=gregorian}

%change arabic translation of the word chapter
\addto\captionsarabic{\renewcommand{\chaptername}{الفصل}}
\addto\captionsarabic{\renewcommand{\bibname}{المراجع}}
%modifying the "the.." commands to match the new style of chapter and section numbering
\renewcommand{\thechapter}{\arabic{chapter}~}
\renewcommand{\thesection}{\thechapter-~\arabic{section}~}
\renewcommand{\thesubsection}{\thesection-~\arabic{subsection}~}
\renewcommand{\thesubsubsection}{\thesubsection-~\arabic{subsubsection}~}
%resize subsection numbering 
\renewcommand{\cftsubsecnumwidth}{1.5cm}
%adding support for arabic ordinal numbers
\newcommand{\arabicordinal}[1]{\ifcase\value{#1}
        \or
            الأول
        \or
            الثاني
        \or
            الثالث
        \or
            الرابع
        \or
            الخامس
        \or
            السادس
        \or
            السابع
        \or
            الثامن
        \or
            التاسع
        \or
            العاشر
        \or
            الحادي عشر
        \or
            الثاني عشر
        \or
            الثالث عشر
        \or
            الرابع العاشر
        \or
            الخامس عشر
        \fi
    }

%modifying the styles of chapter, section, subsection and subsubsection
\titleformat{\chapter}[display]{\normalfont\huge\bfseries\centering}{\chaptername~\arabicordinal{chapter}}{5pt}{\normalfont\huge\bfseries}[\vspace{-0.5ex}\rule{\textwidth}{1pt}]
\titleformat{\section}{\normalfont\normalsize\bfseries}{\thesection-~}{0.5em}{\normalfont\normalsize\bfseries}
\titleformat{\subsection}{\normalfont\normalsize\bfseries}{\thesubsection-~}{0.5em}{\normalfont\normalsize\bfseries}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries}{\thesubsubsection-~}{0.5em}{\normalfont\normalsize\bfseries}



%finally the document
\begin{document}


\author{م. أسامه ناصر}
\title{استخدام البروز البصري في ضغط الصور الرقمية}


\frontmatter
\maketitle
\tableofcontents

\mainmatter
\include{./TeX_files/Chapter1/Chapter1}

\backmatter
% bibliography, glossary and index would go here.



\printbibliography
\addcontentsline{toc}{chapter}{المراجع}
\end{document}

这是我的主要 tex 文件的简化版本,其中包含 biblatex-example.bib:

\documentclass[a4paper,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{polyglossia}
\usepackage[LFE,LAE]{fontenc}


\usepackage[backend=biber,bibencoding=utf8,style=ieee]{biblatex}    


\addbibresource{biblatex-examples.bib}

\setmainlanguage{arabic}
\setotherlanguage{english}
\setkeys{arabic}{numerals=maghrib,locale=mashriq,calendar=gregorian}


\setmainfont{Simplified Arabic}
\newfontfamily\arabicfont[Script = Arabic]{Simplified Arabic} 
\let\arabicfonttt\ttfamily
\begin{document}

\author{أسامه ناصر}
\title{أطروحة اختبار}
\date{ 2013}


\frontmatter
\maketitle
\tableofcontents

\mainmatter
\chapter{اختبار}
هذا النص اختباري
\cite{sigfridsson}

\backmatter
% bibliography, glossary and index would go here.
\printbibliography
\end{document}

但是,编辑器必须使用 Biber,否则参考书目将不会输出

答案1

非常感谢 moewe 的回答:

\printbibheading
\addcontentsline{toc}{section}{المراجع}
\begin{english}
\providecommand*{\MakeUppercase}[1]{#1}
\printbibliography[heading=none]
\end{english}

它解决了我所有的问题,包括在目录中插入正确的目录位置以供参考

相关内容