ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange page break before \title
@ 2013-09-06 11:09 Xan
  2013-09-06 11:22 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Xan @ 2013-09-06 11:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Strange page break before \title
  2013-09-06 11:09 Strange page break before \title Xan
@ 2013-09-06 11:22 ` Wolfgang Schuster
  2013-09-07 20:34   ` [***SPAM***] " Xan
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2013-09-06 11:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Xan


Am 06.09.2013 um 13:09 schrieb Xan <dxpublica@telefonica.net>:

> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [***SPAM***] Re:  Strange page break before \title
  2013-09-06 11:22 ` Wolfgang Schuster
@ 2013-09-07 20:34   ` Xan
  2013-09-08 12:21     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Xan @ 2013-09-07 20:34 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Fri, 6 Sep 2013 13:22:55 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> 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?

Xan.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Strange page break before \title
  2013-09-07 20:34   ` [***SPAM***] " Xan
@ 2013-09-08 12:21     ` Wolfgang Schuster
  2013-09-09  7:23       ` Xan
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2013-09-08 12:21 UTC (permalink / raw)
  To: Xan; +Cc: mailing list for ConTeXt users


Am 07.09.2013 um 22:34 schrieb Xan <dxpublica@telefonica.net>:

> On Fri, 6 Sep 2013 13:22:55 +0200
> Wolfgang Schuster <schuster.wolfgang@gmail.com> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Strange page break before \title
  2013-09-08 12:21     ` Wolfgang Schuster
@ 2013-09-09  7:23       ` Xan
  2013-09-09  7:42         ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Xan @ 2013-09-09  7:23 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Sun, 8 Sep 2013 14:21:08 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> ha escrit:

> 
> Am 07.09.2013 um 22:34 schrieb Xan <dxpublica@telefonica.net>:
> 
> > On Fri, 6 Sep 2013 13:22:55 +0200
> > Wolfgang Schuster <schuster.wolfgang@gmail.com> 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.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Strange page break before \title
  2013-09-09  7:23       ` Xan
@ 2013-09-09  7:42         ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2013-09-09  7:42 UTC (permalink / raw)
  To: Xan; +Cc: mailing list for ConTeXt users


Am 09.09.2013 um 09:23 schrieb Xan <dxpublica@telefonica.net>:

> On Sun, 8 Sep 2013 14:21:08 +0200
> Wolfgang Schuster <schuster.wolfgang@gmail.com> ha escrit:
> 
>> 
>> Am 07.09.2013 um 22:34 schrieb Xan <dxpublica@telefonica.net>:
>> 
>>> On Fri, 6 Sep 2013 13:22:55 +0200
>>> Wolfgang Schuster <schuster.wolfgang@gmail.com> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-09  7:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06 11:09 Strange page break before \title Xan
2013-09-06 11:22 ` Wolfgang Schuster
2013-09-07 20:34   ` [***SPAM***] " Xan
2013-09-08 12:21     ` Wolfgang Schuster
2013-09-09  7:23       ` Xan
2013-09-09  7:42         ` Wolfgang Schuster

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).