diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 11 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht | 309 |
3 files changed, 342 insertions, 35 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 752e2841f45..f2fee524bed 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,14 @@ +2022-01-07 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (ooffice.4ht): use \par after some environemnts to + prevent ommision of the following text. + + * tex4ht-ooffice.tex (ooffice.4ht): correctly handle text alignment + environments inside enumerate items. + + * tex4ht-ooffice.tex (ooffice.4ht): added NoSection option to + disable frames around text alignment environments. + 2022-01-05 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (adjustbox.4ht): prevent undefined control diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex index 66a160768cf..f2f35a664ea 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 1045 2021-12-29 15:03:05Z michal_h21 $ +% $Id: tex4ht-ooffice.tex 1052 2022-01-07 13:10:15Z michal_h21 $ % compile 3 times: latex tex4ht-ooffice % htlatex tex4ht-ooffice "xhtml,4,sections+" % @@ -84,7 +84,7 @@ tail>>> \<try env inline par\><<< -\ShowPar +\par\ShowPar >>> \<try inline par\><<< @@ -1856,8 +1856,10 @@ change the configuration slightly. We modify directly the {\EndP\HCode{<text:p text:style-name="Inside-enumerate|<cond rtl class|>" >}} - {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}}} - {\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline + {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}} + \gHAdvance\BegEnd:D by 1% + } + {\gHAdvance\BegEnd:D by -1\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline </\text:orderedlist>\Hnewline}\ShowPar} {\EndP\end@Item\DeleteMark} {\HCode{<text:list-item>}\par\ShowPar @@ -2028,8 +2030,11 @@ change the configuration slightly. We modify directly the {\EndP\HCode{<text:p text:style-name="Inside-enumerate|<cond rtl class|>" >}} - {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}}} - {\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline + {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}} + \gHAdvance\BegEnd:D by 1% + } + {\gHAdvance\BegEnd:D by -1% + \EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline </\text:orderedlist>\Hnewline}\ShowPar} {\EndP\end@Item \let\sv:DeleteMark\DeleteMark \let\DeleteMark\DeleteMark: \DeleteMark} @@ -3320,32 +3325,70 @@ See html4 comment regarding \verb+\Configure{jbanchor}{\Link}{\EndLink}+ - \<configure ooffice latex\><<< \HAssign\BegEnd:N=0 \HAssign\BegEnd:D=0 >>> +We use ODT sections for various environements, +especially for changed text alignment. + +These sections are not rendered in some contexts, +for example in enumerate items. So we need +to have a mechanism to disable them. + +I don't even think that these sections are usefull +at all, as the text alignment in these environments +seems to work regardless of the section use. + +We will print section tags only when BedEnd:X is +zero. The following commands increase and decrease +this counter. This should handle nesting. + +\<configure ooffice latex\><<< +\HAssign\BegEnd:X=0 +\def\:DisableSections{\gHAdvance\BegEnd:X by 1} +\def\:EnableSections{\gHAdvance\BegEnd:X by -1} +>>> + +We also provide an option to dispable sections +completelly. + + +\<configure ooffice latex\><<< +\:CheckOption{NoSections}\if:Option +\HAssign\BegEnd:X=9999% use some really high number +\else +\Log:Note{To disable use of sections for text + alignment environemnts, use the "NoSections" + option} +\fi +>>> \<begin env section\><<< \ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 |<sectioned env|>% \else |<boxed env|>% \fi \gHAdvance\BegEnd:D by 1 +\fi >>> \<end env section\><<< \gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 |<end sectioned env|>% \else |<end boxed env|>% \fi +\else\par% +\fi >>> diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht index c54867c28bd..e8186b0e9a6 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-12-29-13:47), generated from tex4ht-ooffice.tex +% ooffice.4ht (2022-01-07-14:46), 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-12-29-13:47} +\immediate\write-1{version 2022-01-07-14:46} \exit:ifnot{Preamble,% algorithmicx,% @@ -996,8 +996,11 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew text:style-name="Inside-enumerate\if@rl-rtl\fi " >}} - {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}}} - {\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline + {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}} + \gHAdvance\BegEnd:D by 1% + } + {\gHAdvance\BegEnd:D by -1% + \EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline </\text:orderedlist>\Hnewline}\ShowPar} {\EndP\end@Item \let\sv:DeleteMark\DeleteMark \let\DeleteMark\DeleteMark: \DeleteMark} @@ -1092,8 +1095,10 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew text:style-name="Inside-enumerate\if@rl-rtl\fi " >}} - {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}}} - {\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline + {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}} + \gHAdvance\BegEnd:D by 1% + } + {\gHAdvance\BegEnd:D by -1\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline </\text:orderedlist>\Hnewline}\ShowPar} {\EndP\end@Item\DeleteMark} {\HCode{<text:list-item>}\par\ShowPar @@ -1522,6 +1527,16 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew } \HAssign\BegEnd:N=0 \HAssign\BegEnd:D=0 +\HAssign\BegEnd:X=0 +\def\:DisableSections{\gHAdvance\BegEnd:X by 1} +\def\:EnableSections{\gHAdvance\BegEnd:X by -1} +\:CheckOption{NoSections}\if:Option +\HAssign\BegEnd:X=9999% use some really high number +\else +\Log:Note{To disable use of sections for text + alignment environemnts, use the "NoSections" + option} +\fi \NewConfigureOO{begin-end-env} \ConfigureOO{begin-end-env}{\Hnewline <style:style style:name="begin-env-p" style:family="paragraph">\Hnewline @@ -1810,7 +1825,7 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew \ShowPar \Configure{noalign}{}{}% % - \ShowPar + \par\ShowPar % }{}{} \Configure{tabular} @@ -2219,6 +2234,7 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew } \ConfigureEnv{verse} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -2243,6 +2259,7 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew % \fi \gHAdvance\BegEnd:D by 1 +\fi % \HCode{<!--start verse-->}% \bgroup \Configure{HtmlPar} @@ -2256,6 +2273,7 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew {\egroup \ifvmode \IgnorePar\fi \EndP \HCode{<!--end verse-->}\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -2264,6 +2282,8 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar} {}{} \ConfigureList{verse} @@ -3088,6 +3108,7 @@ style:display-name="Footnote anchor" style:family="text"> \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -3112,9 +3133,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -3123,6 +3146,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -3143,6 +3168,7 @@ style:display-name="Footnote anchor" style:family="text"> {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -3167,9 +3193,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -3178,6 +3206,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -3220,6 +3250,7 @@ style:display-name="Footnote anchor" style:family="text"> } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -3244,9 +3275,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -3255,8 +3288,10 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -3283,6 +3318,7 @@ style:display-name="Footnote anchor" style:family="text"> } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -3307,9 +3343,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -3318,6 +3356,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -3343,6 +3383,7 @@ style:display-name="Footnote anchor" style:family="text"> \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -3367,9 +3408,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -3378,8 +3421,10 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -4501,6 +4546,7 @@ style:display-name="Footnote anchor" style:family="text"> \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -4525,9 +4571,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -4536,6 +4584,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -4556,6 +4606,7 @@ style:display-name="Footnote anchor" style:family="text"> {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -4580,9 +4631,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -4591,6 +4644,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -4633,6 +4688,7 @@ style:display-name="Footnote anchor" style:family="text"> } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -4657,9 +4713,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -4668,8 +4726,10 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -4696,6 +4756,7 @@ style:display-name="Footnote anchor" style:family="text"> } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -4720,9 +4781,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -4731,6 +4794,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -4756,6 +4821,7 @@ style:display-name="Footnote anchor" style:family="text"> \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -4780,9 +4846,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -4791,8 +4859,10 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -5882,6 +5952,7 @@ style:display-name="Footnote anchor" style:family="text"> \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -5906,9 +5977,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -5917,6 +5990,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -5937,6 +6012,7 @@ style:display-name="Footnote anchor" style:family="text"> {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -5961,9 +6037,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -5972,6 +6050,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -6014,6 +6094,7 @@ style:display-name="Footnote anchor" style:family="text"> } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -6038,9 +6119,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -6049,8 +6132,10 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -6077,6 +6162,7 @@ style:display-name="Footnote anchor" style:family="text"> } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -6101,9 +6187,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -6112,6 +6200,8 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -6137,6 +6227,7 @@ style:display-name="Footnote anchor" style:family="text"> \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -6161,9 +6252,11 @@ style:display-name="Footnote anchor" style:family="text"> % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -6172,8 +6265,10 @@ style:display-name="Footnote anchor" style:family="text"> </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -8535,7 +8630,7 @@ Y{0178}\i{00EF}% \ShowPar \Configure{noalign}{}{}% % - \ShowPar + \par\ShowPar % }{}{} @@ -8970,6 +9065,7 @@ Y{0178}\i{00EF}% \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -8994,9 +9090,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -9005,6 +9103,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -9025,6 +9125,7 @@ Y{0178}\i{00EF}% {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -9049,9 +9150,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -9060,6 +9163,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -9102,6 +9207,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -9126,9 +9232,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -9137,8 +9245,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -9165,6 +9275,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -9189,9 +9300,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -9200,6 +9313,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -9225,6 +9340,7 @@ Y{0178}\i{00EF}% \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -9249,9 +9365,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -9260,8 +9378,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -10355,6 +10475,7 @@ Y{0178}\i{00EF}% \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -10379,9 +10500,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -10390,6 +10513,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -10410,6 +10535,7 @@ Y{0178}\i{00EF}% {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -10434,9 +10560,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -10445,6 +10573,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -10487,6 +10617,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -10511,9 +10642,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -10522,8 +10655,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -10550,6 +10685,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -10574,9 +10710,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -10585,6 +10723,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -10610,6 +10750,7 @@ Y{0178}\i{00EF}% \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -10634,9 +10775,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -10645,8 +10788,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -11741,6 +11886,7 @@ Y{0178}\i{00EF}% \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -11765,9 +11911,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -11776,6 +11924,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -11796,6 +11946,7 @@ Y{0178}\i{00EF}% {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -11820,9 +11971,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -11831,6 +11984,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -11873,6 +12028,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -11897,9 +12053,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -11908,8 +12066,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -11936,6 +12096,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -11960,9 +12121,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -11971,6 +12134,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -11996,6 +12161,7 @@ Y{0178}\i{00EF}% \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -12020,9 +12186,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -12031,8 +12199,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -12954,6 +13124,7 @@ Y{0178}\i{00EF}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureEnv{verse} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -12978,6 +13149,7 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi % \HCode{<!--start verse-->}% \bgroup @@ -12993,6 +13165,7 @@ Y{0178}\i{00EF}% {\egroup \ifvmode \IgnorePar\fi \EndP\HCode{<!--end verse-->}\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -13001,6 +13174,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar} {}{} @@ -13695,6 +13870,7 @@ Y{0178}\i{00EF}% \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -13719,9 +13895,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -13730,6 +13908,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -13750,6 +13930,7 @@ Y{0178}\i{00EF}% {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -13774,9 +13955,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -13785,6 +13968,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -13827,6 +14012,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -13851,9 +14037,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -13862,8 +14050,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -13890,6 +14080,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -13914,9 +14105,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -13925,6 +14118,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -13950,6 +14145,7 @@ Y{0178}\i{00EF}% \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -13974,9 +14170,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -13985,8 +14183,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -15088,6 +15288,7 @@ Y{0178}\i{00EF}% \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -15112,9 +15313,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -15123,6 +15326,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -15143,6 +15348,7 @@ Y{0178}\i{00EF}% {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -15167,9 +15373,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -15178,6 +15386,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -15220,6 +15430,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -15244,9 +15455,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -15255,8 +15468,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -15283,6 +15498,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -15307,9 +15523,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -15318,6 +15536,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -15343,6 +15563,7 @@ Y{0178}\i{00EF}% \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -15367,9 +15588,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -15378,8 +15601,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -16496,6 +16721,7 @@ Y{0178}\i{00EF}% \ConfigureEnv{quote} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -16520,9 +16746,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -16531,6 +16759,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\noindent} {\EndP \ifvmode \IgnorePar\fi \bgroup \Configure{HtmlPar} @@ -16551,6 +16781,7 @@ Y{0178}\i{00EF}% {\IgnorePar\EndP \egroup \ShowPar \ShowIndent} \ConfigureEnv{quotation} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -16575,9 +16806,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi } {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -16586,6 +16819,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi \par\ShowPar \noindent} {\IgnorePar\EndP \bgroup \Configure{HtmlPar} {\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi @@ -16628,6 +16863,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushright} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -16652,9 +16888,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushright-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -16663,8 +16901,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end flushright-->}\ShowPar + \HCode{<!--end flushright-->}\par\ShowPar } {} {} \ConfigureList{flushright} @@ -16691,6 +16931,7 @@ Y{0178}\i{00EF}% } \ConfigureEnv{flushleft} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -16715,9 +16956,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin flushleft-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -16726,6 +16969,8 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % \HCode{<!--end flushleft-->}\par\ShowPar} {} {} @@ -16751,6 +16996,7 @@ Y{0178}\i{00EF}% \Hnewline} \ConfigureEnv{center} {\ifvmode \IgnorePar\fi \EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \gHAdvance\BegEnd:N by 1 \HCode{<text:section @@ -16775,9 +17021,11 @@ Y{0178}\i{00EF}% % \fi \gHAdvance\BegEnd:D by 1 +\fi \HCode{<!--begin center-->}} {\gHAdvance\BegEnd:D by -1 \ifvmode \IgnorePar\fi\EndP +\ifnum\BegEnd:X=0% \ifnum \BegEnd:D=0 \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% % @@ -16786,8 +17034,10 @@ Y{0178}\i{00EF}% </draw:frame></text:p> }}% % \fi +\else\par% +\fi % - \HCode{<!--end center-->}\par\ShowPar + \HCode{<!--end center-->}\par\par\ShowPar } {} {} \ConfigureList{center} @@ -18653,8 +18903,11 @@ Y{0178}\i{00EF}% text:style-name="Inside-enumerate\if@rl-rtl\fi " >}} - {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}}} - {\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline + {\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}} + \gHAdvance\BegEnd:D by 1% + } + {\gHAdvance\BegEnd:D by -1% + \EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline </\text:orderedlist>\Hnewline}\ShowPar} {\EndP\end@Item \let\sv:DeleteMark\DeleteMark \let\DeleteMark\DeleteMark: \DeleteMark} |