strc-con.mkvi: Unwanted vertical space
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Hi, the \nobreak command after \p_strc_constructions_inbetween in the top alternative inserts a unwanted parskip. 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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Hans Hagen mailto:pragma@wxs.nl 5. November 2016 um 19:17 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 Yes, this works.
Wolfgang
participants (2)
-
Hans Hagen
-
Wolfgang Schuster