From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Pablo Rodriguez <oinos@gmx.es>
Subject: Re: issue splitting tables and horizontal mode
Date: Sun, 20 Oct 2019 12:53:33 +0200 [thread overview]
Message-ID: <499b733e-88c9-a236-7e59-dd9e0a5017f7@gmail.com> (raw)
In-Reply-To: <7febbb59-6a20-fbe1-e6ee-f64dfb5d6959@gmx.es>
Pablo Rodriguez schrieb am 20.10.2019 um 12:36:
> On 10/20/19 11:49 AM, Wolfgang Schuster wrote:
>> Pablo Rodriguez schrieb am 18.10.2019 um 16:23:
>>> [...]
>>> When splitting extreme tables, I cannot use \dontleavehmode.
>> 1. What is the purpose of \dontleavehmode in your example?
> Sorry, Wolfgang, I forgot to mention.
>
> \dontleavehmode is required to center the table when
> \startmakeup[standard][align=center].
You can use the float environment and disable the counter.
\starttext
\startplacefigure [location={none,split}]
\startxtable
\dorecurse{100}
{\startxrow
\startxcell xxx \stopxcell
\startxcell xxx \stopxcell
\stopxrow}
\stopxtable
\stopplacefigure
\stoptext
Another option is framedtext which can be centered.
\starttext
\startframedtext [location=middle,width=fit,frame=off]
\startxtable
\startxrow
\startxcell xxx \stopxcell
\startxcell xxx \stopxcell
\stopxrow
\stopxtable
\stopframedtext
\stoptext
>> 2. Why do you try to split a table in a makup environment (which will
>> never work)?
> \setupxtable[split=yes] is a general setup for the whole document.
>
> I mean, I don’t want a table in the document to be stuck between pages.
>
> Only sometimes I have makeups with tables. And this was my first issue
> with the conflicting general setup.
When you short table keeping them together can be better or do you want
short tables with five rows to be split across pages.
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2019-10-20 10:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 14:23 Pablo Rodriguez
2019-10-20 9:49 ` Wolfgang Schuster
2019-10-20 10:36 ` Pablo Rodriguez
2019-10-20 10:53 ` Wolfgang Schuster [this message]
2019-10-20 17:38 ` Pablo Rodriguez
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=499b733e-88c9-a236-7e59-dd9e0a5017f7@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/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).