diff options
author | Norbert Preining <norbert@preining.info> | 2022-04-06 03:01:01 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-04-06 03:01:01 +0000 |
commit | 333540a9182285f9d72d7d39be3fa730c135d664 (patch) | |
tree | bdffc5aea11535dc73e81752b4a77eed105989ff /support | |
parent | a4e931576165d0a4a143915f4725399272e06fee (diff) |
CTAN sync 202204060301
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 11 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 2 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-ooffice.tex | 57 |
3 files changed, 66 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 8bd91f94e1..8ee941ac8c 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,14 @@ +2022-04-05 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-ooffice.tex (ooffice.4ht): added option to produce inline + description lists. + https://puszcza.gnu.org.ua/bugs/?531 + +2022-04-04 Karl Berry <karl@freefriends.org> + + * tex4ht-4ht.tex (minted.4ht), + * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): copyright 2022. + 2022-04-04 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (minted.4ht): fixed spurious whitespace produced by diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index c8020013b0..f12d318268 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1106 2022-04-04 10:06:26Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1107 2022-04-04 14:44:55Z karl $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group diff --git a/support/TeX4ht/source/tex4ht-ooffice.tex b/support/TeX4ht/source/tex4ht-ooffice.tex index 56de7c4c9c..eebe62995f 100644 --- a/support/TeX4ht/source/tex4ht-ooffice.tex +++ b/support/TeX4ht/source/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> >>> |