ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: Re: embeddedxtable
Date: Sun, 24 May 2015 13:06:48 +0000	[thread overview]
Message-ID: <0D7ACAF3-3C6F-4FAD-BB61-4CC74397AEC5@uva.nl> (raw)
In-Reply-To: <63FDF106-1AE7-4F27-9198-97AD3976602D@uva.nl>


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

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@uva.nl<mailto:H.vanderMeer@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@uva.nl<mailto:H.vanderMeer@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@uva.nl<mailto:H.vanderMeer@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@ntg.nl<mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl<http://www.pragma-ade.nl/> / http://tex.aanhet.net<http://tex.aanhet.net/>
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@ntg.nl<mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl<http://www.pragma-ade.nl/> / http://tex.aanhet.net<http://tex.aanhet.net/>
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@ntg.nl<mailto:ntg-context@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
___________________________________________________________________________________


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

[-- Attachment #2: row-adds-space.tiff --]
[-- Type: image/tiff, Size: 11904 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-05-24 13:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24 10:18 embeddedxtable Meer, H. van der
2015-05-24 10:36 ` embeddedxtable Meer, H. van der
2015-05-24 11:49   ` embeddedxtable Meer, H. van der
2015-05-24 13:06     ` Meer, H. van der [this message]
2015-05-24 13:32       ` embeddedxtable Meer, H. van der
2015-05-24 15:31         ` embeddedxtable Wolfgang Schuster
2015-05-24 16:01           ` embeddedxtable Meer, H. van der
2015-05-24 18:16             ` embeddedxtable Wolfgang Schuster
2015-05-24 19:33               ` embeddedxtable Meer, H. van der
2015-05-24 20:53                 ` embeddedxtable Wolfgang Schuster
2015-05-25  8:35                   ` embeddedxtable Meer, H. van der
2015-05-25  9:26                     ` embeddedxtable Meer, H. van der
2015-05-25 10:59                       ` embeddedxtable Wolfgang Schuster
2015-05-25 10:55                     ` embeddedxtable Wolfgang Schuster
2015-05-25  9:06                   ` embeddedxtable Meer, H. van der
2015-05-25 10:08                   ` embeddedxtable Meer, H. van der
2015-05-25 11:05                     ` embeddedxtable Wolfgang Schuster
2015-05-25 13:50                       ` embeddedxtable Meer, H. van der

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=0D7ACAF3-3C6F-4FAD-BB61-4CC74397AEC5@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).