# [NTG-context] embeddedxtable

Meer, H. van der H.vanderMeer at uva.nl
Sun May 24 15:06:48 CEST 2015

```Here can be seen how every row adds space before the table. I.e. spaces are added and after that the table is put behind. This behaviour was not present when I had the material typeset earlier. The xmlsetup's used were not changed since then.

\startxmlsetups xmlcommon:tr
\xmlstripanywhere{#1}{.}
\bgroup
\setupxtableparameters{#1}
\startxrow
X\xmlflush{#1}
\stopxrow
\egroup
\stopxmlsetups

Hans van der Meer

[cid:723DA497-86EF-4142-A951-D70FD92D5104]

On 24 May 2015, at 13:49, Meer, H. van der <H.vanderMeer at uva.nl<mailto:H.vanderMeer at uva.nl>> wrote:

Further experimenting with different ConTeXt versions:

Trying earlier and latest beta, placing the embeddedxtable inside \midaligned:

version 2014.11.26 puts the embbedxtable to the right over distance width-of-table.

version 2015.03.25 and version 2015.05.23 put the left side of the embeddedxtable in the middle of the page.
Something changed between these two versions. But clearly not enough.

Hans van der Meer

On 24 May 2015, at 12:36, Meer, H. van der <H.vanderMeer at uva.nl<mailto:H.vanderMeer at uva.nl>> wrote:

When typesetting inside a \midaligned a version with markers around:

A\startembeddedxtable\xmlflush{#1}\stopembeddedxtable B

then the A and B show up centered and have the width of the table material between them.
The embeddedxtable stuff is placed outside that range starting at the location of the B.
A sketch of what happens:

A   <space of tablewidth>   B<table starts here extending to the right>

Definitely something with embeddedxtable placement, I might guess. Some unwanted spaces in the code perhaps?

Hans van der Meer

On 24 May 2015, at 12:18, Meer, H. van der <H.vanderMeer at uva.nl<mailto:H.vanderMeer at uva.nl>> wrote:

With the construct
\startembeddedxtable\xmlflush{#1}\stopembeddedxtable
placed inside a
\midaligned
I used to get a neatly centered content. But now the material is shifted to the right, even sticking out of the page.

Has something changed in the embeddedxtable alignment handling since the end of 2013?

(The embeddedxtable macro was needed because the typeset material exists inside \startbuffer..\stopbuffer.)

Hans van der Meer

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

maillist : ntg-context at ntg.nl<mailto:ntg-context at ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net<http://contextgarden.net/>
___________________________________________________________________________________

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

maillist : ntg-context at ntg.nl<mailto:ntg-context at ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net<http://contextgarden.net/>
___________________________________________________________________________________

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

maillist : ntg-context at ntg.nl<mailto:ntg-context at ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150524/54ca2643/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...