diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-17 22:53:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-17 22:53:36 +0000 |
commit | 9ef193b3c64071aa07d8ef5df74e08c0e910cb90 (patch) | |
tree | e8fd8af3b78f20637b032200812b605b446f114d /Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex | |
parent | 7210b839ac193714ca7af5b9ec8390955092109a (diff) |
floating listings, tex4ht r982; listings support for odt, tex4ht r983
git-svn-id: svn://tug.org/texlive/trunk@60530 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex index 71b3105795f..1eac5065436 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-ooffice.tex 977 2021-09-09 13:53:34Z michal_h21 $ +% $Id: tex4ht-ooffice.tex 983 2021-09-17 14:27:15Z michal_h21 $ % compile 3 times: latex tex4ht-ooffice % htlatex tex4ht-ooffice "xhtml,4,sections+" % @@ -10446,15 +10446,21 @@ 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} {} {} >>> @@ -10462,16 +10468,20 @@ Y{0178}\i{00EF}% \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} >>> |