summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/filecontents/filecontents.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-09 23:48:30 +0000
committerKarl Berry <karl@freefriends.org>2011-10-09 23:48:30 +0000
commit115eedcda7c4099e8f4f1b9ec3b397f3d2b3b192 (patch)
treef757d9ff2e2d26fa9ebfe3f7580fbea48566e5e3 /Master/texmf-dist/source/latex/filecontents/filecontents.dtx
parent68d5f2bed16d2f2f0176d8bfcc468e12113a1bbf (diff)
filecontents (9oct11)
git-svn-id: svn://tug.org/texlive/trunk@24250 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/filecontents/filecontents.dtx')
-rw-r--r--Master/texmf-dist/source/latex/filecontents/filecontents.dtx9
1 files changed, 6 insertions, 3 deletions
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 %