ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice L <fabrice.alpha@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Border matrix
Date: Thu, 19 Apr 2018 23:07:35 -0400	[thread overview]
Message-ID: <CANy7HnbaRPumefxVnvR6dJsOtwWYsN9J-x0L-ubyPnLUxg3PVw@mail.gmail.com> (raw)
In-Reply-To: <5AD8F8A9.407@gmail.com>


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

Wolfgang, thanks so much ! Everything is clear now, and works fine.

I will explore the mathalignment environment, which I’m not used to.
Fabrice.


Le 19 avril 2018 à 16:14:51, Wolfgang Schuster (schuster.wolfgang@gmail.com)
a écrit:

1. The bordermatrix code is part of the core and you can remove it from
cont-new.mkiv.

2. To use the \equalign command you have to enable the special meaning of &
in math mode with \setupmathematics[ampersand=normal].

3. User the new mathalignment environment as replacement for \equalign
which avoids special characters like &.

Wolfgang

Fabrice L <fabrice.alpha@gmail.com>
19. April 2018 um 22:05
Dear list,

Some months ago, Hans wrote to this list (see below) a macro to do matrix
showing outside the brackets some informations (like we usually do for
Markov chains), but adapted some plain tex code, which worked in MKII). I
have used with success this code since then, but some weeks ago, the
behavior of Context had changed (probably something on my part; I have
updated the installation, but nothing changed).

The problem (I think) is linked to \unprotect \protect. When this code is
put before the \starttext to the the cont-new-mkiv, the border matrix
behave well, but a simple \eqalign like this:

\startformula
\eqalign{ & \lambda=5, \mu =5 \cr
       & \mu=8 \cr }
\stopformula

do not works is I replace «  \lambda » by « \lambda_2 » for example. I have
no idea what’s is going on. here is a minimal example where Hans’s code is
before the \starttext:

___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2018-04-20  3:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 16:33 Fabrice L
2017-08-28 17:29 ` Hans Hagen
2017-08-28 17:44   ` Fabrice L
     [not found] ` <7c38cc04-4408-9799-7a27-fcd1c3a47f6b@wxs.nl>
2018-04-19 20:05   ` Fabrice L
2018-04-19 20:14     ` Wolfgang Schuster
2018-04-20  3:07       ` Fabrice L [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANy7HnbaRPumefxVnvR6dJsOtwWYsN9J-x0L-ubyPnLUxg3PVw@mail.gmail.com \
    --to=fabrice.alpha@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).