ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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

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).