[latex3-commits] [git/LaTeX3-latex3-latex3] master: Keep track of \prevdepth after l3doc's \end{function} (fixes #488 and #511) (31b61e0)

Bruno Le Floch bruno at le-floch.fr
Sun Mar 3 15:33:12 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/31b61e095cd76fd8c39b50d47a2259531d4e2db9

>---------------------------------------------------------------

commit 31b61e095cd76fd8c39b50d47a2259531d4e2db9
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sun Mar 3 15:33:12 2019 +0100

    Keep track of \prevdepth after l3doc's \end{function} (fixes #488 and #511)


>---------------------------------------------------------------

31b61e095cd76fd8c39b50d47a2259531d4e2db9
 l3kernel/l3doc.dtx |    1 +
 1 file changed, 1 insertion(+)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index c8bfbff..23becca 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -2530,6 +2530,7 @@ and all files in that bundle must be distributed together.
 \cs_new_protected:Npn \@@_function_typeset_stop:
   {
     \par
+    \dim_set:Nn \prevdepth { \box_dp:N \l_@@_descr_coffin }
     \allowbreak
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list