From d1c065613b1750bfac71fbe5843b005c19803bbb Mon Sep 17 00:00:00 2001 From: atXY Date: Thu, 7 Mar 2024 22:57:12 +0800 Subject: [PATCH] =?UTF-8?q?ctxdoc:=20=E5=8C=B9=E9=85=8D=20l3doc=20?= =?UTF-8?q?=E7=9A=84=E5=B1=95=E5=BC=80=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20=E8=A7=81=20latex3/latex3@96a159e2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- support/ctxdoc.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/ctxdoc.cls b/support/ctxdoc.cls index 2d476b0d..e093aa6b 100644 --- a/support/ctxdoc.cls +++ b/support/ctxdoc.cls @@ -28,7 +28,7 @@ \DeclareOption*{\PassOptionsToClass{\CurrentOption}{l3doc}} \PassOptionsToClass{a4paper,full}{l3doc} \ProcessOptions -\LoadClass{l3doc} +\LoadClass{l3doc}[2023-10-10] \RequirePackage[UTF8, punct=kaiming, heading, linespread=1.2, sub3section]{ctex} \ctexset{ abstractname = 简介, @@ -295,8 +295,8 @@ { \use:n } { \tl_set:Nn \l__codedoc_tmpa_tl {#1} - \tl_replace_all:Non \l__codedoc_tmpa_tl - { \c_catcode_other_space_tl } + \tl_replace_all:NVn \l__codedoc_tmpa_tl + \c_catcode_other_space_tl { \fontspec_visible_space: } \__codedoc_macroname_prefix:o \l__codedoc_tmpa_tl \__codedoc_macroname_suffix:N #2