Mohammad Hossein Bateni <mailto:bat...@gmail.com>
11. Januar 2016 um 17:58
Great! You partly answered another question I meant to ask: what is
the proper way to write \textdir and \pardir in CONTEXT? So
\lefttoright and \righttoleft are replacements for \textdir TLT and
\textdir TRT. How should I code in \pardir TRT in CONTEXT? I
couldn't find anything for that in spac-ali.mkiv.
The \lefttoright and \righttoleft commands set the paragraph direction
when you use the commands at the begin of a paragraph.
\setupwhitespace[line]
\starttext
\input ward
\righttoleft
\input ward
\lefttoright
\input ward
\stoptext
Still there is no need for \righttoleft because you can use the normal
alignment commands {\setupalign and \startalignment) to change the text
direction.
\setupwhitespace[line]
\starttext
\input ward
\startalignment[righttoleft]
\input ward
\stopalignment
\input ward
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________