From 231fc251fff6ff4c087e7678772c15875a8f91d6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 6 Jul 2008 18:18:57 +0000 Subject: tex4ht-1.0.2008_07_05_0937 git-svn-id: svn://tug.org/texlive/trunk@9301 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/listings.4ht | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/listings.4ht') 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 -- cgit v1.2.3