![ムウェ](https://rvso.com/image/400372/%E3%83%A0%E3%82%A6%E3%82%A7.png)
現在は(Biber + XeLaTeX)biblatex
を使用しています。polyglossia
2 つの言語で引用されていますが、正しく表示されません。エントリCbible2015
のタイトルには英語とアラビア語の単語が含まれています。アラビア語のコンテンツは逆になっています。私は多くの言語を使用しているため、示されているように、さまざまな言語環境を定義する必要があります。ドキュメントの既定の言語はアラビア語です。また、参照によってWebsite:Elpenor
エラーが発生するため、その理由がわからないため、参照をコメント アウトしました。
つまり、4 つの問題があります。
複数の言語で同じ引用をすると、うまくいきません。示されているように、すべての単語は正しく表示されますが、アラビア語の単語は逆の順序で表示され、2 回目には英語の単語が逆になっていますが、アラビア語の単語は正しいです。
年がアラビア語で書かれていますが、英語で表示するにはどうすればよいですか?
参照が
Website:Elpenor
機能しない最後に、引用スタイル固有の設定、たとえば「ページ」という単語をアラビア語で同等のものに置き換える方法など
コードはこちら
\documentclass[a4paper,12pt,twoside]{book}
\usepackage{fontspec}
\usepackage [hidelinks,colorlinks=true,linkcolor = blue,anchorcolor = blue,citecolor = blue,filecolor = blue,urlcolor = blue]{hyperref}
\usepackage{polyglossia}
\setdefaultlanguage[calendar=gregorian,locale=default,numerals=mashriq]{arabic}
\setotherlanguages{english,greek,hebrew,coptic,syriac}
\newfontfamily\arabicfont[Script=Arabic,Mapping=arabicdigits]{Simplified Arabic}
\newfontfamily\greekfont{Palatino Linotype}
\newfontfamily\hebrewfont{Ezra SIL}
\newfontfamily\copticfont{FreeSerifAvvaShenouda}
\newfontfamily\syriacfont{Serto Jerusalem}
\usepackage[backend=biber,language=autobib,citestyle=verbose-note,bibstyle=authortitle]{biblatex}
\addbibresource{D:/SC/PROJ/Subfile Package Solution - Biblatex/Queries/With_all_set_up.bib}
\title{ }
\author{}
\date{}
\begin{document}
\chapter{}
\begin{greek}
καὶ οἰκοδομηθήσονταί σου αἱ ἔρημοι αἰώνιοι, καὶ ἔσται σου τὰ θεμέλια αἰώνια γενεῶν γενεαῖς· καὶ κληθήσῃ Οἰκοδόμος φραγμῶν, καὶ τοὺς τρίβους τοὺς ἀναμέσον παύσεις.\\
\textbf{(Ησα νη’ @ ς’ - ιβ’)}
\end{greek}
\par
%\cite{Website:Elpenor}
\begin{coptic}
Ⲑⲁⲓ ⲁⲛ ⲧⲉ ϯⲛⲏⲥⲧⲓⲁ̀ ⲉ̀ⲧⲁⲓⲥⲟⲧⲡⲥ ⲁ̀ⲛⲟⲕ ⲡⲉϫⲉ Ⲡ̅⳪ ⲁⲗⲗⲁ ⲃⲱⲗ ⲉ̀ⲃⲟⲗ ⲛ̀ⲥ̀ⲛⲁⲩϩ ⲛⲓⲃⲉⲛ ⲛ̀ⲧⲉ ϯⲙⲉⲧⲟ̀ϫⲓ ⲙⲁϯⲟⲩⲱ̀ ⲛ̀ⲛⲓⲕⲟⲧⲥ ⲛ̀ⲧⲉ ⲛⲓⲥ̀ϧⲁⲓ ⲛ̀ϫⲟⲛⲥ ⲟⲩⲱⲣⲡ ⲛ̀ⲛⲏⲉⲧϧⲉϧⲱⲙ ϧⲉⲛ ⲟⲩⲭⲱ ⲉ̀ⲃⲟⲗ ⲟⲩⲟϩ ⲥ̀ϧⲁⲓ ⲛⲓⲃⲉⲛ ⲙ̀ⲙⲉⲧⲟ̀ϫⲓ ⲥⲟⲗⲡⲟⲩ.\\
\textbf{(Ⲏ̀ⲥⲁ ⲛ̅ⲏ̅: ⲋ - ⲓ̅ⲃ̅ )}
\end{coptic}
\cite [12]{CBible2015}\\
\begin{coptic}
ϯⲙⲉⲧⲟ̀ϫⲓ ⲙⲁϯⲟⲩⲱ̀ ⲛ̀ⲛⲓⲕⲟⲧⲥ ⲛ̀ⲧⲉ ⲛⲓⲥ̀ϧⲁⲓ ⲛ̀ϫⲟⲛ
\end{coptic}
\cite{CBible2015}\\
\end{document}
*.bibファイルの内容は次のとおりです
@misc{CBible2015,
year = {2015},
title = {{Coptic Bible} الكتاب المقدس القبطي}
}
@misc{Website:Elpenor,
title = {ELPENOR - Home of the Greek Word - Ellopos},
Month = {May},
year = {2015},
url = {https://www.ellopos.net/elpenor/Default.asp}
}
答え1
以下は、アラビア語をメイン言語として、ポリトニックギリシャ語、ヘブライ語、コプト語、シリア語、英語を追加言語として使用するサンプルドキュメントです。また、エジプト象形文字のフォントサポートを設定する方法も示しています (これには言語サポートは必要ありません)。
biblatex
.lbx
これらの言語はいずれもサポートされていません。したがって、母国語での参照や引用が必要な場合は、アラビア語の場合と同じようにファイルを作成する必要があります。
また、コプト語とシリア語の基本的な言語サポートを設定する方法も示しました。ファイルとにさらに追加することもできますbabel-syc.ini
。babel-cop.ini
アラビア語の設定方法については、babel
基本ファイルを参照してください。babel-ar.ini
関連する言語とスクリプトをサポートする任意のフォントを使用できます。fontspec
では、lualatex
非常に柔軟にフォント設定を指定できます。ほぼ何でも可能です。
ムウェ
\documentclass[12pt]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Sharoni1969,
author = {ميخائيل، ملاك and الشاروني، حبيب},
date = {1969},
title = {المرجع فى قواعد اللغة القبطية},
location = {الاسكندرية},
publisher = {جمعية مارمينا العجايبي},
langid = {arabic}
}
@book{Browning1983,
author = {Browning, Robert},
date = {1983},
title = {Medieval and Modern Greek},
publisher = {Cambridge University Press},
langid = {english}
}
@misc{CBible2015,
date = {2015},
title = {\foreignlanguage{english}{Coptic Bible} الكتاب المقدس القبطي},
langid = {arabic}
}
@online{Website:Elpenor,
title = {ELPENOR - Home of the Greek Word - Ellopos},
date = {2015-05},
url = {https://www.ellopos.net/elpenor/Default.asp},
langid = {english}
}
\end{filecontents}
\begin{filecontents}{arabic.lbx}
\ProvidesFile{arabic.lbx}
\InheritBibliographyExtras{english}
% Translations thanks to Google Translate.
% I haven't provided abbreviations, because I don't know Arabic.
% You'll need to add more for other strings you use.
% Look in `english.lbx` for the string name.
\DeclareBibliographyStrings{%
inherit = {english},
and = {{و}{و}},
page = {{صفحة}{صفحة}},
pages = {{صفحات}{صفحة}},
references = {{مراجع}{مراجع}},
seenote = {{انظر الملاحظة}{انظر الملاحظة}},
}
\end{filecontents}
\begin{filecontents}{babel-syc.ini}
[identification]
charset = utf8
version = 0.1
date = 2019-08-25
name.local = ܠܫܢܐ ܣܘܪܝܝܐ
name.english = Classical Syriac
name.babel = classicalsyriac
tag.bcp47 = syc
tag.opentype = SYR
script.name = Syriac
script.tag.bcp47 = Syrc
script.tag.opentype = syrc
level = 1
encodings =
derivate = no
[captions]
[date.gregorian]
[date.islamic]
[time.gregorian]
[typography]
[characters]
[numbers]
[counters]
\end{filecontents}
\begin{filecontents}{babel-cop.ini}
[identification]
charset = utf8
version = 0.1
date = 2019-08-25
name.local = ϯⲙⲉⲧⲣⲉⲙⲛ̀ⲭⲏⲙⲓ
name.english = Coptic
name.babel = coptic
tag.bcp47 = cop
tag.opentype = COP
script.name = Coptic
script.tag.bcp47 = Copt
script.tag.opentype = copt
level = 1
encodings =
derivate = no
[captions]
[date.gregorian]
[date.islamic]
[time.gregorian]
[typography]
[characters]
[numbers]
[counters]
\end{filecontents}
\usepackage[nil,bidi=basic-r]{babel}
\babelprovide[import=ar,mapdigits,main]{arabic}
\babelprovide[import=en,language=Default]{english}
\babelprovide[import=el]{polutonikogreek}
\babelprovide[import=syc]{classicalsyriac}
\babelprovide[import=cop]{coptic}
\babelprovide[import=el]{polutonikogreek}
\babelprovide[import=he]{hebrew}
\babelfont{rm}{Latin Modern Roman}
\babelfont[arabic]{rm}{Amiri}
\babelfont[classicalsyriac]{rm}{Noto Sans Syriac}
\babelfont[coptic]{rm}[Language=Default]{Noto Sans Coptic}
\babelfont[polutonikogreek]{rm}[Language=Default]{Noto Serif}
\babelfont[hebrew]{rm}[Language=Default]{Ezra SIL}
% Don't need special language settings for Hieroglyphs
\babelfont{hieroglyphs}{Noto Sans Egyptian Hieroglyphs}
\usepackage{csquotes}
\DeclareQuoteStyle{arabic}
{\guillemotleft}
{\guillemotright}
{\textquotedblright}
{\textquotedblleft}
\usepackage[%
hidelinks,
colorlinks=true,
allcolors=blue]{hyperref}
\usepackage[%
language=auto,
autolang=other,
citestyle=verbose-note,
bibstyle=authortitle,
doi=false,
isbn=false]{biblatex}
\addbibresource{\jobname.bib}
\defbibenvironment{bibliography}
{\list
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item\leavevmode}% add \leavevmode to align English bibliography items RTL
% Always use Arabic digits for see note.
\usepackage{xpatch}
\xpatchbibmacro{footcite:note}
{\ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}
{\foreignlanguage{arabic}{\ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
{}
{}
% Just to test if quotes work
\DeclareFieldFormat{title}{\mkbibquote{\mkbibemph{#1}}}
\begin{document}
\null\vfill
\selectlanguage{classicalsyriac}
ܛܘܼܒܲܝܗܘܿܢ ܠܐܲܝܠܹܝܢ ܕܲܕ݂ܟܹܝܢ ܒܠܸܒ̇ܗܘܿܢ܄ ܕܗܸܢ݂ܘܿܢ ܢܸܚܙܘܿܢ ܠܐܲܠܵܗܵܐ܂
\selectlanguage{coptic}
Ⲑⲁⲓ ⲁⲛ ⲧⲉ ϯⲛⲏⲥⲧⲓⲁ̀ ⲉ̀ⲧⲁⲓⲥⲟⲧⲡⲥ ⲁ̀ⲛⲟⲕ ⲡⲉϫⲉ Ⲡ̅⳪ ⲁⲗⲗⲁ ⲃⲱⲗ ⲉ̀ⲃⲟⲗ ⲛ̀ⲥ̀ⲛⲁⲩϩ ⲛⲓⲃⲉⲛ ⲛ̀ⲧⲉ
ϯⲙⲉⲧⲟ̀ϫⲓ ⲙⲁϯⲟⲩⲱ̀ ⲛ̀ⲛⲓⲕⲟⲧⲥ ⲛ̀ⲧⲉ ⲛⲓⲥ̀ϧⲁⲓ ⲛ̀ϫⲟⲛⲥ ⲟⲩⲱⲣⲡ ⲛ̀ⲛⲏⲉⲧϧⲉϧⲱⲙ ϧⲉⲛ ⲟⲩⲭⲱ ⲉ̀ⲃⲟⲗ ⲟⲩⲟϩ
ⲥ̀ϧⲁⲓ ⲛⲓⲃⲉⲛ ⲙ̀ⲙⲉⲧⲟ̀ϫⲓ ⲥⲟⲗⲡⲟⲩ.
\selectlanguage{polutonikogreek}
καὶ οἰκοδομηθήσονταί σου αἱ ἔρημοι αἰώνιοι, καὶ ἔσται σου τὰ θεμέλια αἰώνια
γενεῶν γενεαῖς· καὶ κληθήσῃ Οἰκοδόμος φραγμῶν, καὶ τοὺς τρίβους τοὺς ἀναμέσον
παύσεις.
\selectlanguage{hebrew}
בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ.
\selectlanguage{arabic}
\texthieroglyphs{