Right. Fixing it was easy:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\def\Grot@box@std#1#2{\ifmmode\else\if@RTL\bgroup\textdir TLT\fi\fi%
\Grot@setangle{#1}%
\setbox\z@\hbox{{\if@RTL\bgroup\textdir TRT\fi#2\if@RTL\egroup\fi}}%
\Grot@x\z@
\Grot@y\z@
\Grot@box\ifmmode\else\if@RTL\egroup\fi\fi}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
On Tue, Jul 26, 2011 at 8:39 PM, Taco Hoekwater <[email protected]> wrote:
> On 07/26/2011 12:33 PM, Vafa Khalighi wrote:
>
>> Hi
>>
>> I found two bugs in LuaTeX, I could not provide a minimal plain TeX
>> minimal but I provide a minimal LaTeX document. I hope it is not too
>> hard for you to find the actual bug.
>>
>
> To me, it looks like a bug in latex's graphicx' \rotatebox macro?
>
>