ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug with \setuplist?
@ 2014-06-07 18:41 Pablo Rodriguez
  2014-06-07 20:57 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2014-06-07 18:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

sorry for posting this issue twice, but I wonder whether it went
unnoticed because I added it in an answer to an already replied message.

I have the following sample:

    \setuppapersize[A6]
    \setuplist[part][after={\blank[samepage,big]}]
    \starttext
    \completecontent
    \dorecurse{4}{\part{Part}
    \chapter{Chapter}
    \chapter{Chapter}}
    \stoptext

AFAIK, no \part could be the last line of a page in the contents.

Well, I’m afraid this isn’t the case.

Could anyone confirm whether I am doing something wrong or this is bug?

Many thanks for your help,


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
___________________________________________________________________________________


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

* Re: bug with \setuplist?
  2014-06-07 18:41 bug with \setuplist? Pablo Rodriguez
@ 2014-06-07 20:57 ` Hans Hagen
  2014-06-08  6:36   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-06-07 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 6/7/2014 8:41 PM, Pablo Rodriguez wrote:
> Dear list,
>
> sorry for posting this issue twice, but I wonder whether it went
> unnoticed because I added it in an answer to an already replied message.
>
> I have the following sample:
>
>      \setuppapersize[A6]
>      \setuplist[part][after={\blank[samepage,big]}]
>      \starttext
>      \completecontent
>      \dorecurse{4}{\part{Part}
>      \chapter{Chapter}
>      \chapter{Chapter}}
>      \stoptext
>
> AFAIK, no \part could be the last line of a page in the contents.
>
> Well, I’m afraid this isn’t the case.
>
> Could anyone confirm whether I am doing something wrong or this is bug?

\setuppapersize
   [A6]

\setuplist
   [part]
   [after={\blank[samepage,big]}]

\setuplist
   [chapter]
   [before=\blank] % is 'preference,big' by default

\starttext

\completecontent

\dorecurse {4} {
     \part{Part}
     \chapter{Chapter}
     \chapter{Chapter}}
}

\stoptext

> Many thanks for your help,

maybe some day i can make this better but it needs a bit of work 
(working around some tex specific trickery)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

* Re: bug with \setuplist?
  2014-06-07 20:57 ` Hans Hagen
@ 2014-06-08  6:36   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2014-06-08  6:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 06/07/2014 10:57 PM, Hans Hagen wrote:
> On 6/7/2014 8:41 PM, Pablo Rodriguez wrote:
>> [...]
>> AFAIK, no \part could be the last line of a page in the contents.
>>
>> Well, I’m afraid this isn’t the case.
>>
>> Could anyone confirm whether I am doing something wrong or this is bug?
> 
> \setuplist
>    [chapter]
>    [before=\blank] % is 'preference,big' by default

Many thanks for your reply, Hans.

It works fine.

> maybe some day i can make this better but it needs a bit of work 
> (working around some tex specific trickery)

I’d rather have right page breaks with sectioning commands and other
features as well first.

Many thanks for your help,


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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-06-08  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-07 18:41 bug with \setuplist? Pablo Rodriguez
2014-06-07 20:57 ` Hans Hagen
2014-06-08  6:36   ` Pablo Rodriguez

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