Re: [NTG-context] Strange page break before \title

2013-09-09 Thread Xan
On Sun, 8 Sep 2013 14:21:08 +0200
Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit:

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

Re: [NTG-context] Strange page break before \title

2013-09-09 Thread Wolfgang Schuster

Am 09.09.2013 um 09:23 schrieb Xan dxpubl...@telefonica.net:

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


Re: [NTG-context] Strange page break before \title

2013-09-08 Thread Wolfgang Schuster

Am 07.09.2013 um 22:34 schrieb Xan dxpubl...@telefonica.net:

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


[NTG-context] Strange page break before \title

2013-09-06 Thread Xan
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
___


Re: [NTG-context] Strange page break before \title

2013-09-06 Thread Wolfgang Schuster

Am 06.09.2013 um 13:09 schrieb Xan dxpubl...@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
___