Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \bTABLE[option=stretch,split=repeat] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \input knuth \stoptext
Am 30.11.2011 um 02:13 schrieb Christian:
Hello,
is it still not possible to split a table so that it covers one half page an then another half page?
It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible?
Examle (table is not split, but could be):
\starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable Wolfgang
Hello,
is it still not possible to split a table so that it covers one half page an then another half page?
It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible?
Examle (table is not split, but could be):
\starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable
Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting... Now in the sample document I get table 1a and table 1b. In my "real" document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters)
Am 30.11.2011 um 10:29 schrieb Christian:
Hello,
is it still not possible to split a table so that it covers one half page an then another half page?
It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible?
Examle (table is not split, but could be):
\starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable
Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting…
The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE.
Now in the sample document I get table 1a and table 1b. In my "real" document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters)
The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document. Wolfgang
Hello,
is it still not possible to split a table so that it covers one half page an then another half page?
It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible?
Examle (table is not split, but could be):
\starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable
Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting…
The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE.
Now in the sample document I get table 1a and table 1b. In my "real" document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters)
The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document.
My guess: It's because fo thecustom suffix. Example: \setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \input knuth \stopsection \stopchapter \stoptext
Am 30.11.2011 um 10:47 schrieb Christian:
Hello,
is it still not possible to split a table so that it covers one half page an then another half page?
It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible?
Examle (table is not split, but could be):
\starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable
Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting…
The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE.
Now in the sample document I get table 1a and table 1b. In my "real" document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters)
The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document.
My guess: It's because fo thecustom suffix. Example:
\setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em]
Remove the setting for “suffix” because it hold the number for the subtable, the number itself can be changed with \setupfloatsplitting[conversion=…] and a separator between the float number and the suffix can be added with \setupcaption[suffixseparator=…]. To add a stopper behind the suffix a different method is needed because although there is a “numberstopper” key for \setupcaption the symbol is added before the suffix, what you can do is to put he symbol in the label text with \setuplabeltext[table={Table ,:}] but a extra key “suffixstopper” but we useful in this case. @Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} Wolfgang
Hello,
is it still not possible to split a table so that it covers one half page an then another half page?
It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a "manual split" be possible?
Examle (table is not split, but could be):
\starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable
Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting…
The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE.
Now in the sample document I get table 1a and table 1b. In my "real" document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters)
The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document.
My guess: It's because fo thecustom suffix. Example:
\setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em]
Remove the setting for “suffix” because it hold the number for the subtable, the number itself can be changed with
\setupfloatsplitting[conversion=…]
and a separator between the float number and the suffix can be added with
\setupcaption[suffixseparator=…].
To add a stopper behind the suffix a different method is needed because although there is a “numberstopper” key for \setupcaption the symbol is added before the suffix, what you can do is to put he symbol in the label text with
\setuplabeltext[table={Table ,:}]
but a extra key “suffixstopper” but we useful in this case.
@Hans: Can you make this change in strc-flt.mkvi?
\unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}}
Works like a charm :) Thanks, Wolfgang!
> Hello, > > is it still not possible to split a table so that it covers one > half page an then another half page? > > It is my understanding that splitting moves the table to the > next page and then splits it to the following if it gets too long for one entire page. > Would a "manual split" be possible? > > Examle (table is not split, but could be): > > \starttext > \dorecurse{2}{\input knuth } > \startplacetable[title={My Table}]
\startplacetable[location=split,title={My table}] … \stopplacetable
Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting…
The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE.
Now in the sample document I get table 1a and table 1b. In my "real" document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters)
The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document.
My guess: It's because fo thecustom suffix. Example:
\setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle= {\ ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em]
Remove the setting for “suffix” because it hold the number for the subtable, the number itself can be changed with
\setupfloatsplitting[conversion=…]
and a separator between the float number and the suffix can be added with
\setupcaption[suffixseparator=…].
To add a stopper behind the suffix a different method is needed because although there is a “numberstopper” key for \setupcaption the symbol is added before the suffix, what you can do is to put he symbol in the label text with
\setuplabeltext[table={Table ,:}]
but a extra key “suffixstopper” but we useful in this case.
@Hans: Can you make this change in strc-flt.mkvi?
\unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}}
Works like a charm :) Thanks, Wolfgang!
Just noticed: In my example posted above, when I remove the suffix and add the \setuplabeltext[table={Table ,:}] I get the a and b. BUT: It's Table 1.1a and 1.2b ...so the second number is incremented, should stay the same, though (1.1a & 1.1b).
On 30-11-2011 11:06, Wolfgang Schuster wrote:
@Hans: Can you make this change in strc-flt.mkvi?
\unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}}
sure ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
@Hans: Can you make this change in strc-flt.mkvi?
\unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}}
sure
I'm sorry to press the issue, but is there a quick fix for the numbering issue? (where the second part of the split table gets the number 1.2b instead of 1.1b and the next table continues from 1.3 instead of 1.2) Here's the example: \setupcaption[table][location=top] \setuplabeltext[table={Tabelle ,:}] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \input knuth\par \startplacetable[title={My other table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{5}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \stopsection \stopchapter \stoptext
Am 30.11.2011 um 18:15 schrieb Christian:
@Hans: Can you make this change in strc-flt.mkvi?
\unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}}
sure
I'm sorry to press the issue, but is there a quick fix for the numbering issue? (where the second part of the split table gets the number 1.2b instead of 1.1b and the next table continues from 1.3 instead of 1.2)
I can’t reproduce this, here the table show 1.1a and 1.1b on the first and second page. mtx-context | current version: 2011.11.29 23:11 Wolfgang
participants (3)
-
Christian
-
Hans Hagen
-
Wolfgang Schuster