[latex3-commits] [git/LaTeX3-latex3-latex3] main: \DeclareInstanceCopy was requested (049ff1cdd)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 1 07:29:05 CET 2023


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

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

commit 049ff1cdd2755a867d81c10d36940ad0884d8675
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 1 06:29:05 2023 +0000

    \DeclareInstanceCopy was requested


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

049ff1cdd2755a867d81c10d36940ad0884d8675
 l3experimental/CHANGELOG.md        | 2 +-
 l3packages/xtemplate/xtemplate.dtx | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/l3experimental/CHANGELOG.md b/l3experimental/CHANGELOG.md
index 1fd0d1f22..3824da3ec 100644
--- a/l3experimental/CHANGELOG.md
+++ b/l3experimental/CHANGELOG.md
@@ -8,7 +8,7 @@ this project uses date-based 'snapshot' version identifiers.
 ## [Unreleased]
 
 ### Added
-- `\CopyInstance`
+- `\DeclareInstanceCopy`
 
 ### Changes
 - Set only known keys in `\SetTemplateKeys`
diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index f1546399c..d85b3114e 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -475,9 +475,9 @@
 %   then inserts the appropriate code into the input stream.
 % \end{function}
 %
-% \begin{function}{\CopyInstance}
+% \begin{function}{\DeclareInstanceCopy}
 %   \begin{syntax}
-%     \cs{CopyInstance}
+%     \cs{\DeclareInstanceCopy}
 %     ~~\Arg{object type} \Arg{instance1} \Arg{instance2}
 %   \end{syntax}
 %   Copies the \meta{values} for \meta{instance1} for an
@@ -2813,7 +2813,7 @@
 % \begin{macro}{\EditTemplateDefaults}
 % \begin{macro}{\DeclareInstance}
 % \begin{macro}{\DeclareCollectionInstance}
-% \begin{macro}{\CopyInstance}
+% \begin{macro}{\DeclareInstanceCopy}
 % \begin{macro}{\EditInstance}
 % \begin{macro}{\EditCollectionInstance}
 % \begin{macro}{\UseTemplate}
@@ -2834,7 +2834,7 @@
   { \@@_declare_instance:nnnnn {#1} {#3} { } {#2} {#4} }
 \cs_new_protected:Npn \DeclareCollectionInstance #1#2#3#4#5
   { \@@_declare_instance:nnnnn {#2} {#4} {#1} {#3} {#5} }
-\cs_new_protected:Npn \CopyInstance #1#2#3
+\cs_new_protected:Npn \DeclareInstanceCopy #1#2#3
   { \@@_copy_instance:nnnn {#1} { } {#2} {#3} }
 \cs_new_protected:Npn \EditTemplateDefaults #1#2#3
   { \@@_edit_defaults:nnn {#1} {#2} {#3} }





More information about the latex3-commits mailing list.