1.20.9 Footnotes

<..configure ooffice latex..>+
 <.footnote mark.>
 <.footnote text.>
 <.footnote thank.>
-_-_-

<..footnote text..>
 \Configure{footnotetext}
    {\Tag{<.footnote id.>-tx}{}%
     <.check duplicate footnote text.>%
     \SaveEndP \NoFonts  \let\@textsuperscript\hbox
     \HCode{<\text:footnote\Hnewline\text:note:class
              text:id="}<.footnote id.>%
                \HCode{"><\text:footnote-citation>}%
     \IgnorePar \special{t4ht@(}%
    }
    {\EndNoFonts \RecallEndP
     \HCode{</\text:footnote-citation><\text:footnote-body>
     <text:p\Hnewline text:style-name="Footnote">}\NoFonts
 %     <.footnotetext space.>%
     \SaveHtmlPar <.footnote pars.>\ShowPar \special{t4ht@)}%
    }
    {\RecallHtmlPar\EndNoFonts
      \HCode{</text:p></\text:footnote-body></\text:footnote>}%
     <.notice footnote text.>%
    }
-_-_-

<..footnotetext space..>
 %<text:s/>
-_-_-

<..configure ooffice latex..>+
 \NewConfigureOO{Footnote}
 \ConfigureOO{Footnote}{
 <style:style
     style:name="Footnote"
     style:family="paragraph"
     style:parent-style-name="Standard"
     style:class="extra">\Hnewline
   <style:paragraph-properties
              fo:margin-left="0.2in"
              fo:margin-right="0in"
              fo:text-indent="-0.2in"
               style:auto-text-indent="false"/>
 </style:style>\Hnewline
 }
-_-_-

<..footnote pars..>
 \Configure{HtmlPar}
    {\EndP \HCode{<text:p text:style-name="Footnote">}}
    {\EndP \HCode{<text:p text:style-name="Footnote">}}
    {\HCode{</text:p>}}
    {\HCode{</text:p>}}%
-_-_-

<..footnote mark..>
  \ifx \tmp:bx\:UnDef \csname newbox\endcsname \tmp:bx \fi
 \Configure{footnotemark}
    {\Tag{<.footnote id.>}{}%
     <.footnote mark without text.>}
    {<.end footnote mark without text.>}
-_-_-

<..check duplicate footnote text..>
 \ifTag{<.footnote id.>}
    {\expandafter\ifx\csname (<.footnote id.>)\endcsname\def
        \:warning{Multiple footnote texts for mark \FNnum}%
     \fi
    } {}%
-_-_-

<..notice footnote text..>
 \expandafter\global\expandafter
    \let\csname (<.footnote id.>)\endcsname\def
-_-_-

<..footnote mark without text..>
 \ifTag{<.footnote id.>-tx}
    {\setbox\tmp:bx=\hbox\bgroup}
    {\NoFonts
     \HCode{<\text:footnote\Hnewline\text:note:class
              text:id="}<.footnote id.>%
                \HCode{"><\text:footnote-citation>}%
    }%
-_-_-

<..end footnote mark without text..>
 \ifTag{<.footnote id.>-tx}
    {\egroup}
    {\EndNoFonts \HCode{</\text:footnote-citation><\text:footnote-body>
       <text:p\Hnewline text:style-name="Footnote">%
       </text:p></\text:footnote-body></\text:footnote>}%
    }%
-_-_-

<..footnote id..>
 fn\FNnum x\minipageNum
-_-_-

<..thank id..>
 fn\the\c@footnote x\minipageNum
-_-_-

<..configure ooffice footmisc..>
 \Configure{footnotetext}
    {\Tag{<.footnote id.>-tx}{}%
     <.check duplicate footnote text.>%
     \NoFonts  \let\@textsuperscript\hbox
     \HCode{<\text:footnote\Hnewline\text:note:class
             text:id="}<.footnote id.>%
                \HCode{"><\text:footnote-citation>}%
     \let\fn:nbsp\:nbsp \let\:nbsp\empty
    }
    {\EndNoFonts \let\:nbsp\fn:nbsp
     \HCode{</\text:footnote-citation><\text:footnote-body>%
     <text:p\Hnewline text:style-name="Footnote"><.footnotetext space.>}%
     \SaveHtmlPar  \Configure{HtmlPar}{}{}{}{}%
    }
    {\RecallHtmlPar
     \HCode{</text:p></\text:footnote-body></\text:footnote>}%
     <.notice footnote text.>}
-_-_-

<..configure ooffice latex..>+
 \Configure{textsuperscript}
   {\HCode{<text:span text:style-name="textsuperscript">}}
   {\HCode{</text:span>}}
 \OOstyles{%
 <style:style style:name="textsuperscript" style:family="text">\Hnewline
    <style:text-properties style:text-position="super 80\%"/>\Hnewline
 </style:style>\Hnewline
 }
-_-_-