[latex3-commits] [git/LaTeX3-latex3-latex2e] metadata: minor adjustment (4aa24d2b)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Dec 13 16:45:41 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : metadata
Link       : https://github.com/latex3/latex2e/commit/4aa24d2bcbe929b0e5dda60d103d401701ce5d8a

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

commit 4aa24d2bcbe929b0e5dda60d103d401701ce5d8a
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Dec 13 16:45:41 2021 +0100

    minor adjustment


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

4aa24d2bcbe929b0e5dda60d103d401701ce5d8a
 base/ltmeta.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/base/ltmeta.dtx b/base/ltmeta.dtx
index 614d8862..4c5f843d 100644
--- a/base/ltmeta.dtx
+++ b/base/ltmeta.dtx
@@ -128,15 +128,15 @@
 %
 %    \begin{macrocode}
 \newcommand\DocumentMetadata{%
-  \IfFileExists{documentmetadata-support.ltx}%
-     {
-      \input{documentmetadata-support.ltx}%
+  \InputIfFileExists{documentmetadata-support.ltx}%
+     {}%
 %    \end{macrocode}
 %    The above file is changing \cs{DocumentMetadata} to a suitable
-%    definition (or so we hope), so now we can try again --- if not
+%    definition (or so we hope), so that we can try again --- if not
 %    tough.
+% 
+%    If the file can't be found we say so and carry on without it.
 %    \begin{macrocode}
-     }
      {%
        \@latex at warning@no at line{No support files for
          \noexpand\DocumentMetadata found.\MessageBreak





More information about the latex3-commits mailing list.