diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex | 57 |
1 files changed, 54 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex index 56de7c4c9c1..eebe62995fd 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 1101 2022-03-28 11:52:50Z michal_h21 $ +% $Id: tex4ht-ooffice.tex 1108 2022-04-05 15:59:08Z michal_h21 $ % compile 3 times: latex tex4ht-ooffice % htlatex tex4ht-ooffice "xhtml,4,sections+" % @@ -1979,8 +1979,19 @@ change the configuration slightly. We modify directly the %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \<configure ooffice latex\><<< +\:CheckOption{description-inline}\if:Option +|<oo-description-inline|> +\else +\Log:Note{for description lists where header is in the same paragraph as + description, use the `description-inline' command option} +|<oo-default-description|> +\fi +>>> + + + +\<oo-default-description\><<< \let\end:itm=\empty \ConfigureList{description}% {\EndP @@ -2019,6 +2030,37 @@ change the configuration slightly. We modify directly the +\<oo-description-inline\><<< +\let\end:itm=\empty +\ConfigureList{description}% + {\EndP + \bgroup + \HCode{<text:list + text:style-name="description\if@rl-rtl\fi" + text:name="description"\Hnewline>}% + \PushMacro\end:itm + \global\let\end:itm=\empty + \HTML:PAR{description-inline|<cond rtl class|>}{description-inline|<cond rtl class|>}% + \gHAdvance\BegEnd:D by 1 + } + {\gHAdvance\BegEnd:D by -1 + \PopMacro\end:itm \global\let\end:itm \end:itm + \EndP + \HCode{<!--/dd-->}% + \HCode{</text:list-item>} + \HCode{</text:list>}% + \egroup + \ShowPar} + {\end:itm + \global\def\end:itm{\EndP + \HCode{<!--/dd-->}% + \HCode{</text:list-item>}% + }% + \HCode{<text:list-item>}\par\ShowPar% + } + {} +>>> + @@ -2060,7 +2102,6 @@ change the configuration slightly. We modify directly the - \<oo-description for enumerate\><<< \ConfigureOO{enumerate}% {|<shared oo+ enumerate style|>% @@ -2212,6 +2253,16 @@ change the configuration slightly. We modify directly the fo:font-weight="bold" /> </style:style> +<style:style + style:name="description-inline" + style:family="paragraph" + style:parent-style-name=""> + <style:paragraph-properties + fo:margin-left="0.35in" + fo:margin-right="0in" + fo:text-indent="-0.35in" + style:auto-text-indent="false"/> +</style:style> >>> |