* How to make caption for nature table?
@ 2008-06-09 8:05 Zhaopeng Xing
2008-06-09 9:12 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Zhaopeng Xing @ 2008-06-09 8:05 UTC (permalink / raw)
To: ntg-context
Hi,
I have a multi-page nature table and tried to give a caption by
\placetable[here][tab:sample]{sample table}{
A nature table here
}
But it will run wrong. It seems multipage stuff can not be float. Is
there any suggestion? Thanks.
--
Zhaopeng XING
Tinbergen Institute
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to make caption for nature table?
2008-06-09 8:05 How to make caption for nature table? Zhaopeng Xing
@ 2008-06-09 9:12 ` Wolfgang Schuster
2008-06-09 10:08 ` Zhaopeng Xing
2008-06-09 12:53 ` How to make caption for any table? Jan-Erik Hägglöf
0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2008-06-09 9:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing <zpxing@gmail.com> wrote:
> Hi,
>
> I have a multi-page nature table and tried to give a caption by
> \placetable[here][tab:sample]{sample table}{
> A nature table here
> }
>
> But it will run wrong. It seems multipage stuff can not be float. Is
> there any suggestion? Thanks.
You need the split parameter for \placetable.
\placetable
[split]
{A very long table}
{\bTABLE
\dorecurse{200}{\bTR\bTD Text \eTD\eTR}
\eTABLE}
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to make caption for nature table?
2008-06-09 9:12 ` Wolfgang Schuster
@ 2008-06-09 10:08 ` Zhaopeng Xing
2008-06-09 12:53 ` How to make caption for any table? Jan-Erik Hägglöf
1 sibling, 0 replies; 5+ messages in thread
From: Zhaopeng Xing @ 2008-06-09 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks. It works well.
2008/6/9 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
> On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing <zpxing@gmail.com> wrote:
>> Hi,
>>
>> I have a multi-page nature table and tried to give a caption by
>> \placetable[here][tab:sample]{sample table}{
>> A nature table here
>> }
>>
>> But it will run wrong. It seems multipage stuff can not be float. Is
>> there any suggestion? Thanks.
>
> You need the split parameter for \placetable.
>
> \placetable
> [split]
> {A very long table}
> {\bTABLE
> \dorecurse{200}{\bTR\bTD Text \eTD\eTR}
> \eTABLE}
>
> Wolfgang
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
Zhaopeng XING
Tinbergen Institute
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to make caption for any table?
2008-06-09 9:12 ` Wolfgang Schuster
2008-06-09 10:08 ` Zhaopeng Xing
@ 2008-06-09 12:53 ` Jan-Erik Hägglöf
2008-06-09 13:01 ` Wolfgang Schuster
1 sibling, 1 reply; 5+ messages in thread
From: Jan-Erik Hägglöf @ 2008-06-09 12:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
mån 2008-06-09 klockan 11:12 +0200 skrev Wolfgang Schuster:
> On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing <zpxing@gmail.com> wrote:
> > Hi,
> >
> > I have a multi-page nature table and tried to give a caption by
> > \placetable[here][tab:sample]{sample table}{
> > A nature table here
> > }
> >
> > But it will run wrong. It seems multipage stuff can not be float. Is
> > there any suggestion? Thanks.
>
> You need the split parameter for \placetable.
>
> \placetable
> [split]
> {A very long table}
> {\bTABLE
> \dorecurse{200}{\bTR\bTD Text \eTD\eTR}
> \eTABLE}
>
> Wolfgang
A following question is how to make caption work at all with arbitrary
table set, especially with the database module. I tested with this but
with no caption at output.
% engine=luatex
\mainlanguage[sv]
\usemodule[database]
\defineseparatedlist
[MyTable]
[separator=tab,
left=\bTD,right=\eTD,
first=\bTR,last=\eTR,
before=\bTABLE,after=\eTABLE]
\starttext
\placetable[split][tab:test-tabell]{En testad tabell}
{\startMyTable
$ \delta $ 45 23 11
$ \omega $ 22 67 88
\stopMyTable}
\stoptext
I suppose there is a slight different syntax to make this work!
Thanks in advance!
Jan-Erik Hägglöf
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to make caption for any table?
2008-06-09 12:53 ` How to make caption for any table? Jan-Erik Hägglöf
@ 2008-06-09 13:01 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2008-06-09 13:01 UTC (permalink / raw)
To: janerik.hagglof, mailing list for ConTeXt users
> A following question is how to make caption work at all with arbitrary
> table set, especially with the database module. I tested with this but
> with no caption at output.
>
> % engine=luatex
> \mainlanguage[sv]
> \usemodule[database]
> \defineseparatedlist
> [MyTable]
> [separator=tab,
> left=\bTD,right=\eTD,
> first=\bTR,last=\eTR,
> before=\bTABLE,after=\eTABLE]
> \starttext
> \placetable[split][tab:test-tabell]{En testad tabell}
> {\startMyTable
\bgroup\startMyTable
> $ \delta $ 45 23 11
> $ \omega $ 22 67 88
> \stopMyTable}
\stopMyTable\egroup
> \stoptext
>
> I suppose there is a slight different syntax to make this work!
>
> Thanks in advance!
>
> Jan-Erik Hägglöf
Please start next time a new thread.
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-09 13:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-09 8:05 How to make caption for nature table? Zhaopeng Xing
2008-06-09 9:12 ` Wolfgang Schuster
2008-06-09 10:08 ` Zhaopeng Xing
2008-06-09 12:53 ` How to make caption for any table? Jan-Erik Hägglöf
2008-06-09 13:01 ` Wolfgang Schuster
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).