diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht index f9387235466..b8606ad9c47 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht @@ -1,4 +1,4 @@ -% ooffice.4ht (2021-09-10-08:38), generated from tex4ht-ooffice.tex +% ooffice.4ht (2021-09-17-15:31), generated from tex4ht-ooffice.tex % Copyright 2009-2021 TeX Users Group % Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-09-10-08:38} +\immediate\write-1{version 2021-09-17-15:31} \exit:ifnot{Preamble,% algorithmicx,% @@ -19322,29 +19322,39 @@ Y{0178}\i{00EF}% \ConfigureEnv{lstlisting} {\ifvmode \IgnorePar\fi \EndP \HCode{<!--l. \the\inputlineno lstlisting-->}% - \HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% - \bgroup \special{t4ht@(}% + % \HCode{}% + \bgroup % + \gdef\start:LstLn{% + \ifvmode\IgnorePar\fi\EndP\HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% + \ht:special{t4ht@(}\ttfamily% + \gdef\start:LstLn{\HCode{<text:s/><text:line-break/>}}} + \pend:def\lst@DeInit{\ifvmode\IgnorePar\fi\EndP\HCode{</text:p>}}% \Configure{listings} {{\everypar{}\leavevmode}} {{\everypar{}\leavevmode}} - {\HCode{<text:s/><text:line-break/>}}{}% + {\start:LstLn}{}% } - {\special{t4ht@)}\egroup - \ifvmode \IgnorePar\fi \EndP \HCode{</text:p>}\par} + {\ht:special{t4ht@)}\egroup + % \ifvmode \IgnorePar\fi \EndP \HCode{</text:p>}\par} + \par} {} {} \Configure{lstinputlisting} {\ifvmode \IgnorePar\fi \EndP \HCode{<!--l. \the\inputlineno lstinputlisting-->}% - \HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% - \bgroup \tt \special{t4ht@(}% + % \HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% + \bgroup% + \gdef\start:LstLn{% + \ifvmode\IgnorePar\fi\EndP\HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% + \ht:special{t4ht@(}\ttfamily% + \gdef\start:LstLn{\HCode{<text:s/><text:line-break/>}}} + \pend:def\lst@DeInit{\ifvmode\IgnorePar\fi\EndP\HCode{</text:p>}}% \Configure{listings} {{\everypar{}\leavevmode}} {{\everypar{}\leavevmode}} - {\HCode{<text:s/><text:line-break/>}} + {\start:LstLn} {\HCode{<text:line-break/>}}% } - {\special{t4ht@)}\egroup - \ifvmode \IgnorePar\fi \EndP \HCode{</text:p>}\par} + {\special{t4ht@)}\egroup\par} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |