From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: orphan headline
Date: Thu, 26 May 2016 21:29:48 +0200 [thread overview]
Message-ID: <cbbb7ed9-982a-ff73-81c7-aba17cba14f8@gmx.es> (raw)
In-Reply-To: <BF5AF9AB-134C-4B09-BBC3-D095C3BC3CAC@di.unito.it>
On 05/26/2016 05:45 PM, Andrea Valle wrote:
> Thanks a lot Pablo,
>
>> On 26 May 2016, at 17:40, Pablo Rodriguez wrote:
>>
>> On 05/26/2016 10:56 AM, Andrea Valle wrote:
>> you may replace \blank[1cm] with \blank[samepage,1cm].
>>
>> This should move the heading to the next page.
>
> alas, it does not, seems ineffective
In a much simpler case, it seems to work:
\setuphead[section]
[style=\ss\tfa, after={\hrule\blank[samepage,big]}]
%~ [style=\ss\tfa, after={\hrule\blank[big]}]
\setuphead[subsection]
[style=\ss, after={\hrule\blank[samepage,medium]}]
%~ [style=\ss, after={\hrule\blank[medium]}]
\starttext
\dorecurse{10}{\section{Section}
\input knuth
\subsection{Subsection}
\input zapf}
\stoptext
Do you really need headings to be inside framed texts?
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2016-05-26 19:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 8:56 Andrea Valle
2016-05-26 15:40 ` Pablo Rodriguez
2016-05-26 15:45 ` Andrea Valle
2016-05-26 19:29 ` Pablo Rodriguez [this message]
2016-05-27 12:49 ` Wolfgang Schuster
2016-05-29 9:57 ` Pablo Rodriguez
2016-05-29 11:26 ` Hans Hagen
2016-05-26 19:55 ` Wolfgang Schuster
2016-05-27 8:16 ` Andrea Valle
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=cbbb7ed9-982a-ff73-81c7-aba17cba14f8@gmx.es \
--to=oinos@gmx.es \
--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).