From 2c62f868a77f470a7b98107c3c8eebed91d95c35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 2 Apr 2023 20:30:25 +0000 Subject: filecontents (2apr23) git-svn-id: svn://tug.org/texlive/trunk@66740 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/filecontents/README | 5 +-- .../doc/latex/filecontents/filecontents.pdf | Bin 127330 -> 290531 bytes .../source/latex/filecontents/filecontents.dtx | 48 +++++++++++++++------ .../source/latex/filecontents/filecontents.ins | 4 +- .../tex/latex/filecontents/filecontents.sty | 4 +- 5 files changed, 41 insertions(+), 20 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/filecontents/README b/Master/texmf-dist/doc/latex/filecontents/README index e325af4476d..b497533c9b9 100644 --- a/Master/texmf-dist/doc/latex/filecontents/README +++ b/Master/texmf-dist/doc/latex/filecontents/README @@ -28,15 +28,14 @@ There's nothing special about building filecontents: 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. Copyright and license --------------------- -Copyright (C) 2011-2019 Scott Pakin, scott+fc@pakin.org +Copyright (C) 2011-2023 Scott Pakin, scott+fc@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 diff --git a/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf b/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf index bc264af7fdf..4acacc89b83 100644 Binary files a/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf and b/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf differ diff --git a/Master/texmf-dist/source/latex/filecontents/filecontents.dtx b/Master/texmf-dist/source/latex/filecontents/filecontents.dtx index 40ad96f26dc..372a96166db 100644 --- a/Master/texmf-dist/source/latex/filecontents/filecontents.dtx +++ b/Master/texmf-dist/source/latex/filecontents/filecontents.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2001-2019 Scott Pakin +% Copyright (C) 2001-2023 Scott Pakin % -------------------------------------------------------- % % This package may be distributed and/or modified under the @@ -22,12 +22,13 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\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] % % %<*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 % } % diff --git a/Master/texmf-dist/source/latex/filecontents/filecontents.ins b/Master/texmf-dist/source/latex/filecontents/filecontents.ins index 70b05b0a139..667ae7002be 100644 --- a/Master/texmf-dist/source/latex/filecontents/filecontents.ins +++ b/Master/texmf-dist/source/latex/filecontents/filecontents.ins @@ -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 +%% Copyright (C) 2011-2023 Scott Pakin %% -------------------------------------------------------- %% %% 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 +Copyright (C) 2011-2023 Scott Pakin -------------------------------------------------------- This package may be distributed and/or modified under the conditions diff --git a/Master/texmf-dist/tex/latex/filecontents/filecontents.sty b/Master/texmf-dist/tex/latex/filecontents/filecontents.sty index b97b143e30d..59225692653 100644 --- a/Master/texmf-dist/tex/latex/filecontents/filecontents.sty +++ b/Master/texmf-dist/tex/latex/filecontents/filecontents.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2011-2019 Scott Pakin +%% Copyright (C) 2011-2023 Scott Pakin %% -------------------------------------------------------- %% %% 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% -- cgit v1.2.3