Skip
repetitive navigational links
L-Soft  -  Home of  the  LISTSERV  mailing list  manager LISTSERV(R) 14.5
Skip repetitive navigational links
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2002)Back to main IVRITEX pageJoin or leave IVRITEXReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:         Sun, 12 May 2002 19:15:56 +0300
Reply-To:     Hebrew TeX list <[log in to unmask]>
Sender:       Hebrew TeX list <[log in to unmask]>
From:         Dan Kenigsberg <[log in to unmask]>
Subject:      Re: negative logic of scalebox
In-Reply-To:  <[log in to unmask]> from "Tzafrir Cohen" at May 12,
              2002 06:47:21 PM
Content-Type: text/plain; charset=iso-8859-8

> Maybe the directives it adds are: > > [magnification_scale*=2]the content of the box[magnification_scale*=0.5] > > the directives in square brackets are in postscript, and therefore are > applied only after the TeX system, and therefore are anaware of bidi. > > 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 working tex example %%%%%%%%%%%%%%%%%%%%%%% \documentclass{letter} \usepackage[english,hebrew]{babel} \usepackage{pstricks} \begin{document} \Large זה גדול \\ \LARGE זה גדול מאוד \\ \Huge וזה אמור להיות \L{ \scalebox{2}{\R{ענק}}}. ממש. \begin{otherlanguage}{english} In English this \scalebox{2}{works}. \end{otherlanguage} \end{document} %the failing postscript snippette %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%Page: 1 1 1 0 bop 3064 787 a Fe(\354\345\343\342)29 b(\344\346)2693 1036 y Fd(\343\345\340\356)35 b(\354\345\343\342)g(\344\346)1025 1285 y Fc(.\371\356\356)50 b(.)2138 1285 y tx@Dict begin CP CP translate 1 2. div 1 2. div scale NET end % % %%%%%%%%%%%%% in hebrew, first 1 2 div scaling, then 2 scaling % 2138 1285 a -291 w Fc(\367\360\362)2138 1285 y tx@Dict begin CP CP translate 2. 2. scale NET end 2138 1285 a 51 w Fc(\372\345\351\344\354)h(\370\345\356\340)h(\344\346\345)518 1718 y Fb(In)61 b(English)g(this)1796 1718 y tx@Dict begin CP CP translate 2. 2. scale NET end % % %%%%%%%%%%%%% in english - the other way around, as it should % 1796 1718 a Fb(w)-5 b(orks)1796 1718 y tx@Dict begin CP CP translate 1 2. div 1 2. div scale NET end 1796 1718 a 949 w Fb(.)1929 5471 y Fa(1)p eop %%Trailer end userdict /end-hook known{end-hook}if %%EOF


Back to: Top of message | Previous page | Main IVRITEX page

LISTSERV.TAU.AC.IL CataList email list search Powered by LISTSERV email list manager