summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-15 18:22:59 +0000
committerKarl Berry <karl@freefriends.org>2007-03-15 18:22:59 +0000
commiteeb58fa71c1ad22dc5b0890d204a74b7f8ec3c7c (patch)
tree5a02f2e5b6ea8a8765ef7cb8c3268fe7bab9210f /Master/texmf-dist/source/latex
parent6eeeccefa6fa4e6b962e6593a10dd2bb44f3df57 (diff)
showexpl update (14mar07)
git-svn-id: svn://tug.org/texlive/trunk@4036 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/showexpl/showexpl.dtx11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/showexpl/showexpl.dtx b/Master/texmf-dist/source/latex/showexpl/showexpl.dtx
index 45184ab676a..3db04419e4d 100644
--- a/Master/texmf-dist/source/latex/showexpl/showexpl.dtx
+++ b/Master/texmf-dist/source/latex/showexpl/showexpl.dtx
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{showexpl}
%<*package>
- [2006/09/18 v0.3g Typesetting example code (RN)]
+ [2007/02/03 v0.3h Typesetting example code (RN)]
%</package>
%
%<*driver>
@@ -205,11 +205,16 @@
\PassOptionsToPackage{\CurrentOption}{graphicx}%
\PassOptionsToPackage{\CurrentOption}{listings}%
}%
+% \end{macrocode}
+% \changes{v0.3h}{2007/02/03}{New Option `attachfiles' (RN).}
+% \begin{macrocode}
+\DeclareOption{attachfiles}{%
+ \AtBeginDocument{\IfFileExists{attachfile.sty}%
+ {\RequirePackage{attachfile}}{\def\SX@attachfile{}}}
+}%
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{listings}}
\ProcessOptions\relax
\RequirePackage{listings,calc,ifthen,graphicx,varwidth}
-\AtEndOfPackage{\IfFileExists{attachfile.sty}%
- {\RequirePackage{attachfile}}{\def\SX@attachfile{}}}
% \end{macrocode}
% We must aktivate code from package \textsf{listings} for writing files.
% \begin{macrocode}