[latex3-commits] [git/LaTeX3-latex3-latex3] master: \DocInclude never worked (because in 2e the argument was space delimited) fixed spacing issue when displaying command name in margin (343385364)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Aug 21 14:00:37 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/343385364f65bf621f5ac4c5dff6dec3180d413c
>---------------------------------------------------------------
commit 343385364f65bf621f5ac4c5dff6dec3180d413c
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Aug 21 14:00:37 2020 +0200
\DocInclude never worked (because in 2e the argument was space delimited)
fixed spacing issue when displaying command name in margin
>---------------------------------------------------------------
343385364f65bf621f5ac4c5dff6dec3180d413c
l3kernel/l3doc.dtx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index 9e7498e26..b4da5cdfb 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -61,7 +61,7 @@ and all files in that bundle must be distributed together.
%</driver|class>
%
%<*driver>
-\ProvidesFile{l3doc.dtx}[2017/03/18 L3 Experimental documentation class]
+\ProvidesFile{l3doc.dtx}[2020/08/21 L3 Experimental documentation class]
\documentclass{l3doc}
\usepackage{framed,lipsum}
\begin{document}
@@ -3154,7 +3154,10 @@ and all files in that bundle must be distributed together.
\vbox_set:Nn \l_@@_macro_box
{
\vbox_unpack_drop:N \l_@@_macro_box
- \hbox { \llap { \@@_print_macroname:nN {#1} #2 \ } }
+ \hbox { \llap { \__codedoc_print_macroname:nN {#1} #2
+ \MacroFont % <----- without it the \ is in lmr10 if a link is made
+ \
+ } }
}
\int_incr:N \l_@@_macro_int
}
@@ -3716,7 +3719,7 @@ and all files in that bundle must be distributed together.
{ \cs_set:Npn \currentfile{#1.dtx} }
\int_compare:nNnTF \@auxout = \@partaux
{ \@latexerr{\string\include\space cannot~be~nested}\@eha }
- { \@docinclude #1 }
+ { \@docinclude {#1} }
}
% \end{macrocode}
%
More information about the latex3-commits
mailing list.