* What's the easiest way to create numbered captions?
@ 2005-08-03 21:52 Eugene Toporov
2005-08-04 6:55 ` Taco Hoekwater
0 siblings, 1 reply; 6+ messages in thread
From: Eugene Toporov @ 2005-08-03 21:52 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1225 bytes --]
Hello!
I've faced a problem briefly discussed before... when the table (natural
table) placed using sample below is not split to pages:
\placetable[here][mytable1]{Table Caption}{
\bTABLE[split=repeat]
\bTR \bTH Header\eTH \eTR
\dorecurse{150}{
\bTR \bTD row text \eTD \eTR}
\eTABLE
}
Everything works fine if I do not use \placetable. But I do not have the
numbered caption in this case and cannot reference this table in a link.
Is there any other simple way to give tables (even not only tables) a
caption with number?
I almost made it using the numbered labels the like below:
\definelabel[tableLable][text=Table,headstyle=boldslanted]
\tableLable \em{ Table Caption}
\reference[mytable1]{Table Caption}
\bTABLE[split=repeat]
\bTR \bTH Header\eTH \eTR
\dorecurse{150}{
\bTR \bTD row text \eTD \eTR}
\eTABLE
This way I can have numbered caption where I need, which is almost cool.
But the problem is that I cannot create table link with text "Table
N.NTable_Caption"
\in{Table}[mytable1] gives the link like "Table Table_Caption" and I cannot
add number there :(
I hope I miss something really obvious,
Thanks everyone in advance!
--
Regards.
Eugene Toporov
[-- Attachment #1.2: Type: text/html, Size: 1473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What's the easiest way to create numbered captions?
2005-08-03 21:52 What's the easiest way to create numbered captions? Eugene Toporov
@ 2005-08-04 6:55 ` Taco Hoekwater
2005-08-15 16:00 ` Eugene Toporov
0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2005-08-04 6:55 UTC (permalink / raw)
Eugene Toporov wrote:
> Hello!
>
> I've faced a problem briefly discussed before... when the table (natural
> table) placed using sample below is not split to pages:
Would this help?
\placetable[here][mytable1]
{Table Caption}{\kern -\baselineskip \strut}
\bTABLE[split=repeat]
\bTR \bTH Header\eTH \eTR
\dorecurse{150}{
\bTR \bTD row text \eTD \eTR}
\eTABLE
Taco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What's the easiest way to create numbered captions?
2005-08-04 6:55 ` Taco Hoekwater
@ 2005-08-15 16:00 ` Eugene Toporov
2005-08-15 21:31 ` Taco Hoekwater
0 siblings, 1 reply; 6+ messages in thread
From: Eugene Toporov @ 2005-08-15 16:00 UTC (permalink / raw)
Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 167 bytes --]
Taco,
This really helped! Thanks!
One small issue appeared, though.
Sometimes I get title on one page and the table on the following.
--
Regards.
Eugene
[-- Attachment #1.2: Type: text/html, Size: 229 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What's the easiest way to create numbered captions?
2005-08-15 16:00 ` Eugene Toporov
@ 2005-08-15 21:31 ` Taco Hoekwater
2005-08-15 21:54 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2005-08-15 21:31 UTC (permalink / raw)
Cc: mailing list for ConTeXt users
Eugene Toporov wrote:
> Taco,
>
> This really helped! Thanks!
>
> One small issue appeared, though.
> Sometimes I get title on one page and the table on the following.
I'd opt for some judicious use of the \page command where this
happens.
Cheers, Taco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What's the easiest way to create numbered captions?
2005-08-15 21:31 ` Taco Hoekwater
@ 2005-08-15 21:54 ` Hans Hagen
2005-08-23 22:14 ` Eugene Toporov
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2005-08-15 21:54 UTC (permalink / raw)
Taco Hoekwater wrote:
> Eugene Toporov wrote:
>
>> Taco,
>>
>> This really helped! Thanks!
>>
>> One small issue appeared, though.
>> Sometimes I get title on one page and the table on the following.
>
>
> I'd opt for some judicious use of the \page command where this
> happens.
or (in the case of natural tables) try splitmethod=b or set
\extratblsplitheight to some value
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What's the easiest way to create numbered captions?
2005-08-15 21:54 ` Hans Hagen
@ 2005-08-23 22:14 ` Eugene Toporov
0 siblings, 0 replies; 6+ messages in thread
From: Eugene Toporov @ 2005-08-23 22:14 UTC (permalink / raw)
Cc: Hans Hagen, Taco Hoekwater
[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]
Thanks Taco, Hans!
I did not really get what you both meant in your replies but having added
\testpage[5] before the table title seems to be doing the trick. Is this
something that can be used here?
>> One small issue appeared, though.
> >> Sometimes I get title on one page and the table on the following.
> >
> >
> > I'd opt for some judicious use of the \page command where this
> > happens.
>
>
> or (in the case of natural tables) try splitmethod=b or set
> \extratblsplitheight to some value
>
>
--
Regards.
Eugene Toporov
[-- Attachment #1.2: Type: text/html, Size: 795 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-23 22:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-03 21:52 What's the easiest way to create numbered captions? Eugene Toporov
2005-08-04 6:55 ` Taco Hoekwater
2005-08-15 16:00 ` Eugene Toporov
2005-08-15 21:31 ` Taco Hoekwater
2005-08-15 21:54 ` Hans Hagen
2005-08-23 22:14 ` Eugene Toporov
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).