[luatex] CJK vertical typesetting

Hartmut Henkel hartmut_henkel at gmx.de
Tue Jul 19 08:57:17 CEST 2011


> There's some weird problem regarding RTT direction:
> 
> \pagedir RTT \bodydir RTT \pardir RTT \textdir RTT
> \pdfpagewidth=297mm \pdfpageheight=210mm
> %%% two column output from The TeXbook
> \newdimen\fullhsize
> \fullhsize=6.5in \hsize=3.2in
> \def\fullline{\hbox to\fullhsize}
> \let\lr=L \newbox\leftcolumn
> \output={\if L\lr
>     \global\setbox\leftcolumn=\columnbox \global\let\lr=R
>   \else \doubleformat \global\let\lr=L\fi
>   \ifnum\outputpenalty>-20000 \else\dosupereject\fi}
> \def\doubleformat{\shipout\vbox{\makeheadline
>     \fullline{\box\leftcolumn\hfil\columnbox}
>     \hsize\fullhsize\makefootline}
>   \advancepageno}
> \def\columnbox{\leftline{\pagebody}}
> \input knuth\par
> \input knuth\par
> \input knuth\par
> \input knuth\par
> \input knuth\par
> \input knuth\par
> \input knuth\par
> \input knuth\par
> \bye
> 
> The main body of the document has its place in too far right position.
> What is the best way to get rid of this issue?

\pagerightoffset is the parameterer, works like \hoffset. But somehow
the dimension is still off.

Regards, Hartmut

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the luatex mailing list