图表有误及文字错误

图表有误及文字错误

两周以来,我从 pdflatex 切换到了 xetex。在此过程中,我遇到了两个问题:

(1)错误消息:未定义的控制序列。...exthebrew{בֵּיצָה}, \textit{b=e\ds=a}}

(2)在图列表中,Alif 显示为 Ayn,
我该如何修复这些问题?

一位 MWE 表示:

% !TeX 拼写检查 = nl_NL %!TeX 程序 = xelatex % !BIB TS 程序 = biber

\documentclass[12pt,a4paper]{article}
\usepackage[a4paper,left=15mm,top=25mm,textwidth=180mm,textheight=249.7mm]{geometry}

\usepackage[table,usenames,dvipsnames]{xcolor}
\usepackage{tabulary}
\usepackage{amsmath, amsthm, amssymb, amsfonts}
\usepackage{etoolbox}
\usepackage{hyperref}
\hypersetup{hidelinks}
\usepackage{tikz}
\usepackage{rotating}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{dutch}
\setotherlanguage{hebrew}
\setotherlanguage{greek}
\usepackage{csquotes}
\usepackage[backend=biber, babel=hyphen, style=authortitle]{biblatex}
\setmainfont[Ligatures=TeX]{Liberation Serif} 
\setsansfont{FreeSans}
\setmonofont[Color={0019D4}]{Courier New} 
\defaultfontfeatures{Mapping=tex-text}
\TeXXeTstate=1
\newfontfamily\hebrewfont{SBL Hebrew}%\texthebrew
\usepackage{cjhebrew}
\newfontfamily{\greekfont}[Script=Greek]{Liberation Serif}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{array}
\newfontfamily{\sblgr}[Script=Greek]{SBL Greek}
\newfontfamily{\greekfontsf}[Mapping=asciitogreek]{FreeSans}
\newfontfamily{\greekfonttt}[Mapping=asciitogreek]{FreeMono}
\newcommand\testletter[1]{\rotatebox{180}{#1}}
\newcommand{\Ayn}{\hspace{-.2mm}\raisebox{1.5mm}{\textnormal{\tiny c{}}}\hspace{-.1mm}}
\newcommand{\Alif}{\hspace{-1.2mm}\raisebox{1.5mm}{ \reflectbox{\textnormal{\tiny c{}}}}\hspace{-.1mm}}
\newcommand{\gk}[1]{\textgreek{\tb{#1}}}
\newcommand{\e}{ə} %segol
\usepackage{tocloft}
\begin{document}
\begin{small}
    \listoffigures
\end{small}
\linespread{1.0}


\section{languages}
\textgreek{ὅσοι δὲ ἔλαβον}

\texthebrew{יִרְאַ֣ת יְ֖הוָה רֵאשִׁ֣ית דָּ֑עַת חָכְמָ֥ה:}

\section{H0001 -- vader, \texthebrew{אָב}}
\label{H0001}

\<'Ab> \textit{\Alif{}\=a\b b} ...

\texthebrew{בֵּיצָה}, \textit{b\=e\d s\=a}

\begin{figure}[b]   
        
\begin{tikzpicture}[scale=.6]
\draw (0,0) -- (1,1);
\end{tikzpicture}
    
\caption{H0001, \texthebrew{אָב}, \textit{\Alif{}\=a\b b} \texthebrew{בֵּיצָה}, \textit{b\=e\d s\=a}}

    
\end{figure}

\end{document}

相关内容