Open vinoruto opened 3 years ago
I'm afraid I know nothing about RTL typesetting in general and Arabic typesetting in particular in TeX. I'm guessing in order to make it possible a lot is going on behind the scenes (e.g. also for things like enumerate
) and that that does not always plays nicely with how biblatex
does things. But I have no idea where to start looking. Sorry.
As I say I know nothing, but here is a guess. I think it might be tricky to generate a combined English/Arabic bibliography where individual entries switch languages. It might be easier to have two separate lists: One typeset entirely in English and one typeset entirely in Arabic. This would also allow us to use different list definitions for the bibliographies in case that is something that helps make the output look better.
When I run your example, the keyword
filter appears to work. I get three different bibliographies. One containing all three references, one with only the Arabic reference and one with the two English sources.
In all cases, even if you separate the bibliography using the keyword, the indentation issue is still there. In addition, Upon making separate bibliographies for each language, the references are not organized numerically in an ascending order and therefore it won't be appropriate/ suited for the document in its final form.
/cc @dcpurton
With two separate bibliographies the numbering could be fixed with defernumbers
(as the warning suggests). But yeah, at the moment that does not give the (I guess) expected ouptut either, because numbered lists as used by biblatex
are (apparently) tricky in RTL. What I was guessing above was that it might be much easier to get two separate bibliographies (one LTR one RTL) going than one combined bibliography that switches directions all the time. But as I also said above, I don't have enough knowledge about RTL to be able to help with either...
I don't get the output shown in the original post when I compile with lualatex
, biber
, lualatex
, even when I replace the Simplified Arabic
font with one that's available on my system and that supports Arabic, such as FreeSerif
or Amiri
. Here's what my PDF file looks like:
For the shown MWE, I am using Lualatex (Babel: default language = Arabic) + Biblatex. Citations are prepared from resources with various languages. I arranged the Bibliography such that the references are filtered based upon the used language. However, in the bibliography, I have noticed the following: