From 115eedcda7c4099e8f4f1b9ec3b397f3d2b3b192 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 9 Oct 2011 23:48:30 +0000 Subject: filecontents (9oct11) git-svn-id: svn://tug.org/texlive/trunk@24250 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/filecontents/README | 2 +- .../doc/latex/filecontents/filecontents.pdf | Bin 125633 -> 249917 bytes .../source/latex/filecontents/filecontents.dtx | 9 ++++++--- .../source/latex/filecontents/filecontents.ins | 4 ++-- .../tex/latex/filecontents/filecontents.sty | 5 +++-- 5 files changed, 12 insertions(+), 8 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/filecontents/README b/Master/texmf-dist/doc/latex/filecontents/README index 525ff92d3ca..3b7b94c9ec4 100644 --- a/Master/texmf-dist/doc/latex/filecontents/README +++ b/Master/texmf-dist/doc/latex/filecontents/README @@ -36,7 +36,7 @@ information on installing packages. Copyright and license --------------------- -Copyright (C) 2009 Scott Pakin, scott+fc@pakin.org +Copyright (C) 2011 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 d2a95e62a45..e75a2b7fad3 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 fcf311f6b1b..a342cc92638 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) 2009 Scott Pakin +% Copyright (C) 2011 Scott Pakin % ------------------------------------------------------- % % This package may be distributed and/or modified under the @@ -22,7 +22,7 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{filecontents} %<*package> - [2009/03/17 v1.2 Create an external file from within a LaTeX document] + [2011/10/08 v1.3 Create an external file from within a LaTeX document] % % %<*driver> @@ -38,7 +38,7 @@ % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% \CheckSum{173} +% \CheckSum{175} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -261,6 +261,8 @@ % \texttt{\char`\\else} and \texttt{\char`\\fi} % lines as per Heiko Oberdiek's suggestion for getting \textsf{filecontents} % to work with the \textsf{guitar} package} +% \changes{v1.3}{2011/10/08}{Added a \texttt{\char`\\closein} to fix bug +% \textsf{latex/1487} (reported by Ulrike Fischer and Heiko Oberdiek)} % \begin{macrocode} \ifeof\@inputcheck% \@latex@warning@no@line% @@ -269,6 +271,7 @@ \@latex@warning@no@line% {Overwriting file `\@currdir#1'}% \fi % + \closein\@inputcheck % % \end{macrocode} % \begin{macrocode} \chardef\reserved@c15 % diff --git a/Master/texmf-dist/source/latex/filecontents/filecontents.ins b/Master/texmf-dist/source/latex/filecontents/filecontents.ins index 81c9317447b..6738fe42f2d 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) 2009 Scott Pakin +%% Copyright (C) 2011 Scott Pakin %% ------------------------------------------------------- %% %% This package may be distributed and/or modified under the conditions @@ -28,7 +28,7 @@ This is a generated file. -Copyright (C) 2009 Scott Pakin +Copyright (C) 2011 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 65c90973603..191f19e50fa 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) 2009 Scott Pakin +%% Copyright (C) 2011 Scott Pakin %% ------------------------------------------------------- %% %% This package may be distributed and/or modified under the conditions @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{filecontents} - [2009/03/17 v1.2 Create an external file from within a LaTeX document] + [2011/10/08 v1.3 Create an external file from within a LaTeX document] \begingroup% \catcode`\*=11 % \catcode`\^^M\active% @@ -38,6 +38,7 @@ \@latex@warning@no@line% {Overwriting file `\@currdir#1'}% \fi % + \closein\@inputcheck % \chardef\reserved@c15 % \ch@ck7\reserved@c\write% \immediate\openout\reserved@c#1\relax% -- cgit v1.2.3