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 (October 2002)Back to main IVRITEX pageJoin or leave IVRITEXReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:         Thu, 17 Oct 2002 18:32:52 +0200
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: problem with eLaTeX + colors
In-Reply-To:  <[log in to unmask]>
Content-Type: TEXT/Plain; charset=US-ASCII

On Thu, 17 Oct 2002, Rama Porrat wrote: > TeX Gurus! > > I could not make the attached elatex (LaTeX-XeT) file work well. > The cyan colorpaints the wrong words. > It works well in the regular LaTeX. The problem is that color directives are postscript directives. They are interpeted by the postscript interpeter (gs, or the printer). Originally you have: \textcolor{cyan}{some ltr text} Which will be translated to: [postscript:make color cyan]some LTR text[postscript:make color black] However, with rlbabel the order of text is reversed. Suppose you have: \textcolor{cyan}{\hebalef\hebbet} This whole paragraph is in right-toi-left mode, so tex here simply reverses everything: [postscript:make color black]{bet}{alef}[postscript:make color cyan] Whereas you really need: [postscript:make color cyan]{bet}{alef}[postscript:make color black] One way around this is to wrap \textcolor with a macro that adds \L and \R \newcommand{\textcolorR}[2]{\L{\textcolor{#1}{\R{#2}}} -- 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 CataList email list search Powered by LISTSERV email list manager