diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/showexpl/showexpl.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/showexpl/showexpl.sty | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty index 312ee16d7e4..b3d77545a79 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} - [2011/08/22 v0.3i Typesetting example code (RN)] + [2012/09/22 v0.3j Typesetting example code (RN)] \DeclareOption{final}{% \PassOptionsToPackage{\CurrentOption}{graphicx}% \PassOptionsToPackage{\CurrentOption}{listings}% @@ -227,19 +227,19 @@ \let\lst@ifdisplaystyle=\iftrue \SX@KillAboveCaptionskip\lst@MakeCaption{t}% \lst@belowskip=\z@ - \let\SX@MakeCaption\lst@MakeCaption - \let\lst@MakeCaption\@gobble \setbox\SX@ResBox\hbox{% \SX@frame{% \@nameuse{\if@SX@varwidth varwidth\else minipage\fi}% - \SX@width\relax\SX@resultInput% + \SX@width\relax + \begingroup + \SX@resultInput + \endgroup \@nameuse{end\if@SX@varwidth varwidth\else minipage\fi}}}% \edef\SX@width{\the\wd\SX@ResBox}% \@ifundefined{SX@put@\SX@pos}% {\@latex@error{Parameter `\SX@pos' undefined}\@ehd}% {\@nameuse{SX@put@\SX@pos}% {\SX@width}{\box\SX@ResBox}{\SX@codeInput}}% - \let\lst@MakeCaption\SX@MakeCaption \lst@MakeCaption{b}\SX@KillBelowCaptionskip }% }% |