[NTG-context] How to prevent moving figure on the next page?

2013-08-07 Thread Dmitriy Tokarev
Hi list,

I need help to undestand this effect: If setuphead[chapter][page=no] and after 
figure start a new chapter, than figure is moved to the page 2, although on 
page 1 space is enough. Thanks.

\setuppapersize[A5][A5]
\setupbodyfont[10pt]
\setuphead[chapter][page=no]
\showframe

\starttext
\chapter {One}

\dorecurse{2}{\input{knuth}}

\placefigure[here][figure]{Description}
{\externalfigure[figure][width=5cm,height=2.0cm]}

% if setuphead[chapter][page=no] and this comment transform to text, than 
figure moves to page 1. What do I need to figure always placing on page 1?

\chapter {Two}

\stoptext

--
Dmitriy
___
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] How to prevent moving figure on the next page?

2013-08-07 Thread Dmitriy Tokarev
I found a solution that suits me:
\setuphead[chapter][page=]
--
Dmitriy

07.08.2013, 15:51, Dmitriy Tokarev dt...@ya.ru:
 Hi list,

 I need help to undestand this effect: If setuphead[chapter][page=no] and 
 after figure start a new chapter, than figure is moved to the page 2, 
 although on page 1 space is enough. Thanks.

 \setuppapersize[A5][A5]
 \setupbodyfont[10pt]
 \setuphead[chapter][page=no]
 \showframe

 \starttext
 \chapter {One}

 \dorecurse{2}{\input{knuth}}

 \placefigure[here][figure]{Description}
 {\externalfigure[figure][width=5cm,height=2.0cm]}

 % if setuphead[chapter][page=no] and this comment transform to text, than 
 figure moves to page 1. What do I need to figure always placing on page 1?

 \chapter {Two}

 \stoptext

 --
 Dmitriy
___
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
___