ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Duncan Hothersall <dh@capdm.com>
Subject: Splitting a float that isn't a table
Date: Fri, 03 Nov 2006 16:13:49 +0000	[thread overview]
Message-ID: <454B6ABD.9090305@capdm.com> (raw)

I define a floating block called Exhibit

\definefloat[Exhibit][table]

which just contains paragraphs of text. I'd like to be able to split it
using the \splitfloat mechanism but that only seems to work if the
content of the float is a table, not paragraphs.

----
\definefloat[Exhibit][table]
\starttext
\input tufte\par
\splitfloat[lines=auto]{\placeExhibit{Knuth}}
{\dorecurse{4}{\input knuth \par}}
\input tufte\page[yes]
\stoptext
----

This outputs "there is nothing to split" in the resultant PDF.

Is there any way to achieve the equivalent of

----
\definefloat[Exhibit][table]
\starttext
\input tufte\par
\splitfloat[lines=auto]{\placeExhibit{Knuth}}
{\bTABLE[frame=off]\dorecurse{4}{\bTR\bTD\input knuth \eTD\eTR}
\eTABLE}
\input tufte\page[yes]
\stoptext
----

without having to make every paragraph a table cell?

Thanks in advance.

Duncan

             reply	other threads:[~2006-11-03 16:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-03 16:13 Duncan Hothersall [this message]
2006-11-03 18:01 ` Hans Hagen

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=454B6ABD.9090305@capdm.com \
    --to=dh@capdm.com \
    --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).