On Tue, 02 Sep 2008 15:58:21 -0600, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Khaled Hosny wrote:
>> Figures are shifted to the right (the left edge is where right edge
>> should) when I set \pagedir TRT\bodydir TRT.
>
> \pagedir TRT \bodydir TRT
>
> \setupheadertexts[from left to right]
>
> \starttext
>
> \input tufte
>
> \placefigure
> [here,force]
> [fig:Mill]
> {Test.}
> {\externalfigure[mill]}
>
> \input tufte
>
> \stoptext
>
> i'm wondering ... why do we need pagedir and bodydir?
Try this one, and play with commenting lines 1 or 2:
\pagedir TRT \bodydir TRT
\pardir TRT \textdir TRT
\setupheadertexts[from left to right]
\starttext
\input tufte\footnote{\input ward }
\placefigure
[here,force]
[fig:Mill]
{Test.}
{\externalfigure[mill]}
\input tufte\footnote{\input ward }
\stoptext
As to the original problem:
\textdir TRT
\input epsf
\epsfbox{fig.eps}\input knuth
\bye
I don't think this is an omega/aleph/luatex bug, but rather that epsf.tex
does not take the global direction change into account. It seems that, for
any figure mechanism in TeX, the coordinates of the figure need to be
vertically reversed when
\pagedir TRT \bodydir TRT
in effect.
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________