Strange page break before \title
Hi, I have this setuptitle: \setuphead[title][before={\page[no]}, after={\startalignment[center] {\dorecurse{30}~}\thinrule{\dorecurse{30}~}% and this document: \starttext \startalignment[center] Nom: \hl[24] Curs: \hl[4] \stopalignment \title{Nom del tema} ... \stoptext Before title, context breaks a page. Why? If I do that manually no page break. Thanks in advance, Xan. PS: Please CCme
Am 06.09.2013 um 13:09 schrieb Xan
Hi,
I have this setuptitle:
\setuphead[title][before={\page[no]}, after={\startalignment[center] {\dorecurse{30}~}\thinrule{\dorecurse{30}~}%
\setuphead [title] [page=no, after=\midaligned{\blackrule[width=7cm,height=\linewidth]}] Wolfgang
On Fri, 6 Sep 2013 13:22:55 +0200
Wolfgang Schuster
after=\midaligned{\blackrule[width=7cm,height=\linewidth]}
Thanks, perfect. But why (by default) it breaks the page and with simple \title does not do? Xan.
Am 07.09.2013 um 22:34 schrieb Xan
On Fri, 6 Sep 2013 13:22:55 +0200 Wolfgang Schuster
ha escrit: after=\midaligned{\blackrule[width=7cm,height=\linewidth]}
Thanks, perfect.
But why (by default) it breaks the page and with simple \title does not do?
I don’t know what you mean with your simple \title. The reason why my solution worked is that I changed the value of the page key. With the page key you can tell a heading to insert a page break before it places the text. You tried to avoid this with "before={\page[no]}" but this doesn’t work because there was already a break inserted by the default setting "page=yes". Wolfgang
On Sun, 8 Sep 2013 14:21:08 +0200
Wolfgang Schuster
Am 07.09.2013 um 22:34 schrieb Xan
: On Fri, 6 Sep 2013 13:22:55 +0200 Wolfgang Schuster
ha escrit: after=\midaligned{\blackrule[width=7cm,height=\linewidth]}
Thanks, perfect.
But why (by default) it breaks the page and with simple \title does not do?
I don’t know what you mean with your simple \title.
\title{foo} does not break page in my case.
Am 09.09.2013 um 09:23 schrieb Xan
On Sun, 8 Sep 2013 14:21:08 +0200 Wolfgang Schuster
ha escrit: Am 07.09.2013 um 22:34 schrieb Xan
: On Fri, 6 Sep 2013 13:22:55 +0200 Wolfgang Schuster
ha escrit: after=\midaligned{\blackrule[width=7cm,height=\linewidth]}
Thanks, perfect.
But why (by default) it breaks the page and with simple \title does not do?
I don’t know what you mean with your simple \title.
\title{foo}
does not break page in my case.
The setting "\setuphead[title][page=no]" prevents a page before \title, is this isn’t he problem in your case make a minimal example. Wolfgang
participants (2)
-
Wolfgang Schuster
-
Xan