summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-06 18:18:57 +0000
committerKarl Berry <karl@freefriends.org>2008-07-06 18:18:57 +0000
commit231fc251fff6ff4c087e7678772c15875a8f91d6 (patch)
treed0756fdb158e4e74aac20d188fedb0a001fde630 /Master/texmf-dist/tex/generic/tex4ht/listings.4ht
parentcb2c4aa6e476dccf515b5d163ddf1c6b3a961372 (diff)
tex4ht-1.0.2008_07_05_0937
git-svn-id: svn://tug.org/texlive/trunk@9301 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/listings.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/listings.4ht13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/listings.4ht b/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
index 0b650b48f4a..b7c3b8b9bdc 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% listings.4ht 2008-02-28-20:51 %
+% listings.4ht 2008-07-04-10:48 %
% Copyright (C) 2001--2008 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
@@ -24,19 +24,24 @@
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2008-02-28-20:51}
+\immediate\write-1{version 2008-07-04-10:48}
\append:defII\lst@EnterMode{%
\ifx \lsthk:EveryLine\:UnDef
\let\lsthk:EveryLine\lsthk@EveryLine
\fi
\ifx \lsthk:EveryLine\lsthk@EveryLine
- \pend:def\lsthk@EveryLine{\c:listings}%
+ \pend:def\lsthk@EveryLine{\c:listings
+ \def\dd:listings{\d:listings\let\dd:listings\empty}}%
\fi
- \append:def\lsthk@EveryPar{\d:listings}%
+ \append:def\lsthk@EveryPar{\dd:listings}%
\a:listings\bgroup \aftergroup\lst:EnterMode }
\def\lst:EnterMode{\b:listings\egroup}
\NewConfigure{listings}{4}
+\let\dd:listings=\empty
+\append:defI\lst@Init{\csname a:listings-init\endcsname}
+\pend:def\lst@DeInit{\csname b:listings-init\endcsname}
+\NewConfigure{listings-init}{2}
\lst@AddToHook{TextStyle}{%
\Configure{listings}{}{}{}{}%
\a:lstinline \bgroup \aftergroup\b:lstinline\aftergroup\egroup