[latex3-commits] [l3svn] branch master updated: Revert "Deprecate \GetIdInfo [ci skip]"

noreply at latex-project.org noreply at latex-project.org
Sun Apr 2 23:32:16 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  75aae88   Revert "Deprecate \GetIdInfo [ci skip]"
75aae88 is described below

commit 75aae881d4581eefbe79d407801c17fa2912452d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Apr 2 22:32:06 2017 +0100

    Revert "Deprecate \GetIdInfo [ci skip]"
    
    This reverts commit 556e72cc7d0a703c8e0277cce0c694736c8565fd.
---
 l3kernel/l3bootstrap.dtx |   23 +++++++++++++++++++++--
 l3kernel/l3obsolete.txt  |    1 -
 2 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3bootstrap.dtx b/l3kernel/l3bootstrap.dtx
index 5001f73..ee3e3aa 100644
--- a/l3kernel/l3bootstrap.dtx
+++ b/l3kernel/l3bootstrap.dtx
@@ -21,7 +21,7 @@
 % for those people who are interested.
 %
 %<*driver|package>
-% \begin{macro}[deprecated = 2017-03-19]{\GetIdInfo}
+% \begin{macro}{\GetIdInfo}
 % \begin{macro}[aux]{\GetIdInfoAuxI, \GetIdInfoAuxII, \GetIdInfoAuxIII}
 %   The idea here is to extract out the information needed from a standard
 %   \textsc{svn} \texttt{Id} line, but without a line that will get
@@ -187,11 +187,30 @@
 %   the package identifier line.
 % \end{function}
 %
+% \begin{function}[updated = 2012-06-04]{\GetIdInfo}
+%   \begin{syntax}
+%     |\RequirePackage{l3bootstrap}|
+%     \cs{GetIdInfo} |$Id:| \meta{SVN info field} |$| \Arg{description}
+%   \end{syntax}
+%   Extracts all information from a SVN field. Spaces are not
+%   ignored in these fields. The information pieces are stored in
+%   separate control sequences with \cs{ExplFileName} for the part of the
+%   file name leading up to the period, \cs{ExplFileDate} for date,
+%   \cs{ExplFileVersion} for version and \cs{ExplFileDescription} for the
+%   description.
+% \end{function}
+%
 % To summarize: Every single package using this syntax should identify
 % itself using one of the above methods. Special care is taken so that
 % every package or class file loaded with \tn{RequirePackage} or similar
 % are loaded with usual \LaTeXe{} category codes and the \LaTeX3 category code
-% scheme is reloaded when needed afterwards.
+% scheme is reloaded when needed afterwards. See implementation for
+% details. If you use the \cs{GetIdInfo} command you can use the
+% information when loading a package with
+% \begin{verbatim}
+%   \ProvidesExplPackage{\ExplFileName}
+%     {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
+% \end{verbatim}
 %
 % \subsection{Internal functions and variables}
 %
diff --git a/l3kernel/l3obsolete.txt b/l3kernel/l3obsolete.txt
index 07881c1..8d53477 100644
--- a/l3kernel/l3obsolete.txt
+++ b/l3kernel/l3obsolete.txt
@@ -16,7 +16,6 @@ They will be removed from the sources at the end of the given year.
 Function                   Expires end
 --------------------------------------
 \c_minus_one                      2018
-\GetIdInfo                        2018
 \ior_get_str:NN                   2017
 \sort_ordered:                    2018
 \sort_reversed:                   2018

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list