Date: Sun, 12 May 2002 23:55:39 +0300 Reply-To: Hebrew TeX list <[log in to unmask]> Sender: Hebrew TeX list <[log in to unmask]> From: Tzafrir Cohen <[log in to unmask]> Subject: Re: negative logic of scalebox In-Reply-To: <[log in to unmask]> Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 12 May 2002, Dekel Tsur wrote: > 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. > > > > > > Anybodywith 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?) Let's see. scalebox is from graphics (which may be loaded after babel) > > 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 > Should something of that sort work even before the package graphics was loaded? -- Tzafrir Cohen mailto:[log in to unmask] http://www.technion.ac.il/~tzafrir  Back to: Top of message | Previous page | Main IVRITEX page
 LISTSERV.TAU.AC.IL