[luatex] CJK vertical typesetting

Dohyun Kim nomosnomos at gmail.com
Tue Jul 19 11:28:32 CEST 2011


2011/7/19 Hartmut Henkel <hartmut_henkel at gmx.de>:
>
> \pagerightoffset is the parameterer, works like \hoffset. But somehow
> the dimension is still off.
>

This is not a good solution.  When I insert "\pagerightoffset=5.5in"
then page number disappears beyond the page border.

The problem seems to occur because of the strange behavior
of boxes under RTT dir.  Take a look at the following code;
is this intended behavior?

\pagedir RTT \bodydir RTT
\offinterlineskip
\setbox0=\hbox{} \ht0=5pt \dp0=5pt
\setbox2=\vbox{\copy0\box0}
\showthe\ht2 \showthe\dp2 % prints 15pt, 5pt  (ok)
\setbox4=\hbox{\box2}
\showthe\ht4 \showthe\dp4 % prints 10pt, 10pt (??)
\bye

Regards,
-- 
Dohyun Kim
College of Law, Dongguk University
Seoul, Republic of Korea


More information about the luatex mailing list