Hello, In the latest beta, postponing seems to be broken (or changed). Minimal example: \starttext \input tufte (see \in{figure}[fig:cow].) \startpostponing [+0] \startplacefigure [location=here,reference={fig:cow}, title={A cow that does not break the paragraph}] \externalfigure [cow] [width=.5\textwidth] \stopplacefigure \stoppostponing \input tufte \stoptext Explanation: In order to have figures placed near their first reference in the text, and to avoid the paragraph break that results from placefigure, I enclose it in between \startpostponing[+0]\stoppostponing. In the latest beta, all the figures (and their references) disappear. Using a slightly older version ConTeXt ver: 2012.06.28 10:00 MKIV fmt: 2012.6.28 int: english/english this works (but the figure in the minimal example above gets pushed to the following page?). Alan
On 11-7-2012 14:58, Alan BRASLAU wrote:
Hello,
In the latest beta, postponing seems to be broken (or changed).
Minimal example:
\starttext \input tufte (see \in{figure}[fig:cow].) \startpostponing [+0] \startplacefigure [location=here,reference={fig:cow}, title={A cow that does not break the paragraph}] \externalfigure [cow] [width=.5\textwidth] \stopplacefigure \stoppostponing \input tufte \stoptext
quick hack (in cont-new.mkiv): unexpanded\def\page_postponed_blocks_flush {\setfalse\c_page_postponed_busy \ifconditional\c_page_postponed_busy % probably a nested flush \else\ifnum\c_page_postponed_blocks_next_page=\zerocount % nothing in cache \else\ifnum\c_page_postponed_blocks_next_page<\zerocount % generic cache \page_postponed_blocks_flush_indeed \else\ifnum\c_page_postponed_blocks_next_page>\realpageno % future content \else % pending content \page_postponed_blocks_flush_indeed \fi\fi\fi\fi} ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 11-7-2012 14:58, Alan BRASLAU wrote:
Hello,
In the latest beta, postponing seems to be broken (or changed).
in page-pst.mki a constant should be a conditional: \newconditional\c_page_postponed_busy 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 -----------------------------------------------------------------
participants (2)
-
Alan BRASLAU
-
Hans Hagen