Is there a way to use Hebrew in the title field of bibliography database, so it might be displayed properly when the bibliography is generated by biblatex? What happens is: the Hebrew text appears correctly (utf8 encoding) but the last world becomes the first.
To give you some context: The rest of the bibliographic citation has latin characters as I'm writing in Italian, but with some Hebrew in the text and in the bibliography.
\documentclass{article}[9pt]
\begin{filecontents*}{Midrash.bib}
@book{frenkelYvnymBvlmvHrvkhny1981a,
title = {עיונים בעולמו הרוחני של ספור האגדה.},
author = {Frenḳel, Yonah.},
date = {1981},
publisher = {{Hakibuts Hame'uḥad}},
location = {{Tel-Aviv}},
langid = {hebrew}
}
\end{filecontents*}
\usepackage{reledmac}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{wrapfig}
\setdefaultlanguage{italian}
\setotherlanguage{hebrew}
\setmainfont{Times New Roman}
\usepackage[style=verbose-trad3,doi=false,isbn=false,url=false,eprint=false]{biblatex}
\bibliography{Midrash.bib}
\Xarrangement[A]{paragraph}
\begin{document}
see \cite{frenkelYvnymBvlmvHrvkhny1981a}
\printbibliography
\end{document}
The result is shown in the image below:
Thanks!
Best Answer
My understanding is that you have to tell
polyglossia
what font to use for each language, and when you are using each language.Blue is FreeSerif font set as
\hebrewfont
.By the time
biblatex
/biber
reads the .bib file, thepolyglossia
command in the .bib file is already established, becausepolyglossia
has been loaded beforebiblatex
.The dummy bib ref is just a random snippet from the Wikipedia article on the solar system.
MWE
I used
biblatex
's\addbibresource
command, as well.Addendum
Babel package
Lualatex can identify scripts by using Unicode algorithms, so explicit markup is not generally needed. (Multiple runs of different scripts diving in and out of the main script, like the Latin texts in the Hebrew-version bibliography, will need markup, for a tidier presentation.)
For a comparison of intermingled languages (ignoring runs), using
babel
package compiled with lualatex to take advantage of this feature, with Italian as the main language:MWE
and with Hebrew as the main language:
MWE