[XeTeX] x:rotate conundrum
Stephen Moye
stephenmoye at mac.com
Mon Jun 4 13:52:49 CEST 2007
I thought I understood how x:rotate works, but I apparently don't, not completely. The following code snippet demonstrates the problem. The stuff that follows the rotated bit seems to disappear -- I know it doesn't really, but I can't find it, which amounts to the same thing... :>} What am I missing? I'm using 0.997-dev.
%%======8><------------%%
%!TEX TS-program = xetex
%!TEX encoding = UTF-8 Unicode
\hsize8.5in
\vsize11in
\hoffset-1in
\voffset-1in
\long\def\nkboxit#1{\vbox{\hrule\hbox{\vrule%
\vbox{#1\par}\vrule}\hrule}}
\vglue5.5in
\special{x:gsave}
\special{x:rotate 180}
\vbox to 5.5in{%
\moveleft8.5in\line{%
\hskip.5in
\nkboxit{\vtop to 5.5in{\hsize3.5in%
\null Box 2\vfill
}}%
\hfill
\nkboxit{\vtop to 5.5in{\hsize3.25in%
Box 1
}}%
\hskip.5in
}
}
\special{x:grestore}
%% Where did this go to??!??
\line{\hskip.5in%
\nkboxit{\vtop to 5.5in{\hsize3.25in Box 3}}
\hfill
\vtop to 5.5in{\hsize3.25in%
\leftskip=0pt plus 1fill \rightskip=\leftskip
Box 4
\vfill
}%
\hskip.5in}
\eject\end
More information about the XeTeX
mailing list