1.2.4 manifest.xml

<..utilities..>+
 \let\media:type\relax
 \let\:OOmanifest=\empty
 \def\OOmanifest#1{\edef\:OOmanifest{\:OOmanifest #1}}
 \OOmanifest{<.oo2 manifest.xml.>}
 \def\media:type{application/vnd.oasis.opendocument.text}
-_-_-

<..switch to main body OOmanifest..>
 \def\OOmanifest##1{%
   \ht:special{t4ht><.manifest file name.>}%
   \ht:special{t4ht=##1}%
   \ht:special{t4ht*>}%
 }
 \OOmanifest{\:OOmanifest}
 \ht:special{t4ht*><.manifest file name.>}%
 \let\:OOmanifest=\:UnDef
-_-_-

<..manifest file name..>
 \jobname-manifest.4of
-_-_-

<..oo2 manifest.xml..>
 <.VERSION.>%
 <!DOCTYPE manifest:manifest PUBLIC
        "-//OpenOffice.org//DTD
        Manifest \oo:dtd:ver//<.dtd lang.>" "Manifest.dtd">\Hnewline
 <manifest:manifest
        xmlns:manifest =
        "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">\Hnewline
    <manifest:file-entry
        manifest:media-type="\media:type"
        manifest:full-path="/"/>
    <.shared manifest.>%
-_-_-

<..manifest at /@BODY..>
 \OOmanifest{</manifest:manifest>\Hnewline}%
-_-_-

<..math obj manifest..>
 <manifest:file-entry
    manifest:media-type="text/xml"
    manifest:full-path="<.math obj name.>/content.xml"/>\Hnewline
 <manifest:file-entry
    manifest:media-type="text/xml"
    manifest:full-path="<.math obj name.>/settings.xml"/>\Hnewline
 <manifest:file-entry
     manifest:media-type="application/vnd.sun.xml.math"
     manifest:full-path="<.math obj name.>/"/>
-_-_-

<..graphics obj manifest..>
 <manifest:file-entry
     manifest:full-path="Pictures/<.graphics file name.>"/>\Hnewline
-_-_-

<..shared manifest..>
 <manifest:file-entry
    manifest:media-type=""
    manifest:full-path="Pictures/"/>\Hnewline
 <manifest:file-entry
    manifest:media-type="text/xml"
    manifest:full-path="content.xml"/>\Hnewline
 <manifest:file-entry
    manifest:media-type="text/xml"
    manifest:full-path="styles.xml"/>\Hnewline
 <manifest:file-entry
    manifest:media-type="text/xml"
    manifest:full-path="meta.xml"/>\Hnewline
 <manifest:file-entry
    manifest:media-type="text/xml"
    manifest:full-path="settings.xml"/>\Hnewline
-_-_-