[latex3-commits] [git/LaTeX3-latex3-latex3] main: l3doc: Add hyperref target in every \cs (fixes #649) (c9196acd1)

Bruno Le Floch blflatex at gmail.com
Fri Apr 30 17:06:19 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/c9196acd1be74b3386d7c86b6e08d06af02e82e5

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

commit c9196acd1be74b3386d7c86b6e08d06af02e82e5
Author: Bruno Le Floch <blflatex at gmail.com>
Date:   Thu Apr 29 23:33:19 2021 +0200

    l3doc: Add hyperref target in every \cs (fixes #649)


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

c9196acd1be74b3386d7c86b6e08d06af02e82e5
 l3kernel/l3doc.dtx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index 4a7bd34af..00f5f7aa6 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -1989,7 +1989,9 @@ and all files in that bundle must be distributed together.
 %    \begin{macrocode}
     \mode_if_math:T { \mbox }
       {
+        \mode_leave_vertical:
         \verbatim at font
+        \HD at target
         \@@_if_almost_str:VT \l_@@_cmd_tl
           {
             \__kernel_tl_set:Nx \l_@@_cmd_tl { \tl_to_str:N \l_@@_cmd_tl }





More information about the latex3-commits mailing list.