[latex3-commits] [latex3/latex3] l3graphics, main: Fix typos in xtemplate.dtx (b492b56be)

github at latex-project.org github at latex-project.org
Tue Feb 27 21:35:07 CET 2024


Repository : https://github.com/latex3/latex3
On branches: l3graphics,main
Link       : https://github.com/latex3/latex3/commit/b492b56be976754e02b6c9b5af0ffeb0fecc15f7

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

commit b492b56be976754e02b6c9b5af0ffeb0fecc15f7
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Fri Feb 16 20:25:00 2024 +0800

    Fix typos in xtemplate.dtx


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

b492b56be976754e02b6c9b5af0ffeb0fecc15f7
 l3packages/xtemplate/xtemplate.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index 9e53e5a00..dd1c74dd9 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -5,7 +5,7 @@
 % Copyright (C) 1999 Frank Mittelbach, Chris Rowley, David Carlisle
 %           (C) 2004-2010 Frank Mittelbach, The LaTeX Project
 %           (C) 2011-2024 The LaTeX Project
-%\
+%
 % It may be distributed and/or modified under the conditions of the
 % LaTeX Project Public License (LPPL), either version 1.3c of this
 % license or (at your option) any later version.  The latest version
@@ -695,8 +695,8 @@
 %
 % \begin{macro}{\DeclareRestrictedTemplate}
 % \begin{macro}{\DeclareObjectType}
-%   If the new kernel code is not loaded, make a couple of compatibility
-%   additions. Otherwise, hand over to the frozen version. 
+%   If the new kernel code is not loaded, hand over to the frozen version.
+%   Otherwise, make a couple of compatibility additions.
 %    \begin{macrocode}
 \@ifundefined{NewTemplateType}
   {%
@@ -707,9 +707,9 @@
     \ProvidesExplPackage{xtemplate}{2024-02-20}{}
       {L3 Experimental prototype document functions}
     \long\protected\def\DeclareRestrictedTemplate#1#2#3#4{%
-        \DeclareTemplateCopy{#1}{#3}{#2}%
-        \EditTemplateDefaults{#1}{#3}{#4}%
-      }%
+      \DeclareTemplateCopy{#1}{#3}{#2}%
+      \EditTemplateDefaults{#1}{#3}{#4}%
+    }%
   }
 \ExplSyntaxOn
 \cs_new_protected:Npn \DeclareObjectType #1#2





More information about the latex3-commits mailing list.