ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in latest ConTeXt?
@ 2004-07-02 18:51 Idris Samawi Hamid
  2004-07-06 23:01 ` Idris Samawi Hamid
  0 siblings, 1 reply; 3+ messages in thread
From: Idris Samawi Hamid @ 2004-07-02 18:51 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug in latest ConTeXt?
  2004-07-02 18:51 bug in latest ConTeXt? Idris Samawi Hamid
@ 2004-07-06 23:01 ` Idris Samawi Hamid
  2004-07-07  8:50   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Idris Samawi Hamid @ 2004-07-06 23:01 UTC (permalink / raw)


Hi,

Was anyone able to look at this?
:-)

Best
Idris


On Fri, 02 Jul 2004 12:51:58 -0600, Idris Samawi Hamid 
<ishamid@colostate.edu> 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
>
>



-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug in latest ConTeXt?
  2004-07-06 23:01 ` Idris Samawi Hamid
@ 2004-07-07  8:50   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2004-07-07  8:50 UTC (permalink / raw)


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 
> <ishamid@colostate.edu> 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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-07  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-02 18:51 bug in latest ConTeXt? Idris Samawi Hamid
2004-07-06 23:01 ` Idris Samawi Hamid
2004-07-07  8:50   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).