Dear devs,

\typebuffer does not obey the indentnext option from \setuptyping
because the corresponding checks are missing in
\buff_verbatim_type_buffer and \buff_verbatim_type_buffer_indeed.  I
have attached a possible patch.

Cheers, Henri
diff --git a/tex/context/base/mkiv/buff-ver.mkiv b/tex/context/base/mkiv/buff-ver.mkiv
index e6c88cdb7..cc704ea2f 100644
--- a/tex/context/base/mkiv/buff-ver.mkiv
+++ b/tex/context/base/mkiv/buff-ver.mkiv
@@ -895,7 +895,8 @@
    \else
      \buff_verbatim_type_buffer_indeed\currenttyping\empty% []
    \fi\fi
-   \endgroup}
+   \endgroup
+   \dorechecknextindentation}
 
 \unexpanded\def\buff_verbatim_type_buffer_class#1%
   {\begingroup
@@ -934,7 +935,8 @@
    \endofverbatimlines
    \dostoptagged
    \stoppacked
-   \typingparameter\c!after}
+   \typingparameter\c!after
+   \useindentnextparameter\typingparameter}
 
 \unexpanded\def\typeinlinebuffer
   {\dontleavehmode
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to