Date: Sun, 12 May 2002 19:30:18 +0300 Reply-To: Dekel Tsur <[log in to unmask]> Sender: Hebrew TeX list <[log in to unmask]> From: Dekel Tsur <[log in to unmask]> Organization: Tel Aviv University Subject: Re: negative logic of scalebox In-Reply-To: <[log in to unmask]>; from Dan Kenigsberg on Sun, May 12, 2002 at 07:15:56PM +0300 Content-Type: text/plain; charset=us-ascii On Sun, May 12, 2002 at 07:15:56PM +0300, Dan Kenigsberg wrote: > > I figure that the bidi support somehow "reverses" some of the text, and > > the result is that the two magnification directives are applied in the > > reverse order. > > > > Anybody with some knowledge of postscript? > > It seems that your guess is correct! look at the generated postscript below. > And thanks to your foresight, I can proclaim that the following correction, that > calls scalebox in a left-to-right context, works as expected. > Thanks, Tzafrir! > (maybe the hebrew support should be patched to do that automatically?) A better solution is to add the following to the preamble, and the you can use scalebox as usual: \makeatletter \let\oGscale@start=\Gscale@start \let\oGscale@end=\Gscale@end \def\Gscale@start{\if@rl \oGscale@end\else \oGscale@start\fi} \def\Gscale@end{\if@rl \oGscale@start\else \oGscale@end\fi} \makeatother  Back to: Top of message | Previous page | Main IVRITEX page
 LISTSERV.TAU.AC.IL