脚注と参考文献で異なるフォントを使用する方法 / 特殊な古代ヘブライ語

脚注と参考文献で異なるフォントを使用する方法 / 特殊な古代ヘブライ語

私は、fontspec で古代ヘブライ語と古代ギリシャ語のテキストに特別なフォントを使用しています。これを脚注や参考文献にも使用するにはどうすればよいですか? 本のタイトルには 3 つのヘブライ語の単語しかありません。

私はbiberと一緒にLulatexとBiblatexを使用しています。

私はEsra SILで完全な参考文献を設定する方法を見つけました

\renewcommand*{\bibfont}{\hebfont}

しかし、これはエラーになります

テキストファイル

! LaTeX エラー: コマンド \bibfont は既に定義されています。

\documentclass[twboside=false, fontsize=12bp]{scrartcl}
\usepackage{setspace}
\setstretch{1.5} 
\usepackage[left=3cm, right=4cm]{geometry}
\usepackage{typearea}
\usepackage[ngerman]{babel}

\usepackage{fontspec}
\setmainfont{Times New Roman} 
\newfontfamily\hebfont[Script=Hebrew, Scale=MatchUppercase, Ligatures=TeX]{Ezra SIL}
\newcommand{\textheb}[1]{\bgroup\luatextextdir TRT\hebfont #1\egroup}
\newfontfamily\greekfont[Script=Greek, Scale=MatchUppercase, Ligatures=TeX]{SBL Greek}
\newcommand{\textgreek}[1]{\bgroup\greekfont #1\egroup}

\renewcommand*{\bibfont}{\hebfont}

\usepackage[
backend=biber,
style=geschichtsfrkl,
pagetracker=true, 
backref=true,
]{biblatex} 
\bibliography{xy.bib}
\usepackage[german=quotes]{csquotes}

\begin{Document}
\textheb{some hebrew text, works fine here}
footcite[vgl.][51]{book1}


\printbibheading[title=Literaturverzeichnis]
\printbibliography[keyword=primaer,heading=subbibliography,title={Textausgaben und Hilfsmittel}]
\printbibliography[keyword=sekundaer,heading=subbibliography,title={Sekundärliteratur}]

\end{document}

答え1

\texthebファイル自体で明確に定義されたコマンドを直接使用することで、参考文献のヘブライ語フォントを取得できます.bib

関連情報