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
___________________________________________________________________________________

Reply via email to