My goal is to write small chuncks of Arabic/Hebrew text (words, paragraphs) within a Latin-alphabet language.

I've been trying to set an Arabic fallback font using various examples from here, but so far results have been subpar (even the parentheses do not work)enter image description here:

\definefallbackfamily [mainface] [serif] [Adobe Arabic] [range=arabic,feature=arabic]
\definefontfamily [mainface] [serif] [Minion Pro][features=oldstyle]


% load the font
\definedfont[name:adobearabic*arabic% at 36pt

ضَرَبَ ضُرِبَ ضَرْبًا(
ضَرَبَ ضُرِبَ ضَرْبًا

Teste: %font loads, no right-to-left
(ضَرَبَ ضُرِبَ ضَرْبًا)
Teste {\definedfont[name:adobearabic*arabic]\setupalign[r2l]ضَرَبَ ضُرِبَ ضَرْبًا}
%works, but parenthesis doesn't
asdf (\arabico{ضَرَبَ ضُرِبَ ضَرْبًا})


1 Answer 1


After days of trial and error, scurrying and browsing the manuals, the documentation, the wiki (whose typescript doesn't even work by default), and this site, I found out the solution myself:

\definefallbackfamily[myfamily][serif][Amiri][features=arabic,range=arabic] %range=arabic was luck by analogy
\definefontfamily [myfamily] [serif] [Minion Pro][features=oldstyle]
\definefontfamily [myfamily] [sans] [Myriad Pro][features=oldstyle] % ss = sans serif
\definefontfamily [myfamily] [mono] [Consolas] % tt = teletype
\definefontfamily   [myfamily] [math] [Cambria Math] % 
\setupbodyfont [myfamily,11pt] 
\setupdirections[bidi=global] %not in wiki
أهلاً وسهلاً

Asdf; 134890: a!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .