summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
diff options
context:
space:
mode:
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