From: "Jan-Erik Hägglöf" <janerik.hagglof@bredband.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to make caption for any table?
Date: Mon, 09 Jun 2008 14:53:04 +0200 [thread overview]
Message-ID: <1213015984.7925.5.camel@djsameman> (raw)
In-Reply-To: <115224fb0806090212u54a1e2f8nfd5e908ebb525a6d@mail.gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-06-09 12:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Jan-Erik Hägglöf [this message]
2008-06-09 13:01 ` How to make caption for any table? Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1213015984.7925.5.camel@djsameman \
--to=janerik.hagglof@bredband.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).