texlive[66740] Master/texmf-dist: filecontents (2apr23)

commits+karl at tug.org commits+karl at tug.org
Sun Apr 2 22:30:25 CEST 2023


Revision: 66740
          http://tug.org/svn/texlive?view=revision&revision=66740
Author:   karl
Date:     2023-04-02 22:30:25 +0200 (Sun, 02 Apr 2023)
Log Message:
-----------
filecontents (2apr23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/filecontents/README
    trunk/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf
    trunk/Master/texmf-dist/source/latex/filecontents/filecontents.dtx
    trunk/Master/texmf-dist/source/latex/filecontents/filecontents.ins
    trunk/Master/texmf-dist/tex/latex/filecontents/filecontents.sty

Modified: trunk/Master/texmf-dist/doc/latex/filecontents/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/filecontents/README	2023-04-02 20:30:03 UTC (rev 66739)
+++ trunk/Master/texmf-dist/doc/latex/filecontents/README	2023-04-02 20:30:25 UTC (rev 66740)
@@ -28,8 +28,7 @@
     latex filecontents.ins     <== Generate filecontents.sty
     latex filecontents.dtx     <== Produce the documentation (filecontents.dvi)
 
-If you're new to this, see
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages for more
+If you're new to this, see https://texfaq.org/#installing for more
 information on installing packages.
 
 
@@ -36,7 +35,7 @@
 Copyright and license
 ---------------------
 
-Copyright (C) 2011-2019 Scott Pakin, scott+fc at pakin.org
+Copyright (C) 2011-2023 Scott Pakin, scott+fc at pakin.org
 
 This package may be distributed and/or modified under the conditions
 of the LaTeX Project Public License, either version 1.3c of this

Modified: trunk/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/filecontents/filecontents.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/filecontents/filecontents.dtx	2023-04-02 20:30:03 UTC (rev 66739)
+++ trunk/Master/texmf-dist/source/latex/filecontents/filecontents.dtx	2023-04-02 20:30:25 UTC (rev 66740)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2001-2019 Scott Pakin <scott+fc at pakin.org>
+% Copyright (C) 2001-2023 Scott Pakin <scott+fc at pakin.org>
 % --------------------------------------------------------
 %
 % This package may be distributed and/or modified under the
@@ -22,12 +22,13 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesPackage{filecontents}
 %<*package>
-    [2019/09/20 v1.5 Create an external file from within a LaTeX document]
+    [2023/04/02 v1.5a Create an external file from within a LaTeX document]
 %</package>
 %
 %<*driver>
 \documentclass{ltxdoc}
 \usepackage{color}
+\usepackage{microtype}
 \EnableCrossrefs
 \CodelineIndex
 \RecordChanges
@@ -69,6 +70,7 @@
 % \changes{v1.1a}{2006/03/11}{%
 %   Clarified/corrected the \texttt{\string\string\string\documentclass}
 %   restriction as per Robin Fairbairns's suggestion}
+% \changes{v1.5a}{2023/04/02}{Documentation updates; no code changes}
 %
 % ^^A  The following were copied verbatim from source2e.tex.
 % \DoNotIndex{\def,\long,\edef,\xdef,\gdef,\let,\global}
@@ -124,19 +126,38 @@
 %   }^^A
 % }
 %
+% \newsavebox{\obsoletenotice}
+% \begin{lrbox}{\obsoletenotice}
+%   \begin{minipage}[t]{0.75\linewidth}
+%     \color{red}
+%     \centerline{\textsc{Notice}}
+%     \smallskip
+%     The version of \LaTeX\ released in Fall 2019 incorporates all of
+%     this package's functionality (and more) into the \LaTeX\ kernel
+%     itself.  As a result, there is no longer a need for the
+%     |filecontents| package.  Please use instead the new, built-in
+%     |filecontents| environment.  Supply the |overwrite| option to
+%     mimic this package's behavior:
+%
+%     \bigskip
+%     \quad
+%     \begin{tabular}[t]{@{}l@{}}
+%       |\begin{filecontents}[overwrite]{|\meta{filename}|}| \\
+%       \multicolumn{1}{@{}c@{}}{$\vdots$} \\
+%       |\end{filecontents}|
+%     \end{tabular}
+%     \bigskip
+%
+%     See
+%     \href{https://www.latex-project.org/news/latex2e-news/ltnews30.pdf}{^^A
+%       \LaTeXe\ News, Issue 30} (1-Oct-2019) for the announcement of the
+%     new kernel functionality.
+%  \end{minipage}
+% \end{lrbox}
+%
 % \begin{center}
 %   \color{red}
-%   \fbox{^^A
-%     \begin{minipage}{0.75\linewidth}
-%       \centerline{\textsc{Notice}}
-%       \smallskip
-%       The version of \LaTeX\ released in Fall 2019 incorporates all of
-%       this package's functionality (and more) into the \LaTeX\ kernel
-%       itself.  As a result, there is no longer a need for the
-%       |filecontents| package.  Please use the new, built-in
-%       |filecontents| environment instead.
-%     \end{minipage}^^A
-%   }
+%   \fbox{\usebox{\obsoletenotice}}
 % \end{center}
 %
 %
@@ -227,6 +248,7 @@
 %
 % \StopEventually{^^A
 %   \PrintChanges
+%   \clearpage
 %   \PrintIndex
 % }
 %

Modified: trunk/Master/texmf-dist/source/latex/filecontents/filecontents.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/filecontents/filecontents.ins	2023-04-02 20:30:03 UTC (rev 66739)
+++ trunk/Master/texmf-dist/source/latex/filecontents/filecontents.ins	2023-04-02 20:30:25 UTC (rev 66740)
@@ -3,7 +3,7 @@
 %% driver files from the doc files in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright (C) 2011-2019 Scott Pakin <scott+fc at pakin.org>
+%% Copyright (C) 2011-2023 Scott Pakin <scott+fc at pakin.org>
 %% --------------------------------------------------------
 %%
 %% This package may be distributed and/or modified under the conditions
@@ -28,7 +28,7 @@
 
 This is a generated file.
 
-Copyright (C) 2011-2019 Scott Pakin <scott+fc at pakin.org>
+Copyright (C) 2011-2023 Scott Pakin <scott+fc at pakin.org>
 --------------------------------------------------------
 
 This package may be distributed and/or modified under the conditions

Modified: trunk/Master/texmf-dist/tex/latex/filecontents/filecontents.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/filecontents/filecontents.sty	2023-04-02 20:30:03 UTC (rev 66739)
+++ trunk/Master/texmf-dist/tex/latex/filecontents/filecontents.sty	2023-04-02 20:30:25 UTC (rev 66740)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2011-2019 Scott Pakin <scott+fc at pakin.org>
+%% Copyright (C) 2011-2023 Scott Pakin <scott+fc at pakin.org>
 %% --------------------------------------------------------
 %% 
 %% This package may be distributed and/or modified under the conditions
@@ -23,7 +23,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{filecontents}
-    [2019/09/20 v1.5 Create an external file from within a LaTeX document]
+    [2023/04/02 v1.5a Create an external file from within a LaTeX document]
 \begingroup%
 \catcode`\*=11 %
 \catcode`\^^M\active%



More information about the tex-live-commits mailing list.