[latex3-commits] [git/LaTeX3-latex3-latex2e] copyedits-chris: ltfinal: tidying and clarifications (2ab83c3e)

Chris Rowley car222222 at github.github.io
Tue Oct 12 08:40:48 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : copyedits-chris
Link       : https://github.com/latex3/latex2e/commit/2ab83c3e5a7afec0d760e62e8675f089bd660fbc

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

commit 2ab83c3e5a7afec0d760e62e8675f089bd660fbc
Author: Chris Rowley <car222222 at users.noreply.github.com>
Date:   Tue Oct 12 13:40:48 2021 +0700

    ltfinal: tidying and clarifications
    
    Mostly in the new subsection


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

2ab83c3e5a7afec0d760e62e8675f089bd660fbc
 base/ltfinal.dtx | 37 +++++++++++++++++++------------------
 1 file changed, 19 insertions(+), 18 deletions(-)

diff --git a/base/ltfinal.dtx b/base/ltfinal.dtx
index 5d77fb2e..40017a20 100644
--- a/base/ltfinal.dtx
+++ b/base/ltfinal.dtx
@@ -1246,32 +1246,33 @@
 % \end{macro}
 % \end{macro}
 %
-%  \subsection{Prepare for supporting PDF management in backends}
+%  \subsection{Preparation for supporting PDF in backends}
 %
-%    At the current point in time support for PDF management in
-%    backends is not part of \LaTeX{} core but provided by external
+%    At the current point in time, basic support for PDF in
+%    backends is not part of \LaTeX{} core; it is provided by external
 %    packages. At some time in the future that work will be placed
 %    into the kernel but for now it is separate and has to be
 %    explicitly loaded in the document.
 %
-%    There is a command \cs{IfPDFManagementActiveTF} in that code
-%    which checks if the PDF management code is activated, which can
-%    be used by packages to execute different code branches depending
-%    on the state.
-%
-%    To make this also work properly if the external package is not
-%    loaded at all this command is already made available in the
-%    kernel (with a trivial definition) so that other packages can
-%    query the state in all circumstances.  Once the PDF management
-%    support moves to the kernel this definition here will vanish
-%    again or rather will be replaced by a real test.
+%    In that code there is a command \cs{IfPDFManagementActiveTF} 
+%    which can be used by packages in order to execute different 
+%    code depending on the whether this basic backend support is loaded.
 %
+%    To make this also work properly when this external package is not
+%    loaded at all, we here add this command already in the
+%    kernel (with a trivial definition); thus any package can
+%    query this loading state in all circumstances.  
+%    Once this basic PDF backend
+%    support gets moved to the kernel, this definition will vanish
+%    again from here or, rather, it will be replaced by a real test.
 %
 %  \begin{macro}{\IfPDFManagementActiveTF}
-%    While the PDF management code is not loaded, the test will
-%    always return the false branch. Once this code is loaded, it
-%    is replaced by a real test (as then it is possible that the
-%    management code is activate or not activated).
+%    So long as the code for the basic backend support for PDF is not 
+%    loaded, the test that is implicit here will
+%    always return the false branch. 
+%    Once this code is loaded, this definition will get
+%    replaced by a real test (as it is then possible that the
+%    management code is either activated or not activated).
 % \changes{v2.2p}{2021/08/08}{Default definition added (gh/640)}
 %    \begin{macrocode}
 \let \IfPDFManagementActiveTF \@secondoftwo





More information about the latex3-commits mailing list.