summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-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}