summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-02 20:30:25 +0000
committerKarl Berry <karl@freefriends.org>2023-04-02 20:30:25 +0000
commit2c62f868a77f470a7b98107c3c8eebed91d95c35 (patch)
tree985dd0fa029080dc41130ac22ee629c82bfe66a2 /Master/texmf-dist
parent45ce0d6f66aefa48d7484e1d221622a44a034769 (diff)
filecontents (2apr23)
git-svn-id: svn://tug.org/texlive/trunk@66740 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/filecontents/README5
-rw-r--r--Master/texmf-dist/doc/latex/filecontents/filecontents.pdfbin127330 -> 290531 bytes
-rw-r--r--Master/texmf-dist/source/latex/filecontents/filecontents.dtx48
-rw-r--r--Master/texmf-dist/source/latex/filecontents/filecontents.ins4
-rw-r--r--Master/texmf-dist/tex/latex/filecontents/filecontents.sty4
5 files changed, 41 insertions, 20 deletions
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
--- a/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf
+++ b/Master/texmf-dist/doc/latex/filecontents/filecontents.pdf
Binary files 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 <scott+fc@pakin.org>
+% Copyright (C) 2001-2023 Scott Pakin <scott+fc@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
% }
%
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 <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
@@ -28,7 +28,7 @@
This is a generated file.
-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
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 <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
@@ -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%