summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-05 20:50:23 +0000
committerKarl Berry <karl@freefriends.org>2022-04-05 20:50:23 +0000
commit7c200a413ce80d2d09a0dda338e9407bba0d3855 (patch)
tree17bf2b6cb711fcfebf70adf4662abba4d78cb91f /Master/texmf-dist/tex/generic
parentb36c6a117f597772a217c3a138adabde34b9dce0 (diff)
ooffice inline desc lists, tex4ht r1108
git-svn-id: svn://tug.org/texlive/trunk@62918 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht51
1 files changed, 49 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
index aa89899dd99..cd47a0a9b65 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 (2022-04-04-07:07), generated from tex4ht-ooffice.tex
+% ooffice.4ht (2022-04-05-13:34), generated from tex4ht-ooffice.tex
% Copyright 2009-2022 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 2022-04-04-07:07}
+\immediate\write-1{version 2022-04-05-13:34}
\exit:ifnot{Preamble,%
algorithmicx,%
@@ -1242,6 +1242,41 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
\Configure{enumerate:2}{a}{(}{)}
\Configure{enumerate:3}{i}{}{.}
\Configure{enumerate:4}{A}{}{.}
+\:CheckOption{description-inline}\if:Option
+\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\if@rl-rtl\fi
+}{description-inline\if@rl-rtl\fi
+}%
+ \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%
+ }
+ {}
+
+\else
+\Log:Note{for description lists where header is in the same paragraph as
+ description, use the `description-inline' command option}
\let\end:itm=\empty
\ConfigureList{description}%
{\EndP
@@ -1279,6 +1314,8 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
\HCode{<!--dd\Hnewline class="description"-->}%
\par
}
+
+\fi
\NewConfigureOO{description}
\ConfigureOO{description}{<text:list-style style:name="description" >
<text:list-level-style-bullet
@@ -1344,6 +1381,16 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
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>
}
\let\end:itm=\empty
\ConfigureList{list}%