[latex3-commits] [l3svn] r6894 - Formally mark fp functions "round+" etc as deprecated
noreply at latex-project.org
noreply at latex-project.org
Sat Feb 11 20:58:50 CET 2017
Author: bruno
Date: 2017-02-11 20:58:50 +0100 (Sat, 11 Feb 2017)
New Revision: 6894
Modified:
trunk/l3kernel/l3fp-parse.dtx
trunk/l3kernel/l3obsolete.txt
Log:
Formally mark fp functions "round+" etc as deprecated
This way building the doc will complain once they shoule be removed.
I chose the end of this year because they've been deprecated for
three years already.
Modified: trunk/l3kernel/l3fp-parse.dtx
===================================================================
--- trunk/l3kernel/l3fp-parse.dtx 2017-02-11 19:07:16 UTC (rev 6893)
+++ trunk/l3kernel/l3fp-parse.dtx 2017-02-11 19:58:50 UTC (rev 6894)
@@ -2111,6 +2111,8 @@
% \end{macro}
%
% \begin{macro}[aux, EXP]{\@@_parse_word_round:N, \@@_parse_round:Nw}
+% \begin{macro}[aux, deprecated = 2017-12-31]{round+, round0, round-}
+% This looks for |+|, |-|, |0| after |round|. That syntax is deprecated.
% \begin{macrocode}
\cs_new:Npn \@@_parse_word_round:N #1#2
{
@@ -2133,6 +2135,7 @@
#1 #2 \@@_round_to_nearest:NNN #3#4 { #2 #1 #3 }
% \end{macrocode}
% \end{macro}
+% \end{macro}
%
% \subsection{Main functions}
%
Modified: trunk/l3kernel/l3obsolete.txt
===================================================================
--- trunk/l3kernel/l3obsolete.txt 2017-02-11 19:07:16 UTC (rev 6893)
+++ trunk/l3kernel/l3obsolete.txt 2017-02-11 19:58:50 UTC (rev 6894)
@@ -21,6 +21,9 @@
\sort_reversed: 2018
\tl_to_lowercase:n 2017
\tl_to_uppercase:n 2017
+[fp function] round+ 2017
+[fp function] round- 2017
+[fp function] round0 2017
---------------------------------------
Removed functions and variables
More information about the latex3-commits
mailing list