Menu

#89 rotatebox, scalebox with graphics.sty, graphicx.sty

open
nobody
5
2014-08-26
2013-03-20
takuji
No

xdvik Japanese patch has already included an enhancement
about support of \rotatebox{} and \scalebox{} with graphics.sty and graphicx.sty.
The original author is Takeshi WATANABE [1]
and it has maintained in xdvi-jp group [2].
I derived a patch for that which is not depend on Japanese local extension
from xdvik-jp sources. It can apply xdvik-22.85.

I attached the patch and sample files.
I hope it will be useful for all xdvi users in the world.
If possible, could you consider merging the patch in non-Japanese xdvik?

References:
[1] xdvi-jp old mailing list log (in Japanese)
"Re: [graphics] Rotation"
http://xdvi.sourceforge.jp/old/msg00062.html
From: Takeshi WATANABE <watanabe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Apr 1999 12:57:03 +0900
X-ml-name: xdvi-jp
X-mail-count: 00069

[2]
http://xdvi.sourceforge.jp/

Known probrems:
The following cases do not work well:
\rotatebox{60}{\rotatebox{60}{\includegraphics{box-xdvi-s.eps}}}
\rotatebox{60}{\rotatebox{60}{\scalebox{0.10}{\includegraphics{box-xdvi-l.eps}}}}
\scalebox{0.10}{\rotatebox{25.5}{\includegraphics{box-xdvi-l.eps}}}
even though the following cases DO work well:
\rotatebox{15}{\rotatebox{15}{\includegraphics{box-xdvi-s.eps}}}
\rotatebox{15}{\rotatebox{15}{\scalebox{0.10}{\includegraphics{box-xdvi-l.eps}}}}
\scalebox{0.10}{\rotatebox{-25.5}{\includegraphics{box-xdvi-l.eps}}}

Discussion

  • takuji

    takuji - 2013-03-20

    rotatebox scalebox patch

     
  • takuji

    takuji - 2013-03-20

    rotatebox scalebox sample files

     
  • takuji

    takuji - 2013-04-14

    rotatebox scalebox patch for xdvik-22.86

     
  • takuji

    takuji - 2013-04-14

    Thank you for new release of xdvik-22.86.
    I updated my patch to follow the upstream.

     

Log in to post a comment.