ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in maths environment: thematrix
@ 2023-03-09 13:45 Otared Kavian via ntg-context
  2023-03-12 17:04 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian via ntg-context @ 2023-03-09 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian


Hi Hans,

I noticed that in some situations the command \thematrix does not show all its arguments correctly: some parts are omitted in the typeset formula. In some occasions adding some groupings solves the issue, but not always. I noticed this bug two weeks ago, but could not produce a minimal example until now…

Please see below, in particular the output for the matrices M_1, M_2 and M_3…

Best regards: Otared

% begin bug-thematrix.tex
\starttext
\startformula
M_{1}(t)
:= \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
B_{1}(t) := \thematrix{1 , {\rm e}^t},
\stopformula

\startformula
M_{2}(t)
:= \thematrix{{{\rm e}^s} , {{\rm e}^t}}, \qquad
B_{2}(t) := \thematrix{0 ; {{\rm e}^t}},
\stopformula


\startformula
M_{3}(t)
= \thematrix{{\rm e}^s, {\rm e}^t ; 0 , {\rm e}^t}.
\stopformula


\startformula
M_{4}(t)
= \thematrix{1, {{\rm e}^t} + 1 ; 0 , {{\rm e}^t}}.
\stopformula

\stoptext
% end bug-thematrix.tex
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Bug in maths environment: thematrix
  2023-03-09 13:45 Bug in maths environment: thematrix Otared Kavian via ntg-context
@ 2023-03-12 17:04 ` Hans Hagen via ntg-context
  2023-03-12 17:20   ` Otared Kavian via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-03-12 17:04 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 3/9/2023 2:45 PM, Otared Kavian via ntg-context wrote:
> 
> Hi Hans,
> 
> I noticed that in some situations the command \thematrix does not show all its arguments correctly: some parts are omitted in the typeset formula. In some occasions adding some groupings solves the issue, but not always. I noticed this bug two weeks ago, but could not produce a minimal example until now…
> 
> Please see below, in particular the output for the matrices M_1, M_2 and M_3…
> 
> Best regards: Otared
> 
> % begin bug-thematrix.tex
> \starttext
> \startformula
> M_{1}(t)
> := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
> B_{1}(t) := \thematrix{1 , {\rm e}^t},
> \stopformula
> 
> \startformula
> M_{2}(t)
> := \thematrix{{{\rm e}^s} , {{\rm e}^t}}, \qquad
> B_{2}(t) := \thematrix{0 ; {{\rm e}^t}},
> \stopformula
> 
> 
> \startformula
> M_{3}(t)
> = \thematrix{{\rm e}^s, {\rm e}^t ; 0 , {\rm e}^t}.
> \stopformula
> 
> 
> \startformula
> M_{4}(t)
> = \thematrix{1, {{\rm e}^t} + 1 ; 0 , {{\rm e}^t}}.
> \stopformula
> 
> \stoptext
> % end bug-thematrix.tex
i have a fix but there will be no uploads till texlive has been frozen / 
packages

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Bug in maths environment: thematrix
  2023-03-12 17:04 ` Hans Hagen via ntg-context
@ 2023-03-12 17:20   ` Otared Kavian via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Otared Kavian via ntg-context @ 2023-03-12 17:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian


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



> On 12 Mar 2023, at 18:04, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
>> […]
> i have a fix but there will be no uploads till texlive has been frozen / packages
> 
> Hans

Thanks Hans ! There is no problem for waiting…

Best regards : Otared

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

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

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-03-12 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 13:45 Bug in maths environment: thematrix Otared Kavian via ntg-context
2023-03-12 17:04 ` Hans Hagen via ntg-context
2023-03-12 17:20   ` Otared Kavian via ntg-context

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).