ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startalign + \boldsymbol weird behavior
@ 2009-03-29 16:44 Boštjan Vesnicer
  2009-03-29 17:16 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Boštjan Vesnicer @ 2009-03-29 16:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 165 bytes --]

Hi,

I've noticed a weird behavior using \boldsymbol within \startalign
\stopalign. Please see the attached minimal example.

MKII version 2009.03.13 17:35

Bostjan

[-- Attachment #1.2: Type: text/html, Size: 191 bytes --]

[-- Attachment #2: minimal.tex --]
[-- Type: application/x-tex, Size: 258 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

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

* Re: \startalign + \boldsymbol weird behavior
  2009-03-29 16:44 \startalign + \boldsymbol weird behavior Boštjan Vesnicer
@ 2009-03-29 17:16 ` Aditya Mahajan
  2009-03-29 17:20   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2009-03-29 17:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 334 bytes --]

On Sun, 29 Mar 2009, Boštjan Vesnicer wrote:

> Hi,
>
> I've noticed a weird behavior using \boldsymbol within \startalign
> \stopalign. Please see the attached minimal example.
>
> MKII version 2009.03.13 17:35

A bug somewhere, possibly in the definition of \mathortext. For the time 
being, use \mathboldsymbol.

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

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

* Re: \startalign + \boldsymbol weird behavior
  2009-03-29 17:16 ` Aditya Mahajan
@ 2009-03-29 17:20   ` Aditya Mahajan
  2009-03-29 17:35     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2009-03-29 17:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 615 bytes --]

On Sun, 29 Mar 2009, Aditya Mahajan wrote:

> On Sun, 29 Mar 2009, Boštjan Vesnicer wrote:
>
>> Hi,
>> 
>> I've noticed a weird behavior using \boldsymbol within \startalign
>> \stopalign. Please see the attached minimal example.
>> 
>> MKII version 2009.03.13 17:35
>
> A bug somewhere, possibly in the definition of \mathortext. For the time 
> being, use \mathboldsymbol.

Hans,

\mathortext in core-mat should be defined as unexpanded def.

\unexpanded\def\mathortext
   {\ifmmode
      \expandafter\firstoftwoarguments
    \else
      \expandafter\secondoftwoarguments
    \fi}

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

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

* Re: \startalign + \boldsymbol weird behavior
  2009-03-29 17:20   ` Aditya Mahajan
@ 2009-03-29 17:35     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-03-29 17:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> On Sun, 29 Mar 2009, Aditya Mahajan wrote:
> 
>> On Sun, 29 Mar 2009, Boštjan Vesnicer wrote:
>>
>>> Hi,
>>>
>>> I've noticed a weird behavior using \boldsymbol within \startalign
>>> \stopalign. Please see the attached minimal example.
>>>
>>> MKII version 2009.03.13 17:35
>>
>> A bug somewhere, possibly in the definition of \mathortext. For the 
>> time being, use \mathboldsymbol.
> 
> Hans,
> 
> \mathortext in core-mat should be defined as unexpanded def.
> 
> \unexpanded\def\mathortext
>   {\ifmmode
>      \expandafter\firstoftwoarguments
>    \else
>      \expandafter\secondoftwoarguments
>    \fi}

ok

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________


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

end of thread, other threads:[~2009-03-29 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-29 16:44 \startalign + \boldsymbol weird behavior Boštjan Vesnicer
2009-03-29 17:16 ` Aditya Mahajan
2009-03-29 17:20   ` Aditya Mahajan
2009-03-29 17:35     ` 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).