bug in latest ConTeXt?
Hi syndicate, I have found a serious problem in the latest ConTeXt: when using \rotate[]{}, \raise does not seem to work probably. Consider the following example, simplified from a larger macro: =============test-rotate-c.tex================ \def\cupd{\leavevmode\rotate[rotation=180]{c}} % ConTeXt dependent! \def\HAMZAH{\leavevmode\raise.9ex\hbox{\txx\cupd}{}} \def\AYN {\leavevmode\raise.9ex\hbox{\txx c}{}} \def\'{\HAMZAH} \def\`{\AYN} \starttext \`ish\=a\' \stoptext ============================================= In ConTeXt-2003.2.11, both the `c' and the rotated `c' appear at the same height. In the latest ConTeXt the rotated `c' is not as high as the normal `c'. Please advise;-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Hi,
Was anyone able to look at this?
:-)
Best
Idris
On Fri, 02 Jul 2004 12:51:58 -0600, Idris Samawi Hamid
Hi syndicate,
I have found a serious problem in the latest ConTeXt: when using \rotate[]{}, \raise does not seem to work probably. Consider the following example, simplified from a larger macro:
=============test-rotate-c.tex================ \def\cupd{\leavevmode\rotate[rotation=180]{c}} % ConTeXt dependent!
\def\HAMZAH{\leavevmode\raise.9ex\hbox{\txx\cupd}{}} \def\AYN {\leavevmode\raise.9ex\hbox{\txx c}{}}
\def\'{\HAMZAH} \def\`{\AYN}
\starttext
\`ish\=a\'
\stoptext =============================================
In ConTeXt-2003.2.11, both the `c' and the rotated `c' appear at the same height. In the latest ConTeXt the rotated `c' is not as high as the normal `c'.
Please advise;-)
Best Idris
-- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Idris Samawi Hamid wrote:
Hi,
Was anyone able to look at this? :-)
the rotate macro was cleaned up (arb location=depth|fit|broad|high % \dostepwiserecurse{0}{360}{10} % {\startlinecorrection[blank] % \hbox % {\expanded{\setuprotate[rotation=\recurselevel]}% % \traceboxplacementtrue % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=depth] {\ruledhbox{\bfb (depth)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=fit] {\ruledhbox{\bfb (fit)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=broad] {\ruledhbox{\bfb (broad)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=normal]{\ruledhbox{\bfb (normal)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=high] {\ruledhbox{\bfb (high)}}}}} % \stoplinecorrection}
Best Idris
On Fri, 02 Jul 2004 12:51:58 -0600, Idris Samawi Hamid
wrote: Hi syndicate,
I have found a serious problem in the latest ConTeXt: when using \rotate[]{}, \raise does not seem to work probably. Consider the following example, simplified from a larger macro:
=============test-rotate-c.tex================ \def\cupd{\leavevmode\rotate[rotation=180]{c}} % ConTeXt dependent!
\def\HAMZAH{\leavevmode\raise.9ex\hbox{\txx\cupd}{}} \def\AYN {\leavevmode\raise.9ex\hbox{\txx c}{}}
\def\'{\HAMZAH} \def\`{\AYN}
\starttext
\`ish\=a\'
\stoptext =============================================
In ConTeXt-2003.2.11, both the `c' and the rotated `c' appear at the same height. In the latest ConTeXt the rotated `c' is not as high as the normal `c'.
Please advise;-)
Best Idris
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Idris Samawi Hamid