[dev-context] strc-ren.mkiv

Hans Hagen j.hagen at xs4all.nl
Wed Feb 27 18:56:17 CET 2019


On 2/27/2019 5:45 PM, Wolfgang Schuster wrote:
> Hi Hans,
> 
> when you use “text” alternative for \setuphead and enable text 
> indentation the paragraph after the section title isn’t indented.
> 
> 
> \setupindenting[yes,big]
> \setuphead[section][alternative=text]
> \starttext
> \section{Introduction}
> \input knuth
> \stoptext
> 
> 
> This is caused by the \noindentation (needed for the “margintext” 
> alternative) in \strc_rendering_stop_placement, adding a check for 
> \headissomewhere fixes it.
> 
> 
> \def\strc_rendering_stop_placement
>    {\n_strc_rendering_hang_lines\zerocount
>     ...
>     \ifconditional\headisdisplay
>       \useindentnextparameter\headparameter
>     \else
> -    \ignoreparskip
> -    \noindentation % recently added, was a bug
> +    \ifconditional\headissomewhere
> +      \ignoreparskip
> +      \noindentation
> +    \else
> +      \ignoreparskip
> +    \fi
>     \fi}

ok, in next zip

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-context mailing list