ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unconnected \mathboxanchored produces unexpected results
@ 2022-12-22 14:53 Gavin via ntg-context
  2022-12-22 15:07 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Gavin via ntg-context @ 2022-12-22 14:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Gavin

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Hi Hans, MIkael and list,

I got an unexpected result when I asked for a \mathboxanchored, but then did not use it with a connector. I expected the \mathboxanchored contents to be typeset as usual, without a connector. Instead I got “ ::: c3” added into the formula (“c3” was the anchor’s tag).

MWE and unexpected output below.

Thanks,
Gavin


\starttext

\startboxanchoring[+]
\connectboxanchors[top]    [top]    [distance=1ex,arrow=no] {c1}{c2}
%\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3} % <-- I decided not to use this connector, producing unexpected results.
\startformula
    \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
    \mathboxanchored[nucleus]{c2}{e}_{\mu}
    \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}}
    \bar\sigma^{\dot\alpha\beta}_{\mu}
\stopformula
\stopboxanchoring

\stoptext


[-- Attachment #2: anchors-002-copy.pdf --]
[-- Type: application/pdf, Size: 6693 bytes --]

[-- Attachment #3: 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

* Re: Unconnected \mathboxanchored produces unexpected results
  2022-12-22 14:53 Unconnected \mathboxanchored produces unexpected results Gavin via ntg-context
@ 2022-12-22 15:07 ` Hans Hagen via ntg-context
  2022-12-22 16:51   ` Gavin via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-22 15:07 UTC (permalink / raw)
  To: Gavin via ntg-context; +Cc: Hans Hagen

On 12/22/2022 3:53 PM, Gavin via ntg-context wrote:
> Hi Hans, MIkael and list,
> 
> I got an unexpected result when I asked for a \mathboxanchored, but then did not use it with a connector. I expected the \mathboxanchored contents to be typeset as usual, without a connector. Instead I got “ ::: c3” added into the formula (“c3” was the anchor’s tag).
> 
> MWE and unexpected output below.
> 
> Thanks,
> Gavin
> 
> 
> \starttext
> 
> \startboxanchoring[+]
> \connectboxanchors[top]    [top]    [distance=1ex,arrow=no] {c1}{c2}
> %\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3} % <-- I decided not to use this connector, producing unexpected results.
> \startformula
>      \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
>      \mathboxanchored[nucleus]{c2}{e}_{\mu}
>      \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}}
>      \bar\sigma^{\dot\alpha\beta}_{\mu}
> \stopformula
> \stopboxanchoring
> 
> \stoptext
can you try the latest binary fron the farm (remake th eformat)


-----------------------------------------------------------------
                                           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: Unconnected \mathboxanchored produces unexpected results
  2022-12-22 15:07 ` Hans Hagen via ntg-context
@ 2022-12-22 16:51   ` Gavin via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Gavin via ntg-context @ 2022-12-22 16:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Gavin

Hi Hans,

> can you try the latest binary fron the farm (remake th eformat)

I haven’t done that before, so I don’t know. I’d certainly need a link, and I might need some guidance if I run into trouble. I’m happy to try.

Gavin
___________________________________________________________________________________
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:[~2022-12-22 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 14:53 Unconnected \mathboxanchored produces unexpected results Gavin via ntg-context
2022-12-22 15:07 ` Hans Hagen via ntg-context
2022-12-22 16:51   ` Gavin 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).