summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/filecontents/README2
-rw-r--r--Master/texmf-dist/doc/latex/filecontents/filecontents.pdfbin125633 -> 249917 bytes
-rw-r--r--Master/texmf-dist/source/latex/filecontents/filecontents.dtx9
-rw-r--r--Master/texmf-dist/source/latex/filecontents/filecontents.ins4
-rw-r--r--Master/texmf-dist/tex/latex/filecontents/filecontents.sty5
5 files changed, 12 insertions, 8 deletions
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
--- 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 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 <scott+fc@pakin.org>
+% Copyright (C) 2011 Scott Pakin <scott+fc@pakin.org>
% -------------------------------------------------------
%
% This package may be distributed and/or modified under the
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\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]
%</package>
%
%<*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 <scott+fc@pakin.org>
+%% Copyright (C) 2011 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) 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
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 <scott+fc@pakin.org>
+%% Copyright (C) 2011 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}
- [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%