summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/latex/showexpl/showexpl.dtx11
-rw-r--r--Master/texmf-dist/tex/latex/showexpl/showexpl.sty8
-rw-r--r--Master/texmf-dist/tpm/showexpl.tpm6
3 files changed, 16 insertions, 9 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}
diff --git a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty
index edecf914334..10bcbec77f0 100644
--- a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty
+++ b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{showexpl}
- [2006/09/18 v0.3g Typesetting example code (RN)]
+ [2007/02/03 v0.3h Typesetting example code (RN)]
\DeclareOption{final}{%
\PassOptionsToPackage{\CurrentOption}{graphicx}%
\PassOptionsToPackage{\CurrentOption}{listings}%
@@ -31,11 +31,13 @@
\PassOptionsToPackage{\CurrentOption}{graphicx}%
\PassOptionsToPackage{\CurrentOption}{listings}%
}%
+\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{}}}
\lst@RequireAspects{writefile}
\newcommand*\SX@defaultWD[2]{%
\afterassignment\SX@def@WD\dimen@#2\linewidth\relax{#1}}
diff --git a/Master/texmf-dist/tpm/showexpl.tpm b/Master/texmf-dist/tpm/showexpl.tpm
index ed1b5014c6b..d9bf46537e6 100644
--- a/Master/texmf-dist/tpm/showexpl.tpm
+++ b/Master/texmf-dist/tpm/showexpl.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/showexpl.zip">
<TPM:Name>showexpl</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/09/20 20:14:47</TPM:Date>
+ <TPM:Date>2007/03/13 21:49:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>karl</TPM:Creator>
<TPM:Title>The showexpl package.</TPM:Title>
@@ -12,7 +12,7 @@
<TPM:Size>486535</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="13597">
+ <TPM:RunFiles size="13635">
texmf-dist/tex/latex/showexpl/showexpl.sty
texmf-dist/tpm/showexpl.tpm
</TPM:RunFiles>
@@ -24,7 +24,7 @@ texmf-dist/doc/latex/showexpl/showexpl-test.tex
texmf-dist/doc/latex/showexpl/showexpl.cfg
texmf-dist/doc/latex/showexpl/showexpl.pdf
</TPM:DocFiles>
- <TPM:SourceFiles size="28418">
+ <TPM:SourceFiles size="28562">
texmf-dist/source/latex/showexpl/showexpl.dtx
texmf-dist/source/latex/showexpl/showexpl.ins
</TPM:SourceFiles>