On 11/5/2016 2:49 PM, Wolfgang Schuster wrote:
Hi,

the \nobreak command after \p_strc_constructions_inbetween in the top
alternative inserts a unwanted parskip.

so maybe

>     \par
>     \nobreak

can be

      \directcheckedvspacing\v!samepage


strc-con.mkvi:

\startsetups[\??constructionrenderings:\v!top]
    \strc_sectioning_prevent_page_break\plusone
    \let\\=\space
    \noindent
    \copy\constructionheadbox % why copy ?
    \par
    \nobreak

\edef\p_strc_constructions_inbetween{\constructionparameter\c!inbetween}%
    \ifx\p_strc_constructions_inbetween\empty \else
      \p_strc_constructions_inbetween
      \par
      \nobreak
    \fi
    \useconstructionstyleandcolor\c!style\c!color
    \ignorespaces
\stopsetups


%% begin example
\definedescription
  [testdescription]
  [alternative=top,
   inbetween=\nowhitespace,
   title=yes]

\setupwhitespace[2cm]

\starttext

\starttestdescription{Ward}
\input ward
\stoptestdescription

\stoptext
%% end example


Wolfgang
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context


--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to