[luatex] \boxdir primitive

Vafa Khalighi persian-tex at tug.org
Fri Sep 13 09:16:22 CEST 2013


And this only works for \hbox (the primitive has no effect on \vbox or
\vtop).


On Fri, Sep 13, 2013 at 5:12 PM, Vafa Khalighi <persian-tex at tug.org> wrote:

> no worries. I finally understood how that works.
>
> \setbox0\hbox{This is a test.}
> \boxdir 0 TRT
> \box0
>
> so the syntax is \boxdir <box register> <direction>
>
>
> On Fri, Sep 13, 2013 at 5:07 PM, Vafa Khalighi <persian-tex at tug.org>wrote:
>
>> Hi
>>
>> How \boxdir primitive work? if I give \boxdir TRT, I get error and luatex
>> expects the argument to be a number. I tried giving different numbers but
>> this time it complained that "that is a bad direction". However \boxdir
>> 0TRT gives no error (actually you can replace 0 with any other number) but
>> that would not change the direction of any box.
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20130913/b5fe9eb7/attachment.html>


More information about the luatex mailing list