diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-10 22:44:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-10 22:44:08 +0000 |
commit | d019f0c94185b0594b89486f8e44c9c284c421b5 (patch) | |
tree | fd267f1f1ab5462eda673244d36814e2d41abc2f /Master/texmf-dist/tex/latex/showexpl | |
parent | 0730097276ae76ef9b4c2178d2dd5f974d63f6ee (diff) |
showexpl (10apr13)
git-svn-id: svn://tug.org/texlive/trunk@29838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/showexpl')
-rw-r--r-- | Master/texmf-dist/tex/latex/showexpl/showexpl.sty | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty index b3d77545a79..65451f40923 100644 --- a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty +++ b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2004 by Rolf Niepraschk <Rolf.Niepraschk@ptb.de> +%% Copyright (C) 2004, ... by Rolf Niepraschk <Rolf.Niepraschk@gmx.de> %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.2 of this license @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{showexpl} - [2012/09/22 v0.3j Typesetting example code (RN)] + [2013/03/21 v0.3k Typesetting example code (RN)] \DeclareOption{final}{% \PassOptionsToPackage{\CurrentOption}{graphicx}% \PassOptionsToPackage{\CurrentOption}{listings}% @@ -227,6 +227,8 @@ \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}% @@ -240,6 +242,7 @@ {\@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 }% }% @@ -362,6 +365,9 @@ \lstset{explpreset={numbers=left,numberstyle=\tiny,numbersep=.3em, xleftmargin=1em,columns=flexible,language=[LaTeX]TEX},pos=l,width=-99pt, overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe=single} +\AtBeginDocument{% + \def\theHlstnumber{\thelstlisting.\arabic{lstnumber}.\lst@neglisting}% +} \InputIfFileExists{showexpl.cfg}{}{} \endinput %% |