[latex3-commits] [git/LaTeX3-latex3-latex3] master: Actually document \sort_return_same: and \sort_return_swapped: [ci skip] (95659b5)

Bruno Le Floch bruno at le-floch.fr
Sat Apr 7 06:56:13 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/95659b5d8b1c74b24746f55935020096048b3b6d

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

commit 95659b5d8b1c74b24746f55935020096048b3b6d
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sat Apr 7 00:56:13 2018 -0400

    Actually document \sort_return_same: and \sort_return_swapped: [ci skip]


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

95659b5d8b1c74b24746f55935020096048b3b6d
 l3kernel/l3sort.dtx |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/l3kernel/l3sort.dtx b/l3kernel/l3sort.dtx
index 02ccc1a..b92ab30 100644
--- a/l3kernel/l3sort.dtx
+++ b/l3kernel/l3sort.dtx
@@ -91,6 +91,18 @@
 %   previously allocated \tn{toks} register is not a problem.
 % \end{texnote}
 %
+% \begin{function}[added = 2017-02-06]{\sort_return_same:, \sort_return_swapped:}
+%   \begin{syntax}
+%     \cs{seq_sort:Nn} \meta{seq~var}
+%     ~~|{| \ldots{} \cs{sort_return_same:} or \cs{sort_return_swapped:} \ldots{} |}|
+%   \end{syntax}
+%   Indicates whether to keep the order or swap the order of two items
+%   that are compared in the sorting code.  Only one of the
+%   \cs[no-index]{sort_return_\ldots{}} functions should be used by the
+%   code, according to the results of some tests on the items |#1| and
+%   |#2| to be compared.
+% \end{function}
+%
 % \end{documentation}
 %
 % \begin{implementation}





More information about the latex3-commits mailing list