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}


Wolfgang

_______________________________________________
dev-context mailing list
[email protected]
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to