Changes

Jump to navigation Jump to search
138 bytes removed ,  15:07, 1 May 2016
Changed the font in enumerations example to also show the bold style.
% mode=mkiv
\usemodule[simplefonts]
\setmainfont[ALM Fixeddejavusans][features=arabic,range=arabic]\setcharacterstripping[1] % don't show ZWNJ, etc.
\setupdirections[bidi=global,method=one]
\setupalign[r2l]
\defineenumeration[theorem][alternative=serried,width=fit,text=قضیه ,numberconversion=persiandecimals]
% persiandecimals came back in a beta and is not available on the stable from texlive 2015.
\starttext
\starttheorem
مجموعه اعداد صحیح نسبت به عمل اعمال جمع و تفریق بسته است.
\stoptheorem
\stoptext
<em>The alignment of the second line is not right here but it works fine on my machine. Maybe the garden's CONTEXT version is old.</em>
 
Note that, although the head text in the example above shows with normal style, the default style is indeed bold. The problem here is that the ALM Fixed font does not seem to have a bold version.
In any case, the worst result comes from setting {{code|hang}} which places the hanging on the incorrect side (left for RTL) and pushes the head text into the margin on the correct side (right in RTL)!
25

edits

Navigation menu