Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to work) and you have to use a combination of \removeunwantedspaces and \ignorespaces

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 24.05.2015 um 21:33 schrieb Meer, H. van der h.vanderm...@uva.nl: In this case you have to provide a working minimal example. Wolfgang Here an example as minimal as I could construct. The spaces in the

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to work) and you have to use a combination of \removeunwantedspaces and \ignorespaces

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Wolfgang Schuster
Am 25.05.2015 um 11:26 schrieb Meer, H. van der h.vanderm...@uva.nl: On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Wolfgang Schuster
Am 25.05.2015 um 12:08 schrieb Meer, H. van der h.vanderm...@uva.nl: On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: Am 24.05.2015 um 21:33 schrieb Meer, H. van der h.vanderm...@uva.nl mailto:h.vanderm...@uva.nl:

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Wolfgang Schuster
Am 25.05.2015 um 10:35 schrieb Meer, H. van der h.vanderm...@uva.nl: On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 24.05.2015 um 21:33 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: Here an example as minimal as I could construct. The spaces in the output are

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 25 May 2015, at 13:05, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The following example shows where you have to take care of extra space and you don’t need them when you put the whole table in a \vbox (you can test by commenting all \ignorespaces and \removeunwantedspaces

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
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

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
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

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
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

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
I can get rid of the unwanted spaces before the table by inserting a whole bunch of \unskip's in my code. All the \unskip's in the following code are necessary. I guess this observation will be enough to repair the ConText code. Or do I have to change something in my code? \startxmlsetups

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
Am 24.05.2015 um 18:01 schrieb Meer, H. van der h.vanderm...@uva.nl: Defined as follows: \def\setupxtableparameters#1{% #1 is the node \setupframeparameters{#1}{\setupxtable}% \setupToAttribute{#1}{\setupxtable}{foregroundstyle}{style}{style}{\tf}%

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
In this case you have to provide a working minimal example. Wolfgang Here an example as minimal as I could construct. Hans van der Meer The following example outputs show what happens with and without the \unskip's in the code. [cid:E7DC008D-E8CB-4F0A-BC45-9E8E4969C8DB]

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
Defined as follows: \def\setupxtableparameters#1{% #1 is the node \setupframeparameters{#1}{\setupxtable}% \setupToAttribute{#1}{\setupxtable}{foregroundstyle}{style}{style}{\tf}% \setupToAttribute{#1}{\setupxtable}{offset}{cellpadding}{}{0pt}%

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
Am 24.05.2015 um 15:32 schrieb Meer, H. van der h.vanderm...@uva.nl: I can get rid of the unwanted spaces before the table by inserting a whole bunch of \unskip's in my code. All the \unskip's in the following code are necessary. I guess this observation will be enough to repair the

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
Am 24.05.2015 um 21:33 schrieb Meer, H. van der h.vanderm...@uva.nl: In this case you have to provide a working minimal example. Wolfgang Here an example as minimal as I could construct. The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to