Created
March 19, 2019 16:29
-
-
Save michal-h21/46586a5fc24631feb528839863948aa5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ooffice.4ht (2019-03-19-17:14), generated from tex4ht-ooffice.tex | |
% Copyright 2009-2019 TeX Users Group | |
% Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari | |
% | |
% This work may be distributed and/or modified under the | |
% conditions of the LaTeX Project Public License, either | |
% version 1.3c of this license or (at your option) any | |
% later version. The latest version of this license is in | |
% http://www.latex-project.org/lppl.txt | |
% and version 1.3c or later is part of all distributions | |
% of LaTeX version 2005/12/01 or later. | |
% | |
% This work has the LPPL maintenance status "maintained". | |
% | |
% The Current Maintainer of this work | |
% is the TeX4ht Project <http://tug.org/tex4ht>. | |
% | |
% If you modify this program, changing the | |
% version identification would be appreciated. | |
\immediate\write-1{version 2019-03-19-17:14} | |
\exit:ifnot{Preamble,% | |
algorithmicx,% | |
alphanum,% | |
amsart,% | |
amsbook,% | |
amsmath,% | |
amsproc,% | |
apa,% | |
apacite,% | |
article,% | |
babel,% | |
biblatex,% | |
book,% | |
cgloss4e,% | |
color,% | |
covington,% | |
curve,% | |
elsart,% | |
enumerate,% | |
fancyvrb,% | |
foils,% | |
fontmath,% | |
footmisc,% | |
footnote-dw,% | |
frenchb,% | |
g-brief,% | |
german,% | |
graphics,% | |
hyperref,% | |
jurabib,% | |
latex,% | |
lineno,% | |
linguex,% | |
listings,% | |
longtable,% | |
mdwlist,% | |
ngerman,% | |
paralist,% | |
plain,% | |
pst-all,% | |
pst-jtree,% | |
pstricks,% | |
report,% | |
scrartcl,% | |
scrbook,% | |
scrreprt,% | |
slides,% | |
soul,% | |
subscript,% | |
tabularx,% | |
tex4ht,% | |
ulem,% | |
url,% | |
verse,% | |
wrapfig,% | |
xcolor} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{Preamble} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{ext}{4oo} | |
\Configure{PROLOG}{VERSION,DOCTYPE} | |
\def\list:text:level{text:level} | |
\def\text:outlinelevel{text:outline-level} | |
\def\style:tableproperties{style:table-properties } | |
\def\style:sectionproperties{style:section-properties } | |
\def\text:orderedlist{text:list } | |
\def\text:unorderedlist{text:list } | |
\def\oo:dtd:ver{2.0} | |
\let\Css=\:gobble | |
\edef\Preamble{\Preamble,refcaption} | |
\newif\ifTab \Tabfalse | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{tex4ht} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\if:latex \Hinclude{\input #1.4ht}{latex} | |
\else \ifx \contextversion\Un:def | |
\Hinclude{\input #1.4ht}{plain} | |
\def\:temp{t}% | |
\ifx \eplain\:temp | |
\Hinclude{\input #1.4ht}{eplain} | |
\fi | |
\def\:temp{M\kern-.111em\lower.6ex\hbox{E}\kern-.075emX} | |
\ifx \nM@X\:temp | |
\expandafter\ifx\csname emulateplain\endcsname\relax \else | |
\Hinclude{\input #1.4ht}{mex} | |
\fi\fi | |
\ifx \d@nger\:UnDef \else | |
\let\leftheadline\empty | |
\let\rightheadline\empty | |
\Hinclude{\input #1.4ht}{manmac} | |
\fi | |
\else | |
\Hinclude{\input #1.4ht}{context} | |
\fi | |
\fi | |
\newif\ifHCond | |
\def\:gobbleM#1->{} | |
\let\:OOstyles=\empty | |
\def\OOstyles#1{\edef\:OOstyles{\:OOstyles #1}} | |
\OOstyles{<?xml version="1.0" encoding="UTF-8"?>\Hnewline | |
% | |
<office:document-styles \Hnewline | |
xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"\Hnewline | |
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" \Hnewline | |
xmlns:dc="http://purl.org/dc/elements/1.1/" \Hnewline | |
xmlns:dom="http://www.w3.org/2001/xml-events" \Hnewline | |
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" \Hnewline | |
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" \Hnewline | |
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"\Hnewline | |
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" \Hnewline | |
xmlns:math="http://www.w3.org/1998/Math/MathML" \Hnewline | |
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" \Hnewline | |
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" \Hnewline | |
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"\Hnewline | |
xmlns:ooo="http://openoffice.org/2004/office" \Hnewline | |
xmlns:oooc="http://openoffice.org/2004/calc" \Hnewline | |
xmlns:ooow="http://openoffice.org/2004/writer" \Hnewline | |
xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnewline | |
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" \Hnewline | |
xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"\Hnewline | |
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" \Hnewline | |
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"\Hnewline | |
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" \Hnewline | |
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"\Hnewline | |
xmlns:xlink="http://www.w3.org/1999/xlink"\Hnewline | |
\Hnewline | |
office:version="1.0">\Hnewline | |
<office:font-face-decls> | |
% | |
</office:font-face-decls> | |
<office:styles>\Hnewline | |
} | |
\let\oo:style=\empty | |
\def\NewConfigureOO#1{% | |
\expandafter\ifx \csname c:#1:oo:style:\endcsname\relax | |
\append:def\oo:style{\csname a:#1:oo:style\endcsname}% | |
\:CheckOption{info}\if:Option | |
\Log:Note{\string\NewConfigureOO{#1}}% | |
\fi | |
\fi | |
\NewConfigure{#1:oo:style}{1}} | |
\def\ConfigureOO#1#2{% | |
\edef\:temp{\noexpand\Configure{#1:oo:style}{#2}}\:temp | |
\:CheckOption{info-oo}\if:Option | |
\Log:Note{\string\ConfigureOO{#1}{% | |
\expandafter\expandafter\expandafter\:gobbleM | |
\expandafter\meaning\csname a:#1:oo:style\endcsname | |
}} | |
\fi | |
} | |
\:CheckOption{info}\if:Option | |
\Log:Note{For tracing of oo configurations, | |
use the `info-oo' option}% | |
\fi | |
\let\media:type\relax | |
\let\:OOmanifest=\empty | |
\def\OOmanifest#1{\edef\:OOmanifest{\:OOmanifest #1}} | |
\OOmanifest{<?xml version="1.0" encoding="UTF-8"?>\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="/"/> | |
<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 | |
% | |
} | |
\def\media:type{application/vnd.oasis.opendocument.text} | |
\tmp:cnt=\time \divide\tmp:cnt by 60 | |
\edef\:temp{\the\tmp:cnt} | |
\multiply\tmp:cnt by -60 \advance\tmp:cnt by \time | |
\edef\:today{\the\year -\ifnum \month<10 0\fi | |
\the\month -\ifnum \day<10 0\fi\the\day | |
T\ifnum \:temp<10 0\fi \:temp | |
:\ifnum \tmp:cnt<10 0\fi\the\tmp:cnt :00} | |
\NewConfigure{META}[1]{\concat:config\a:META{#1}} | |
\let\a:META\relax | |
\newif\ifCenteredFrame | |
\def\HTML:PAR#1#2{% | |
\Configure{HtmlPar}% | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<text:p text:style-name="#1">}}% | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<text:p text:style-name="#2">}}% | |
{\HCode{</text:p>\Hnewline}}% | |
{\HCode{</text:p>\Hnewline}}} | |
\Configure{VERSION}{\HCode{<?xml version="1.0" encoding="UTF-8"?>\Hnewline | |
}} | |
\:CheckOption{-xtpipes} \if:Option | |
\Configure{DOCTYPE}{} | |
\else | |
\Configure{DOCTYPE}{\HCode{<?xtpipes file="oo-text.4xt" ?>\Hnewline}} | |
\fi | |
{\Configure{Needs}{File: \jobname.odt}\Needs{}} | |
\Configure{HTML} | |
{\HCode{<office:document-content \Hnewline | |
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" \Hnewline | |
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" \Hnewline | |
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" \Hnewline | |
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" \Hnewline | |
xmlns:fo="http://www.w3.org/1999/XSL/Format" \Hnewline | |
xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline | |
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" \Hnewline | |
xmlns:dc="http://purl.org/dc/elements/1.1/" \Hnewline | |
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" \Hnewline | |
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"\Hnewline | |
xmlns:svg="http://www.w3.org/2000/svg" \Hnewline | |
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" \Hnewline | |
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" \Hnewline | |
xmlns:math="http://www.w3.org/1998/Math/MathML" \Hnewline | |
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" \Hnewline | |
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" \Hnewline | |
xmlns:ooo="http://openoffice.org/2004/office" \Hnewline | |
xmlns:ooow="http://openoffice.org/2004/writer" \Hnewline | |
xmlns:oooc="http://openoffice.org/2004/calc" \Hnewline | |
xmlns:dom="http://www.w3.org/2001/xml-events" \Hnewline | |
xmlns:xforms="http://www.w3.org/2002/xforms" \Hnewline | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \Hnewline | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \Hnewline | |
xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" \Hnewline | |
xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"\Hnewline | |
xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnewline | |
% | |
office:version="1.0" | |
>\Hnewline | |
<office:automatic-styles> | |
<?tex4ht-lg file="\jobname.lg" ?> | |
\expandafter\ifx\csname a:automatic-styles\endcsname\relax \else | |
\csname a:automatic-styles\endcsname | |
\fi \Hnewline | |
</office:automatic-styles> | |
}} | |
{\EndP\HCode{</office:document-content>}\Configure{newpage}{}} | |
\NewConfigure{automatic-styles}[1]{% | |
\expandafter\concat:config\csname a:automatic-styles\endcsname{#1}} | |
\expandafter\let\csname a:automatic-styles\endcsname\relax | |
\Configure{automatic-styles} | |
{\csname a:figure-style\endcsname} | |
\NewConfigure{figure-style}{1} | |
\Configure{figure-style}{% | |
<style:style style:name="Figure" style:family="section">\Hnewline | |
<style:section-properties | |
fo:margin-left="0.25in" | |
fo:margin-right="0.25in" | |
style:editable="true">\Hnewline | |
<style:columns fo:column-count="0" | |
fo:column-gap="0in"/> | |
</style:section-properties> | |
</style:style>\Hnewline | |
} | |
\Configure{automatic-styles} | |
{\csname a:page-layout\endcsname} | |
\NewConfigure{page-layout}{1} | |
\Configure{page-layout}{% | |
<style:page-layout style:name="Standard-page-layout">\Hnewline | |
<style:page-layout-properties | |
fo:page-width="\the\paperwidth" | |
fo:page-height="\the\paperheight" | |
style:num-format="1" | |
style:print-orientation="portrait" | |
fo:margin-top="0.7874in" | |
fo:margin-bottom="0.7874in" | |
fo:margin-left="0.7874in" | |
fo:margin-right="0.7874in" | |
style:writing-mode="lr-tb" | |
style:footnote-max-height="0in">\Hnewline | |
<style:footnote-sep | |
style:width="0.0071in" | |
style:distance-before-sep="0.0398in" | |
style:distance-after-sep="0.0398in" | |
style:adjustment="left" | |
style:rel-width="25\%" | |
style:color="\#000000"/>\Hnewline | |
</style:page-layout-properties>\Hnewline | |
<style:header-style/> | |
<style:footer-style/> | |
</style:page-layout>\Hnewline | |
} | |
\Configure{BODY} | |
{\HCode{<office:body><office:text>}\par\ShowPar} | |
{\IgnorePar\EndP | |
\HCode{</office:text></office:body>\Hnewline}} | |
\Configure{META} | |
{<meta:initial-creator>TeX4ht from \jobname.tex, | |
options: \expandafter\:gobbleM\meaning\Preamble\Hnewline | |
(http://www.cse.ohio-state.edu/\string | |
~gurari/TeX4ht/) | |
\Hnewline | |
</meta:initial-creator>\Hnewline} | |
\Configure{META} | |
{<meta:generator>TeX4ht from \jobname.tex, | |
options: \expandafter\:gobbleM\meaning\Preamble\Hnewline | |
(http://www.cse.ohio-state.edu/\string | |
~gurari/TeX4ht/) | |
\Hnewline | |
</meta:generator>\Hnewline} | |
\:CheckOption{timestamp}\if:Option | |
\Configure{META} | |
{<meta:creation-date>\:today</meta:creation-date>\Hnewline} | |
\Configure{META} | |
{<dc:date>\:today</dc:date>\Hnewline} | |
\else | |
\Log:Note{To print a timestamp, use the command line option timestamp} | |
\fi | |
\Configure{Preamble} | |
{} | |
{\ht:special{t4ht>\jobname-settings.4os}% | |
\ht:special{t4ht=<?xml version="1.0" encoding="UTF-8"?>\Hnewline | |
}% | |
\ht:special{t4ht=}% | |
\ht:special{t4ht=<office:document-settings \Hnewline | |
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" \Hnewline | |
xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline | |
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" \Hnewline | |
office:version="1.0"> \Hnewline | |
}% | |
\ht:special{t4ht=</office:document-settings>\Hnewline | |
}% | |
\ht:special{t4ht*>}% | |
\ht:special{t4ht<\jobname-settings.4os}% | |
% | |
\def\OOstyles##1{% | |
\ht:special{t4ht>\jobname-styles.4oy}% | |
\ht:special{t4ht=##1}% | |
\ht:special{t4ht*>}% | |
} | |
\OOstyles{\:OOstyles} | |
\ht:special{t4ht*>\jobname-styles.4oy}% | |
\let\:OOstyles=\:UnDef | |
% | |
\def\OOmanifest##1{% | |
\ht:special{t4ht>\jobname-manifest.4of}% | |
\ht:special{t4ht=##1}% | |
\ht:special{t4ht*>}% | |
} | |
\OOmanifest{\:OOmanifest} | |
\ht:special{t4ht*>\jobname-manifest.4of}% | |
\let\:OOmanifest=\:UnDef | |
% | |
\ht:special{t4ht>\jobname-meta.4ot}% | |
\ht:special{t4ht=<?xml version="1.0" encoding="UTF-8"?>\Hnewline | |
}% | |
\ht:special{t4ht=<office:document-meta \Hnewline | |
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"\Hnewline | |
xmlns:xlink="http://www.w3.org/1999/xlink"\Hnewline | |
xmlns:dc="http://purl.org/dc/elements/1.1/"\Hnewline | |
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"\Hnewline | |
xmlns:ooo="http://openoffice.org/2004/office"\Hnewline | |
office:version="1.0">\Hnewline | |
<office:meta>\Hnewline | |
}% | |
\ht:special{t4ht=\a:META}% | |
\ht:special{t4ht=</office:meta></office:document-meta>\Hnewline | |
}% | |
\ht:special{t4ht*>}% | |
\ht:special{t4ht<\jobname-meta.4ot}% | |
% | |
} | |
\Configure{@/BODY} | |
{\relax | |
\ifnum \FileNumber=1 | |
\OOstyles{% | |
\oo:style | |
</office:styles>\Hnewline | |
<office:automatic-styles> | |
<style:page-layout style:name="Standard-page-layout"> | |
<style:page-layout-properties | |
fo:page-width="\the\paperwidth" | |
fo:page-height="\the\paperheight" | |
fo:margin-left="1.0in" | |
fo:margin-right="1.0in" | |
style:print-orientation="portrait" | |
> | |
</style:page-layout-properties> | |
</style:page-layout> | |
\Hnewline | |
</office:automatic-styles> | |
<office:master-styles>\Hnewline | |
<style:master-page | |
style:name="Standard" | |
style:page-layout-name="Standard-page-layout"/>\Hnewline | |
\Hnewline | |
</office:master-styles>\Hnewline | |
</office:document-styles>\Hnewline | |
}% | |
% | |
\OOmanifest{</manifest:manifest>\Hnewline}% | |
% | |
\ht:special{t4ht>\jobname .4od}% | |
\ht:special{t4ht*>}% | |
\ht:special{t4ht<\jobname .4od}% | |
% | |
\fi | |
} | |
\def\text:footnote{text:note} | |
\:CheckOption{endnotes}\if:Option | |
\def\text:note:class{text:note-class="endnote" } | |
\else | |
\def\text:note:class{text:note-class="footnote" } | |
\Log:Note{for end notes instead of footnotes, | |
use the command line option `endnotes'} | |
\fi | |
\def\index:entry:chapter{text:index-entry-chapter} | |
\Configure{HEAD}{}{} | |
\def\svg:width{0.0pt}\def\svg:height{0.0pt} | |
\def\def:image:mime:type#1#2{\@namedef{image:mime#1}{#2}} | |
\def\get:image:mime:type#1{\@nameuse{image:mime#1}} | |
\def:image:mime:type{.png}{image/png} | |
\def:image:mime:type{.jpg}{image/jpeg} | |
\def:image:mime:type{.jpeg}{image/jpeg} | |
\def:image:mime:type{.gif}{image/gif} | |
\def:image:mime:type{.svg}{image/svg+xml} | |
\def\svg:width{0.0pt}\def\svg:height{0.0pt} | |
\Configure{IMG} | |
{% \ht:special{t4ht>\PictureFile.4og}% | |
\ht:special{t4ht>\Gin@base\Gin@ext.4og}% | |
\ht:special{t4ht*>}% | |
% \ht:special{t4ht<\PictureFile.4og}% | |
\ht:special{t4ht<\Gin@base\Gin@ext.4og}% | |
\OOmanifest{<manifest:file-entry | |
manifest:full-path="Pictures/\PictureFile" manifest:media-type="\get:image:mime:type\Gin@ext"/>\Hnewline | |
}% | |
% | |
\ht:special{t4ht=<draw:frame | |
draw:name="\PictureFile" | |
text:anchor-type="as-char" % "paragraph" | |
% svg:width="...pt" | |
% svg:height="...pt" | |
% \ifx\noBoundingBox\UnDefined | |
\string svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
% \fi | |
draw:z-index="0" | |
>% | |
<draw:image\Hnewline | |
xlink:href="Pictures/}} | |
{\ht:special{t4ht=" \Hnewline | |
xlink:type="simple" | |
xlink:show="embed" | |
xlink:actuate="onLoad" | |
/><!--draw:name="}} | |
{" } | |
{\ht:special{t4ht=" }} | |
{\ht:special{t4ht=--></draw:frame>}} | |
\Configure{PictureAlt*+[]} | |
{\ht:special{t4ht>\jobname .tmp}} | |
{\ht:special{t4ht<\jobname .tmp}} | |
\Configure{PictureAlt*+} | |
{\let\sv:HtmlPar=\HtmlPar \let\HtmlPar=\empty | |
\def\PsCode##1{{\ht:special{\PsCodeSpecial##1}}}% | |
% | |
\iffalse{\fi | |
\let\sv:halign=\halign | |
\let\sv:cr=\cr | |
\let\sv:crcr=\crcr | |
\iffalse}\fi | |
\RecallTeXcr \let\halign =\TeXhalign | |
% | |
\NoFonts\csname PauseMathClass\endcsname \SUBOff \SUPOff | |
\let\HCode=\:gobble | |
\let\EndPicture=\empty | |
\ht:special{t4ht>\jobname 1.tmp}% | |
} | |
{\ht:special{t4ht<\jobname 1.tmp}% | |
\let\HCode=\:HCode | |
\let\EndPicture=\:UnDef \let\HtmlPar=\sv:HtmlPar \SUBOn \SUPOn | |
\csname EndPauseMathClass\endcsname \EndNoFonts | |
\iffalse{\fi | |
\let\halign=\sv:halign | |
\let\cr=\sv:cr | |
\let\crcr=\sv:crcr | |
\iffalse}\fi | |
% | |
\let\PsCode=\relax | |
} | |
\:CheckOption{.gif} \if:Option | |
\Configure{Picture}{.gif} | |
\fi | |
\:CheckOption{.wmf} \if:Option | |
\Configure{Picture}{.wmf} | |
\fi | |
\:CheckOption{.svg} \if:Option | |
\Configure{Picture}{.svg} | |
\fi | |
\:CheckOption{info}\if:Option | |
\Log:Note{to request a format for dvi pictures, | |
use the desired command line option from: | |
`.gif', `.svg', `.wmf'} | |
\fi | |
\Configure{CutAtTITLE+}{} | |
\Configure{HPageTITLE+}{} | |
\Configure{TITLE}{}{} | |
\Configure{TITLE+}{}{} | |
\Configure{TocAt}{}{} | |
\Configure{TocAt*}{}{} | |
\:CheckOption{TocLink}\if:Option | |
\Configure{TocLink}{\Link{#2}{#3}#4\ifvmode\IgnorePar\fi\EndLink} | |
\else | |
\Log:Note{to request links from the tables of contents, | |
use the command line option from `TocLink'} | |
\Configure{TocLink}{\Link{#2}{#3}\EndLink#4\ifvmode\IgnorePar\fi} | |
\fi | |
\Configure{toTocLink}{\Link}{\EndLink} | |
\Configure{halignTD} {}{} | |
{<}{L} %{\HCode{align-left nowrap}} | |
{-}{C} %{\HCode{align-center nowrap}} | |
{>}{R} %{\HCode{align-right nowrap}} | |
{^}{T} %{\HCode{valign-top nowrap}} | |
{=}{N} %{\HCode{valign-baseline nowrap}} | |
{|}{M} %{\HCode{valign-middle nowrap}} | |
{_}{B} %{\HCode{valign-bottom nowrap}} | |
{p}{} | |
{m}{m} %{\HCode{valign-middle align-left}} | |
{b}{n} %{\HCode{valign-baseline align-left}} | |
{} | |
\Configure{htf}{0}{+}{<text:span\Hnewline | |
text:style-name="}{\%s}{-\%s}{x-x-\%d}{}{">}{</text:span>} | |
\Configure{htf}{4}{+}{<text:span\Hnewline | |
text:style-name="}{}{}{}{}{small-caps">}{</text:span>} | |
\NewConfigureOO{small-caps} | |
\ConfigureOO{small-caps}{% | |
<style:style style:name="small-caps" style:family="text">\Hnewline | |
<style:text-properties | |
fo:font-variant="small-caps" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\def\mml:class#1"#2"{ } | |
\expandafter\ifx \csname if@rl\endcsname\relax | |
\expandafter \csname newif\expandafter\endcsname \csname if@rl\endcsname | |
\@rlfalse | |
\fi | |
\HTML:PAR{\ifHCond Like-\fi Text-body\if@rl-rtl\fi | |
}% | |
{\ifdim \parindent=\z@ Text-body\else | |
First-line-indent\fi \if@rl-rtl\fi | |
} | |
\NewConfigureOO{p-indent} | |
\ConfigureOO{p-indent}{% | |
<style:style style:name="First-line-indent" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="false"/> | |
</style:style>\Hnewline <style:style style:name="First-line-indent-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{p-noindent} | |
\ConfigureOO{p-noindent}{% | |
<style:style style:name="Text-body" | |
style:family="paragraph" | |
style:parent-style-name="Standard" | |
style:next-style-name="First-line-indent" | |
style:class="text" | |
style:master-page-name="">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:line-height="120\%" | |
fo:text-align="justify" | |
style:justify-single-word="false" | |
fo:hyphenate="true" | |
fo:hyphenation-remain-char-count="2" | |
fo:hyphenation-push-char-count="2" | |
fo:hyphenation-ladder-count="no-limit" | |
style:page-number="0"/> | |
</style:style> | |
\Hnewline | |
<style:style style:name="Like-Text-body" | |
style:family="paragraph" | |
style:parent-style-name="Standard" | |
style:next-style-name="First-line-indent" | |
style:class="text" | |
style:master-page-name="">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:line-height="120\%" | |
fo:text-align="justify" | |
style:justify-single-word="false" | |
fo:hyphenate="true" | |
fo:hyphenation-remain-char-count="2" | |
fo:hyphenation-push-char-count="2" | |
fo:hyphenation-ladder-count="no-limit" | |
style:page-number="0"/> | |
</style:style> | |
\Hnewline <style:style style:name="Text-body-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard" | |
style:next-style-name="First-line-indent" | |
style:class="text" | |
style:master-page-name="">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:line-height="120\%" | |
style:justify-single-word="false" | |
fo:hyphenate="true" | |
fo:hyphenation-remain-char-count="2" | |
fo:hyphenation-push-char-count="2" | |
fo:hyphenation-ladder-count="no-limit" | |
style:page-number="0" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
<style:style style:name="Like-Text-body-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard" | |
style:next-style-name="First-line-indent" | |
style:class="text" | |
style:master-page-name="">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:line-height="120\%" | |
style:justify-single-word="false" | |
fo:hyphenate="true" | |
fo:hyphenation-remain-char-count="2" | |
fo:hyphenation-push-char-count="2" | |
fo:hyphenation-ladder-count="no-limit" | |
style:page-number="0" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigureOO{p-nopar} | |
\ConfigureOO{p-nopar} | |
{<style:style style:name="p-nopar" | |
style:family="paragraph" | |
style:parent-style-name="Text-body">\Hnewline | |
<style:paragraph-properties | |
fo:text-align="justify" | |
style:auto-text-indent="false" | |
fo:margin-top="0.3cm" | |
fo:margin-bottom="0.3cm" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="p-nopar-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body">\Hnewline | |
<style:paragraph-properties | |
style:auto-text-indent="false" | |
fo:margin-top="0.3cm" | |
fo:margin-bottom="0.3cm" | |
style:justify-single-word="false" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\OOstyles{% | |
<style:style style:name="bigskip" style:family="paragraph" | |
style:parent-style-name="Text-body"> | |
<style:paragraph-properties | |
fo:margin-top="0.2cm" | |
fo:margin-bottom="0.0cm" | |
/> | |
</style:style> | |
} | |
\OOstyles{% | |
<style:style style:name="clearpage" style:family="paragraph" | |
style:parent-style-name="Text-body"> | |
<style:paragraph-properties fo:break-before="page" /> | |
</style:style> | |
} | |
\def\Hclearpage{% | |
\par \ifvmode | |
\IgnorePar\EndP | |
\HCode{<text:p text:style-name="clearpage"></text:p>% | |
}% | |
\ShowPar\par | |
\fi | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{latex} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\expandafter\let\csname tex4ht:4ht\endcsname\empty | |
\def\no:dupl#1#2{% | |
\expandafter\ifx \csname #1:4ht\endcsname\relax | |
\expandafter\let \csname #1:4ht\endcsname\empty | |
\expand:after{#2}% | |
\fi | |
} | |
\Hinclude{\input #1.4ht}{fontmath} | |
\Hinclude{\@ifpackageloaded{colortbl}{% | |
\no:dupl{array}{\input array.4ht}% | |
\no:dupl{color}{\input color.4ht}% | |
\no:dupl{colortbl}{\input colortbl.4ht}% | |
}{}}{colortbl} | |
\def\h:input#1.#2.#3!*?: {% | |
\:CheckOption{no_#1}\if:Option | |
\let\:temp\empty | |
\else | |
\let\:temp\empty | |
\no:dupl{#1}{% | |
\openin15 #1.4ht | |
\ifeof15 | |
\:CheckOption{debug}\if:Option | |
\:warning{No configuration file for | |
#1.\if .#2.tex\else #2\fi}% | |
\fi | |
\let\:temp\empty | |
\else | |
\def\:temp{\input #1.4ht }% | |
\fi \closein15 | |
}% | |
\fi \:temp} | |
\edef\:temp{\noexpand\Hinclude | |
{\noexpand\h:input ##1..!*?: }{\@filelist}} | |
\:temp | |
\expandafter\let\csname tex4ht:4ht\endcsname\empty | |
\def\no:dupl#1#2{% | |
\expandafter\ifx \csname #1:4ht\endcsname\relax | |
\expandafter\let \csname #1:4ht\endcsname\empty | |
\expand:after{#2}% | |
\fi | |
} | |
\Hinclude{\ifx \PsfigVersion\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi} | |
{psfig} | |
\Hinclude{\:CheckOption{#1} | |
\if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{pictex} | |
\Hinclude{% | |
\expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{pstricks} | |
\Hinclude{% | |
\ifx \:DraCatCodes\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{dratex} | |
\Hinclude{% | |
\ifx \xyloaded\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{xy} | |
\Hinclude{% | |
\ifx \epsfsetgraph\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{epsf} | |
\Hinclude{% | |
\ifx \diagram@help@messages\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{diagrams} | |
\Hinclude{% | |
\ifx \figvisu\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{fig4tex} | |
\Hinclude{} | |
{pctable} | |
\Hinclude{% | |
\:CheckOption{xhtml}\if:Option \fi} | |
{xhtml} | |
\Hinclude{\:CheckOption{#1} | |
\if:Option\else \:CheckOption{ShowFont}\fi | |
\if:Option\else \:CheckOption{frames-}\fi | |
\if:Option\else \:CheckOption{frames}\fi | |
\if:Option\else \:CheckOption{image-maps}\fi | |
\if:Option\else \:CheckOption{java}\fi | |
\if:Option\else \:CheckOption{javascript}\fi | |
\if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{th4} | |
\Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else | |
\no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi} | |
{hebtex} | |
\ConfigureList{itemize}% | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<\text:unorderedlist | |
text:style-name="Itemize\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-itemize\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-itemize\if@rl-rtl\fi | |
" | |
>}} | |
{\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:unorderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\NewConfigureOO{itemize} | |
\ConfigureOO{itemize} | |
{<style:style style:name="Inside-itemize" | |
style:family="paragraph" | |
style:parent-style-name="Standard" | |
style:list-style-name="Itemize">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="0in" | |
fo:margin-right="0in" | |
fo:margin-top="0in" | |
fo:margin-bottom="0.15in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
% | |
<text:list-style style:name="Itemize" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x2022;" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.15in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="-" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.35in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x204E;" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.55in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x00B7;" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.75in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
% | |
} | |
\NewConfigureOO{enumerate} | |
\:CheckOption{enumerate+} \if:Option | |
\ConfigureList{enumerate}% | |
{\EndP\HCode{<\text:orderedlist | |
text:style-name="Enumerate\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-enumerate\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
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 | |
</\text:orderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item \let\sv:DeleteMark\DeleteMark | |
\let\DeleteMark\DeleteMark: \DeleteMark} | |
{\HCode{<text:list-item>}% | |
\par\ShowPar | |
\HCode{<text:span | |
text:style-name="enum-label">}\AnchorLabel | |
\box\tmp:bx | |
\let\DeleteMark\sv:DeleteMark | |
\HCode{</text:span><text:s/>}% | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\def\DeleteMark:#1\@labels{\hfill\break | |
\setbox\tmp:bx\vbox{\box\@labels}} | |
\ConfigureOO{enumerate}% | |
{<style:style style:name="Inside-enumerate" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:list-style-name="Enumerate">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="0in" | |
fo:margin-right="0in" | |
fo:margin-top="0in" | |
fo:margin-bottom="0.15in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
% | |
<text:list-style style:name="Enumerate">\Hnewline | |
<text:list-level-style-number | |
text:level="1" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.15in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="2" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.35in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="3" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.6in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="4" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.8in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
</text:list-style>\Hnewline | |
} | |
\else | |
\ConfigureList{enumerate}% | |
{\EndP\HCode{<\text:orderedlist | |
text:style-name="Enumerate\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-enumerate\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
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 | |
</\text:orderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\ConfigureOO{enumerate}% | |
{<style:style style:name="Inside-enumerate" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:list-style-name="Enumerate">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="0in" | |
fo:margin-right="0in" | |
fo:margin-top="0in" | |
fo:margin-bottom="0.15in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
% | |
<text:list-style style:name="Enumerate">\Hnewline | |
<text:list-level-style-number | |
text:level="1" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:1\endcsname" | |
style:num-suffix="\csname c:enumerate:1\endcsname" | |
style:num-format="\csname a:enumerate:1\endcsname" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.15in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="2" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:2\endcsname" | |
style:num-suffix="\csname c:enumerate:2\endcsname" | |
style:num-format="\csname a:enumerate:2\endcsname" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.35in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="3" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:3\endcsname" | |
style:num-suffix="\csname c:enumerate:3\endcsname" | |
style:num-format="\csname a:enumerate:3\endcsname" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.6in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="4" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:4\endcsname" | |
style:num-suffix="\csname c:enumerate:4\endcsname" | |
style:num-format="\csname a:enumerate:4\endcsname" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.8in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
</text:list-style>\Hnewline | |
% | |
<style:style style:name="Inside-enumerate-rtl" | |
style:family="paragraph" | |
style:list-style-name="Enumerate-rtl">\Hnewline | |
<style:paragraph-properties | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb"/>\Hnewline | |
</style:style>\Hnewline | |
% | |
<text:list-style style:name="Enumerate-rtl">\Hnewline | |
<text:list-level-style-number | |
text:level="1" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:1\endcsname" | |
style:num-suffix="\csname c:enumerate:1\endcsname" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.15in" | |
style:num-format="\csname a:enumerate:1\endcsname" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="2" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:2\endcsname" | |
style:num-suffix="\csname c:enumerate:2\endcsname">\Hnewline | |
<style:list-level-properties | |
text:space-before="0.35in" | |
style:num-format="\csname a:enumerate:2\endcsname" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="3" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:3\endcsname" | |
style:num-suffix="\csname c:enumerate:3\endcsname">\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
style:num-format="\csname a:enumerate:3\endcsname" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="4" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="\csname b:enumerate:4\endcsname" | |
style:num-suffix="\csname c:enumerate:4\endcsname">\Hnewline | |
<style:list-level-properties | |
text:space-before="0.8in" | |
style:num-format="\csname a:enumerate:4\endcsname" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
</text:list-style>\Hnewline | |
} | |
\Log:Note{for enumerated list elements with valued data, | |
use the command line option `enumerate+'} | |
\fi | |
\NewConfigure{enumerate:1}{3} | |
\NewConfigure{enumerate:2}{3} | |
\NewConfigure{enumerate:3}{3} | |
\NewConfigure{enumerate:4}{3} | |
\Configure{enumerate:1}{1}{}{.} | |
\Configure{enumerate:2}{a}{(}{)} | |
\Configure{enumerate:3}{i}{}{.} | |
\Configure{enumerate:4}{A}{}{.} | |
\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{dd\if@rl-rtl\fi | |
}{dd\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>% | |
<text:h text:style-name="dt\if@rl-rtl\fi | |
"\Hnewline >% | |
}% | |
} | |
{\EndP | |
\HCode{</text:h>}% | |
\HCode{<!--dd\Hnewline class="description"-->}% | |
\par | |
} | |
\NewConfigureOO{description} | |
\ConfigureOO{description}{<text:list-style style:name="description" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.2in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.4in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
<style:style | |
style:name="dd" | |
style:family="paragraph" | |
style:parent-style-name="Standard"> | |
<style:paragraph-properties | |
fo:margin-left="0.35in" | |
fo:margin-right="0in" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
<style:style | |
style:name="dt" | |
style:family="paragraph" | |
style:parent-style-name=""> | |
<style:paragraph-properties | |
fo:margin-left="0.1in" | |
fo:margin-right="0in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
<style:text-properties | |
fo:font-weight="bold" | |
/> | |
</style:style> | |
} | |
\let\end:itm=\empty | |
\ConfigureList{list}% | |
{\EndP\HCode{<text:list | |
text:style-name="list\if@rl-rtl\fi | |
" | |
text:name="list"\Hnewline>}% | |
\PushMacro\end:itm | |
\global\let\end:itm=\empty | |
\SaveHtmlPar \HTML:PAR{dd}{dd}% | |
} | |
{\PopMacro\end:itm \global\let\end:itm \end:itm | |
\EndP | |
\RecallHtmlPar | |
\HCode{</text:list-item></text:list>}\ShowPar} | |
{\end:itm \global\def\end:itm{\EndP\HCode{</text:list-item>}}% | |
\HCode{<text:list-item><text:h | |
text:style-name="dt\if@rl-rtl\fi | |
"\Hnewline >}\bgroup \bf} | |
{\egroup\HCode{</text:h>}\par\ShowPar} | |
\NewConfigureOO{list} | |
\ConfigureOO{list}{<text:list-style style:name="list" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.2in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.4in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
<style:style | |
style:name="dd" | |
style:family="paragraph" | |
style:parent-style-name="Standard"> | |
<style:paragraph-properties | |
fo:margin-left="0.35in" | |
fo:margin-right="0in" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
<style:style | |
style:name="dt" | |
style:family="paragraph" | |
style:parent-style-name=""> | |
<style:paragraph-properties | |
fo:margin-left="0.1in" | |
fo:margin-right="0in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
<style:text-properties | |
fo:font-weight="bold" | |
/> | |
</style:style> | |
} | |
\Configure{cite} | |
{\HCode{<text:bibliography-mark | |
text:bibliography-type="custom1">}} | |
{\HCode{</text:bibliography-mark>}} | |
{\Link} {\EndLink} | |
\let\lat:cite\@cite | |
\def\@cite#1#2{{#1\if@tempswa , #2\fi}} | |
\NewConfigureOO{printshorthands} | |
\ConfigureOO{printshorthands}{<text:list-style style:name="printshorthands" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
<style:style | |
style:name="printshorthands-dd" | |
style:family="paragraph" | |
style:parent-style-name="Standard"> | |
<style:paragraph-properties | |
fo:margin-left="0.35in" | |
fo:margin-right="0in" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
<style:style | |
style:name="printshorthands-dt" | |
style:family="paragraph" | |
style:parent-style-name=""> | |
<style:paragraph-properties | |
fo:margin-left="0.1in" | |
fo:margin-right="0in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
} | |
\NewConfigureOO{printthebibliography} | |
\ConfigureOO{printthebibliography}{<text:list-style style:name="printthebibliography" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
<style:style | |
style:name="printthebibliography-dd" | |
style:family="paragraph" | |
style:parent-style-name="Standard"> | |
<style:paragraph-properties | |
fo:margin-left="0.35in" | |
fo:margin-right="0in" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="-0.35in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
<style:style | |
style:name="printthebibliography-dt" | |
style:family="paragraph" | |
style:parent-style-name=""> | |
<style:paragraph-properties | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
} | |
\NewConfigureOO{quote} | |
\ConfigureOO{quote}{\Hnewline | |
<style:style style:name="quote" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline <style:style style:name="quote-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style> | |
\Hnewline | |
} | |
\HAssign\BegEnd:N=0 | |
\HAssign\BegEnd:D=0 | |
\NewConfigureOO{begin-end-env} | |
\ConfigureOO{begin-end-env}{\Hnewline | |
<style:style style:name="begin-env-p" style:family="paragraph">\Hnewline | |
<style:paragraph-properties fo:margin-top="2mm" | |
fo:margin-bottom="0mm" | |
fo:line-height="0.1mm" />\Hnewline | |
</style:style>\Hnewline | |
<style:style style:name="end-env-p" style:family="paragraph">\Hnewline | |
<style:paragraph-properties fo:margin-bottom="2mm" | |
fo:margin-top="0mm" | |
fo:line-height="0.1mm" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{env-frame} | |
\ConfigureOO{env-frame}{\Hnewline | |
<style:style | |
style:name="env-frame" | |
style:family="graphic" | |
>\Hnewline | |
<style:graphic-properties | |
style:vertical-pos="top" | |
style:vertical-rel="baseline" | |
style:horizontal-pos="from-left" | |
style:horizontal-rel="paragraph-content" | |
fo:padding="0in" | |
fo:border="none" | |
style:shadow="none" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{NoSection} | |
{\let\sv:index\index \let\sv:label\label | |
\let\sv:newline\newline \def\newline{ }% | |
\let\sv:setfontsize\@setfontsize \let\@setfontsize\:gobbleIII | |
\let\index\@gobble \let\label\@gobble | |
\let\sva:rEfLiNK\a:rEfLiNK | |
\let\svb:rEfLiNK\b:rEfLiNK | |
\let\svc:rEfLiNK\c:rEfLiNK | |
\expandafter\let\expandafter\svC:rEfLiNK\c:rEfLiNK | |
\Configure{ref}{}{}{}% \let\sv:ref\ref \let\ref\@gobble | |
} | |
{\let\index\sv:index \let\label\sv:label | |
\let\a:rEfLiNK\sva:rEfLiNK | |
\let\b:rEfLiNK\svb:rEfLiNK | |
\let\c:rEfLiNK\svc:rEfLiNK | |
\expandafter\let\c:rEfLiNK\svC:rEfLiNK % \let\ref\sv:ref | |
\let\newline\sv:newline \let\@setfontsize\sv:setfontsize | |
} | |
\Configure{InsertTitle}{\let\label\lb:l | |
\let\ref\o:ref \Configure{ref}{}{}{}} | |
\Configure{AfterTitle}{\let\index\:index | |
\let\ref\:ref \let\label\lb:l } | |
\Configure{tableofcontents} | |
{\IgnorePar\EndP\HCode{<text:table-of-content | |
text:name="toc" | |
text:style-name="Sect1" | |
text:protected="true" >\Hnewline | |
<text:table-of-content-source | |
text:outline-level="6" >\Hnewline | |
<text:index-title-template | |
text:style-name="Contents-Heading" >\contentsname | |
</text:index-title-template>\Hnewline | |
<text:table-of-content-entry-template | |
text:outline-level="1" | |
text:style-name="Contents-1" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="." />\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="2" | |
text:style-name="Contents-2" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="3" | |
text:style-name="Contents-3" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="4" | |
text:style-name="Contents-4" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="5" | |
text:style-name="Contents-5" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="6" | |
text:style-name="Contents-6" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="7" | |
text:style-name="Contents-7" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="8" | |
text:style-name="Contents-8" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="9" | |
text:style-name="Contents-9" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
<text:table-of-content-entry-template | |
text:outline-level="10" | |
text:style-name="Contents-10" >\Hnewline | |
<\index:entry:chapter />\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:table-of-content-entry-template>\Hnewline | |
% | |
% | |
</text:table-of-content-source>\Hnewline | |
<text:index-body>\Hnewline | |
\ifx\contentsname\empty \else | |
\ifx\contentsname\:UnDef \else | |
<text:index-title text:style-name="Sect2" text:name="contents" | |
> | |
<text:p text:style-name="Contents-Heading" | |
>\contentsname</text:p> | |
</text:index-title> | |
\fi \fi | |
}\IgnorePar} | |
{} | |
{\IgnorePar\EndP\HCode{ </text:index-body>\Hnewline | |
</text:table-of-content>% | |
\Hnewline | |
}\ShowPar} | |
{\HCode{\Hnewline}} {} | |
\NewConfigureOO{Sect1} | |
\ConfigureOO{Sect1}{\Hnewline | |
<style:style style:name="Sect1" | |
style:family="section"> | |
<\style:sectionproperties> | |
<style:columns fo:column-count="1" | |
fo:column-gap="0cm"> | |
<style:column fo:margin-top="0.5cm" | |
fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
/> | |
</style:columns> | |
</\style:sectionproperties> | |
</style:style> | |
\Hnewline } | |
\NewConfigureOO{Sect2} | |
\ConfigureOO{Sect2}{\Hnewline | |
<style:style style:name="Sect2" | |
style:family="section"> | |
<\style:sectionproperties> | |
<style:columns fo:column-count="0" fo:column-gap="0cm"/> | |
</\style:sectionproperties> | |
</style:style> | |
\Hnewline } | |
\NewConfigureOO{Contents Heading} | |
\ConfigureOO{Contents Heading}{\Hnewline | |
<style:style style:name="Contents-Heading" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:class="index"> | |
<style:paragraph-properties | |
fo:margin-top="0.5cm" | |
fo:margin-bottom="0.2cm" | |
fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:font-size="16pt" | |
fo:font-weight="bold" | |
style:font-size-asian="16pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="16pt" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
text:number-lines="false" | |
text:line-number="0" | |
/> | |
</style:style> | |
\Hnewline } | |
\ConfigureEnv{tabular} | |
{\Configure{noalign}% | |
{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}} | |
{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}% | |
% | |
\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi | |
\EndP | |
\PushStack\Col:Bars\:AllColBars | |
\PushStack\Col:Marg\AllColMargins | |
% | |
\ifnum \BegEnd:D>0 | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}} | |
% | |
} | |
{\egroup | |
\gHAdvance\BegEnd:D by -1 | |
\ifnum \BegEnd:D>0 | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\PopStack\Col:Bars\:AllColBars | |
\PopStack\Col:Marg\AllColMargins | |
\ShowPar | |
\Configure{noalign}{}{}% | |
% | |
\ShowPar | |
% | |
}{}{} | |
\Configure{tabular} | |
{\ifvmode \IgnorePar\fi \EndP \halignTB{tabular}% | |
\putVBorder | |
% | |
} | |
{\HCode{</table:table>}} | |
{\ifTag{vis-\TableNo-\HRow}% | |
{\special{t4ht@[}\gdef\end:box{\special{t4ht@]}}}% | |
{\global\let\end:box\empty}% | |
% | |
\HCode{<table:table-row \Hnewline | |
\ifTag{vis-\TableNo-\HRow}{table:visibility="collapse" }{} | |
% | |
table:style-name="TBL-\TableNo-\HRow-}% | |
\halignTR | |
\HCode{">}} | |
{\HCode{</table:table-row>}\end:box | |
% | |
} | |
{\HCode{<table:table-cell \Hnewline}% | |
\ifnum \HMultispan>1 | |
\HCode{table:number-columns-spanned="\HMultispan"\Hnewline}% | |
\bgroup | |
\def\:temp{\ifnum \HMultispan>1 | |
\HAdvance\HMultispan by -1 | |
\HCode{<table:covered-table-cell/>}% | |
\expandafter\:temp | |
\fi}% | |
\egroup | |
\fi | |
% | |
\HCode{ table:style-name="TBL-\TableNo-\HRow-\HCol">}% | |
\edef\Aligh:Wrap{\halignTD}% | |
\if !\Aligh:Wrap!\let\not:Pcell=\:gobble | |
\else \let\not:Pcell\empty \fi | |
\not:Pcell{\HCode{<text:p | |
\Hnewline text:style-name="}\cell:sty | |
\HCode{" | |
>}}% | |
\par \ShowPar | |
% | |
\PushStack\Table:Stck\TableNo | |
} | |
{\IgnorePar \EndP | |
\PopStack\Table:Stck\TableNo | |
% | |
\csname not:Pcell\endcsname{\HCode{</text:p>}}% | |
\HCode{</table:table-cell>}} | |
\Configure{endtabular} {\Tag{vis-\TableNo-\HRow}{}} | |
\def\:MT{\ifmathml \a:mathml m\else table:\fi} | |
\Configure{halignTB} | |
{\HCode{<\:MT table }} | |
{\HCode{>}} | |
\Configure{halignTB<>}{tabular}{\HCode{\Hnewline | |
table:style-name="tabular" | |
}<>\HAlign} | |
\HAssign\Next:TableNo=0 | |
\global\let\TableNo=\Next:TableNo | |
\Configure{halignTR} | |
{} | |
\Configure{halignTBL} | |
% {t}{\HCode{valign-top}} | |
% {b}{\HCode{valign-baseline}} | |
% {c}{\HCode{valign-middle}} | |
{} | |
\def\cell:sty{\NoFonts | |
\ColMargins | |
% | |
\ifx \:AllColBars\empty | |
\let\LR:VBars=\empty | |
\else | |
\edef\LR:VBars{\Col:VBars}% | |
\fi | |
% | |
\edef\Aligh:Wrap{\halignTD}% | |
% | |
sty-\LR:VBars\Left:Marg\Right:Marg\Aligh:Wrap | |
% | |
\xdef\cell:style:name{sty-\LR:VBars\Left:Marg\Right:Marg\Aligh:Wrap | |
}% | |
\expandafter\ifx \csname\cell:style:name\endcsname \relax | |
\global\expandafter\let\csname\cell:style:name\endcsname=\def | |
\OOstyles{% | |
<style:style | |
style:name="\cell:style:name" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
}% | |
\OOstyles{% | |
fo:padding-left="0\ifnum \Left:Marg >0 .17\fi cm" | |
fo:padding-right="0\ifnum \Right:Marg>0 .17\fi cm" | |
}% | |
% | |
\def\:temp{L}\ifx \Aligh:Wrap\:temp | |
\OOstyles{% | |
fo:wrap-option="no-wrap" | |
fo:text-align="start" | |
}% | |
\fi | |
\def\:temp{C}\ifx \Aligh:Wrap\:temp | |
\OOstyles{% | |
fo:wrap-option="no-wrap" | |
fo:text-align="center" | |
}% | |
\fi | |
\def\:temp{R}\ifx \Aligh:Wrap\:temp | |
\OOstyles{% | |
fo:wrap-option="no-wrap" | |
fo:text-align="end" | |
}% | |
\fi | |
\ifx \Aligh:Wrap\empty | |
\OOstyles{% | |
fo:text-align="start" | |
}% | |
\fi | |
% | |
\cell:vbars | |
% | |
\OOstyles{% | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
}% | |
\fi | |
% | |
\EndNoFonts} | |
\let\remove:eog=\relax | |
\def\putVBorder{\expandafter\put:VBorder\:VBorder<</>>!*?: } | |
\def\put:VBorder#1<</#2>>#3!*?: {% | |
\def\:temp{#2}\ifx\:temp\empty | |
\def\remove:eog<</##1>>{}% | |
\HCode{\:VBorder}% | |
\let\remove:eog=\relax | |
\def\:temp{#1}\ifx\:temp\empty | |
\else\HCode{<!--/table:table-column-group-->}\fi | |
% | |
\else \def\:temp{\put:VBorder#3!*?: }\expandafter\:temp\fi | |
} | |
\NewConfigure{table-column-style}{1} | |
\Configure{table-column-style} | |
{table:style-name="TBL-\TableNo -\ar:cnt"} | |
\def\cell:vbars{% | |
\def\:tempa##1##2{% | |
\tmp:cnt=0 | |
\def\:temp####1{% | |
\if ####1##1\advance\tmp:cnt by 1 \fi | |
\if ####1.\else \expandafter\:temp \fi | |
}% | |
\expandafter\:temp\LR:VBars.% | |
\ifnum \tmp:cnt>0 | |
\OOstyles{ fo:border-##2="0.0\the\tmp:cnt | |
cm solid \#000000" }% | |
\fi | |
}% | |
\:tempa L{left}% | |
\:tempa R{right}% | |
} | |
\def\Col:VBars{\expandafter\get:vbar\:AllColBars,,} | |
\def\get:vbar#1,{\if :#1:\else | |
\ifnum #1=0 \ifnum \HCol=1 L\fi | |
\else \ifnum \HCol=#1R\fi \fi | |
\expandafter\get:vbar \fi} | |
\def\ColMargins{\tmp:cnt=\HCol\relax | |
\expandafter\nosp:hbr\AllColMargins 1//} | |
\def\nosp:hbr#11#2//{\ifnum \tmp:cnt>1 \advance\tmp:cnt by -1 | |
\nosp:hbr#2//\else\nosp:gt#11#2//\fi} | |
\def\nosp:gt#11#21#3//{% | |
\def\Left:Marg{#1}\def\Right:Marg{#2}% | |
\edef\Left:Marg{\ifx \Left:Marg\empty 1\else 0\fi}% | |
\edef\Right:Marg{\ifx \Right:Marg\empty 1\else 0\fi}} | |
\Configure{@{}}{} | |
\Configure{hline}{\ifx \ar:cnt\:UnDef | |
\else\o:noalign:{\append:def\hline:s{\a:HBorder}% | |
\def\:tempb{\ifnum \tmp:cnt<\ar:cnt | |
\advance\tmp:cnt by 1 \append:def\hline:s{\b:HBorder}% | |
\expandafter\:tempb | |
\fi }% | |
\tmp:cnt=0 \:tempb | |
\append:def\hline:s{\c:HBorder}\global\let\hline:s=\hline:s | |
}% | |
\expandafter\ignoreEndTr | |
\fi} | |
\Configure{//[]}{\ifx \ar:cnt\:UnDef | |
\else\o:noalign:{\append:def\vspc:s{\h:HBorder}% | |
\def\:tempb{\ifnum \tmp:cnt<\ar:cnt | |
\advance\tmp:cnt by 1 \append:def\vspc:s{\i:HBorder}% | |
\expandafter\:tempb | |
\fi } | |
\tmp:cnt=0 \:tempb | |
\append:def\vspc:s{\j:HBorder}\global\let\vspc:s=\vspc:s | |
}\fi} | |
\def\ignore:EndTr{\o:noalign:{\global\futurelet\:AfterHline}} | |
\long\def\ifProperTr#1{% | |
\ifx \:AfterHline\end | |
#1\global\let\:AfterHline\endinput | |
\else \ifx \:AfterHline\endinput \else #1\fi\fi} | |
\def\ProperTrTrue{\global\let\:AfterHline=\relax} | |
\Configure{putHBorder}{\HCode{\HBorder}} | |
\Configure{HBorder} | |
{<table:table-row \Hnewline table:style-name="hline-row">% | |
} | |
{<table:table-cell table:style-name="hline-cell" | |
table:value-type="string">% | |
<text:p text:style-name="hline-p-hr" />% | |
</table:table-cell>\Hnewline | |
} | |
{</table:table-row>\Hnewline | |
} | |
{<table:table-row \Hnewline table:style-name="cline-row">\Hnewline | |
} | |
{<table:table-cell table:style-name="cline-cell">% | |
<text:p text:style-name="cline-p" />% | |
</table:table-cell>\Hnewline | |
} | |
{<table:table-cell table:style-name="cline-cell">% | |
<text:p text:style-name="cline-p-hr" />% | |
</table:table-cell>\Hnewline | |
} | |
{</table:table-row>\Hnewline | |
} | |
{<tr\Hnewline class="vspace" style="font-size:\HBorderspace">% | |
} | |
{<td\Hnewline>\string&\csname :sharp\endcsname xA0;</td>% | |
} | |
{</tr>% | |
} | |
\OOstyles {<style:style style:name="hline-p-hr" | |
style:family="paragraph">\Hnewline | |
<style:paragraph-properties | |
fo:padding="0.00001cm" | |
fo:margin-top="0.00001cm" | |
fo:margin-bottom="0.00001cm" | |
fo:border-left="none" | |
fo:border-right="none" | |
fo:border-top="none" | |
fo:line-height="0.011cm" | |
fo:border-bottom="0.01cm solid \#000000" | |
/>\Hnewline | |
</style:style> | |
<style:style style:name="cline-p-hr" | |
style:family="paragraph">\Hnewline | |
<style:paragraph-properties | |
fo:padding="0.00001cm" | |
fo:margin-top="0.00001cm" | |
fo:margin-bottom="0.00001cm" | |
fo:border-left="none" | |
fo:border-right="none" | |
fo:border-top="none" | |
fo:line-height="0.01cm" | |
fo:border-bottom="0.01cm solid \#000000" | |
/>\Hnewline | |
</style:style> | |
<style:style style:name="cline-p" | |
style:family="paragraph">\Hnewline | |
<style:paragraph-properties | |
fo:margin="0.00001cm" | |
fo:border="none" | |
fo:line-height="0.001cm" | |
/>\Hnewline | |
</style:style> | |
} | |
\Configure{multicolumn} | |
{\let\col:Css\empty | |
\expandafter\let\csname col:Css0\endcsname\empty | |
\expandafter\let\csname col:Css1\endcsname\empty | |
\Configure{VBorder} | |
{} | |
{\edef\col:Css{\col:Css | |
\ifnum \ar:cnt=0 L\else R\fi }% | |
\expandafter\edef\csname col:Css\ar:cnt\endcsname{% | |
fo:border-\ifnum \ar:cnt=0 left\else right\fi | |
="0.01cm solid \#000000" | |
fo:padding-\ifnum \ar:cnt=0 left\else right\fi | |
="0.17cm" | |
}% | |
}{}{}% | |
} | |
{\ifx \col:Css\empty \else | |
\edef\col:Css{multicolumn-\col:Css 11\halignTD-\cell:style:name}% | |
\expandafter\ifx \csname \col:Css\endcsname\relax | |
\expandafter\xdef\csname \col:Css\endcsname{}% | |
\OOstyles{% | |
<style:style | |
style:name="\col:Css" | |
style:family="paragraph" | |
style:parent-style-name="\cell:style:name">\Hnewline | |
<style:paragraph-properties | |
\csname col:Css0\endcsname | |
\csname col:Css1\endcsname | |
/>\Hnewline | |
</style:style>\Hnewline | |
}% | |
% | |
\fi | |
\HCode{<text:span | |
text:style-name="\col:Css"></text:span>}% | |
\fi | |
} | |
{\ifx \col:Css\empty \else | |
\edef\col:Css{multicolumn-\col:Css 11\halignTD-\cell:style:name}% | |
\expandafter\ifx \csname \col:Css\endcsname\relax | |
\expandafter\xdef\csname \col:Css\endcsname{}% | |
\OOstyles{% | |
<style:style | |
style:name="\col:Css" | |
style:family="paragraph" | |
style:parent-style-name="\cell:style:name">\Hnewline | |
<style:paragraph-properties | |
\csname col:Css0\endcsname | |
\csname col:Css1\endcsname | |
/>\Hnewline | |
</style:style>\Hnewline | |
}% | |
% | |
\fi | |
\HCode{<text:span | |
text:style-name="\col:Css"></text:span>}% | |
\fi | |
% | |
\Configure{HtmlPar} | |
{\Configure{HtmlPar} | |
{\HCode{<text:line-break/><text:line-break/>}} | |
{\HCode{<text:line-break/><text:line-break/>}} | |
{} | |
{}% | |
} | |
{\Configure{HtmlPar} | |
{\HCode{<text:line-break/><text:line-break/>}} | |
{\HCode{<text:line-break/><text:line-break/>}} | |
{} | |
{}% | |
} | |
{}{}% | |
} | |
{} | |
\Configure{halign} | |
{\EndP\halignTB{halign}} {\HCode{</table>}} | |
{\HCode{<tr \Hnewline}\halignTR\HCode{>}} | |
{\HCode{</tr>}} | |
{\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}% | |
\halignTD \HCode{\Hnewline>}} | |
{\HCode{</td>}} | |
\Configure{pic-halign}{} | |
\Configure{HVerbatim+}{\z@}{\:nbsp} | |
\Configure{Needs}{l. | |
\the\inputlineno\space--- needs --- #1 ---} | |
\Configure{Needs-}{l. | |
\the\inputlineno\space--- needs --- #1 ---} | |
\ConfigureEnv{tabular} | |
{\PushStack\Col:Marg\AllColMargins} | |
{\PopStack\Col:Marg\AllColMargins} | |
{}{} | |
\catcode`\!=13 | |
\HAssign\indexmark:N = 0 | |
\immediate\openin15=\jobname.4ix | |
\ifeof15 \else | |
\Configure{wrindex} | |
{{\special{t4ht@(}\catcode`\\=0 \catcode`\{=1 | |
\catcode`\}=2 \catcode`\ =10 \catcode`\!=13 | |
\def!{\c:indexmark\def!{\d:indexmark\def!{\string!}}}% | |
\gHAdvance\indexmark:N by 1 | |
\def\indexmark##1##2{% | |
\ifnum \indexmark:N=##2 \special{t4ht@)}\a:indexmark | |
##1\b:indexmark\special{t4ht@(}\fi}% | |
\hbox{\input \jobname.4ix \special{t4ht@)}}% | |
}} | |
\fi | |
\catcode`\!=12 | |
\NewConfigure{indexmark}{4} | |
\Configure{indexmark} | |
{\HCode{<text:alphabetical-index-mark\Hnewline | |
text:id="dx\last:haddr" | |
text:string-value="}% | |
\NoFonts} | |
{\EndNoFonts \HCode{" />}} | |
{\HCode{" text:key1="}} | |
{\HCode{" text:key2="}} | |
\pend:def\index{\leavevmode} | |
\NewConfigureOO{Index Heading} | |
\ConfigureOO{Index Heading}{\Hnewline | |
<style:style | |
style:name="Index-Heading" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:class="index">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="0in" | |
fo:margin-right="0in" | |
fo:font-size="16pt" | |
fo:font-weight="bold" | |
style:font-size-asian="16pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="16pt" | |
style:font-weight-complex="bold" | |
fo:text-indent="0in" | |
style:auto-text-indent="false" | |
text:number-lines="false" | |
text:line-number="0"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{verse} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
% | |
\HCode{<!--start verse-->}% | |
\bgroup \Configure{HtmlPar} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="verse" >}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="verse" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\egroup \ifvmode \IgnorePar\fi \EndP | |
\HCode{<!--end verse-->}\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{}{} | |
\ConfigureList{verse} | |
{}{} | |
{\parindent=\z@} {\par} | |
\NewConfigureOO{verse} | |
\ConfigureOO{verse}{\Hnewline | |
<style:style style:name="verse" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-left="1.499cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-indent="-0.499cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
\Configure{float} | |
{\csname par\endcsname\ShowPar \leavevmode} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="float" >}} | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{</text:section>}% | |
\csname par\endcsname\ShowPar | |
} | |
\ConfigureEnv{figure} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="fig" | |
text:style-name="Figure" | |
><text:p text:style-name="bigskip"></text:p>% | |
}% | |
\bgroup \Configure{float}{\ShowPar}{}{}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{<text:p text:style-name="bigskip"></text:p>% | |
</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\Configure{picture} | |
{\Picture+[PICT]{}} | |
{\EndPicture} | |
\NewConfigureOO{algorithmic} | |
\ConfigureOO{algorithmic}{<text:list-style style:name="algorithmic" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.2in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.4in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
<style:style | |
style:name="algorithmic-dd" | |
style:family="paragraph" | |
style:parent-style-name="Standard"> | |
<style:paragraph-properties | |
fo:margin-left="0.35in" | |
fo:margin-right="0in" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
/> | |
</style:style> | |
<style:style | |
style:name="algorithmic-dt" | |
style:family="paragraph" | |
style:parent-style-name=""> | |
<style:paragraph-properties | |
fo:margin-left="0.1in" | |
fo:margin-right="0in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
/> | |
</style:style> | |
} | |
\Configure{Link}{t4htlink}{href=}{name=}{}% | |
\Configure{ref} | |
{\Link} | |
{\ifx \RefArg\:UnDef\else | |
\Tg<!--tex4ht:ref: \RefArg\space-->\fi\EndLink} | |
{} | |
\def\NOHREF:#1{\space href="\:sharp#1"}% | |
\:CheckOption{hidden-ref}\if:Option | |
\OOstyles{% | |
<style:style style:name="reference-ref" style:family="text"> | |
<style:text-properties | |
style:text-scale = "0\%" | |
/> | |
</style:style> | |
} | |
\else | |
\Log:Note{to hide clickable index and bibliography references | |
use the command line option `hidden-ref'} | |
\OOstyles{% | |
<style:style style:name="reference-ref" style:family="text"> | |
<style:text-properties | |
style:text-underline-style="solid" | |
style:text-underline-width="thick" | |
style:text-underline-height="0.2em" | |
style:text-underline-color="\#0000FF" | |
/> | |
</style:style> | |
} | |
\fi | |
\Configure{verb} | |
{\HCode{<text:span\Hnewline text:style-name="verb">}} | |
{\HCode{</text:span>}} | |
\NewConfigureOO{verb} | |
\ConfigureOO{verb}{<style:style style:name="verb" style:family="text">\Hnewline | |
<style:text-properties | |
fo:font-family="monospace" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{obeylines} | |
{\ifvmode \IgnorePar\EndP \IgnoreIndent | |
\HCode{<text:p\Hnewline text:style-name="obeylines-v">}% | |
\gdef\ob:ln{\ht:special{t4ht=</text:p>}}% | |
\else | |
\SaveEndP \HCode{<text:span\Hnewline | |
text:style-name="obeylines-h">}% | |
\gdef\ob:ln{\ht:special{t4ht=</text:span>}\RecallEndP}% | |
\fi | |
} | |
{\EndP\ob:ln\ShowPar} | |
{\hbox{\HCode{<text:line-break/>}}} | |
\NewConfigureOO{obeylines} | |
\ConfigureOO{obeylines}{<style:style style:name="obeylines-h" style:family="text">\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
/>\Hnewline | |
</style:style>\Hnewline | |
<style:style style:name="obeylines-v" style:family="text">\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{verbatim} | |
{\ifinner\else \vfill\break\fi | |
\IgnorePar\EndP \HAssign\Verb:N=0 | |
\HCode{<!--l. \the\inputlineno-->% | |
<text:p | |
text:style-name="Preformatted-Text\if@rl-rtl\fi | |
">}\EndNoFonts | |
} | |
{\NoFonts \EndP \ht:special{t4ht=</text:p>}\ShowPar\par} | |
{}{} | |
\Configure{verbatim} | |
{\HAdvance\Verb:N by 1 \ifnum \Verb:N>1 | |
\HCode{<text:line-break/>}% | |
\fi | |
} | |
{\HCode{<text:s/>}} | |
\NewConfigureOO{verbatim} | |
\ConfigureOO{verbatim}{<style:style style:name="Preformatted-Text" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
% fo:font-family="monospace" | |
% fo:wrap-option="no-wrap" | |
% style:font-name="Courier" | |
fo:margin-top="0.2cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="0cm" | |
/>\Hnewline | |
<style:text-properties fo:font-family="monospace"/>\Hnewline | |
</style:style>\Hnewline | |
<style:style style:name="Preformatted-Text-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
% fo:font-family="monospace" | |
% fo:wrap-option="no-wrap" | |
% style:font-name="Courier" | |
fo:margin-top="0.2cm" | |
fo:margin-bottom="0.2cm" | |
fo:text-indent="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/>\Hnewline | |
<style:text-properties fo:font-family="monospace"/>\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ifx \tmp:bx\:UnDef \csname newbox\endcsname \tmp:bx \fi | |
\Configure{footnotemark} | |
{\Tag{fn\FNnum x\minipageNum | |
}{}% | |
\ifTag{fn\FNnum x\minipageNum | |
-tx} | |
{\setbox\tmp:bx=\hbox\bgroup} | |
{\NoFonts | |
\HCode{<\text:footnote\Hnewline\text:note:class | |
text:id="}fn\FNnum x\minipageNum | |
% | |
\HCode{"><\text:footnote-citation>}% | |
}% | |
} | |
{\ifTag{fn\FNnum x\minipageNum | |
-tx} | |
{\egroup} | |
{\EndNoFonts \HCode{</\text:footnote-citation><\text:footnote-body> | |
<text:p\Hnewline text:style-name="Footnote">% | |
</text:p></\text:footnote-body></\text:footnote>}% | |
}% | |
% | |
\special{t4ht@(}} | |
\Configure{footnotetext} | |
{\special{t4ht@)}\Tag{fn\FNnum x\minipageNum | |
-tx}{}% | |
\ifTag{fn\FNnum x\minipageNum | |
} | |
{\expandafter\ifx\csname (fn\FNnum x\minipageNum | |
)\endcsname\def | |
\:warning{Multiple footnote texts for mark \FNnum}% | |
\fi | |
} {}% | |
% | |
\SaveEndP \NoFonts \bgroup\let\@textsuperscript\hbox% | |
\HCode{<\text:footnote\Hnewline\text:note:class | |
text:id="}fn\FNnum x\minipageNum | |
% | |
\HCode{"><\text:footnote-citation>}% | |
\IgnorePar \special{t4ht@(}% | |
} | |
{\egroup\EndNoFonts \RecallEndP | |
\HCode{</\text:footnote-citation><\text:footnote-body> | |
<text:p\Hnewline text:style-name="Footnote">}\NoFonts | |
% %<text:s/> | |
% | |
\SaveHtmlPar \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="Footnote">}} | |
{\EndP \HCode{<text:p text:style-name="Footnote">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\ShowPar \special{t4ht@)}% | |
} | |
{\RecallHtmlPar\EndNoFonts | |
\HCode{</text:p></\text:footnote-body></\text:footnote>}% | |
\expandafter\global\expandafter | |
\let\csname (fn\FNnum x\minipageNum | |
)\endcsname\def | |
% | |
} | |
\Configure{thank} | |
{\setbox\tmp:bx=\hbox\bgroup} | |
{\egroup} | |
{\NoFonts \leavevmode \bgroup \protect\Configure{$}{}{}{}% | |
\hbox{\HCode{<\text:footnote\Hnewline\text:note:class | |
text:id="}fn\the\c@footnote x\minipageNum | |
% | |
\HCode{"><\text:footnote-citation>}}% | |
} | |
{\egroup \EndNoFonts | |
\HCode{</\text:footnote-citation><\text:footnote-body> | |
<text:p\Hnewline text:style-name="Footnote" ><text:s/>}} | |
{\HCode{</text:p></\text:footnote-body></\text:footnote>}} | |
\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 | |
} | |
\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 58\%"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{textsubscript} | |
{\HCode{<text:span text:style-name="textsubscript">}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="textsubscript" style:family="text">\Hnewline | |
<style:text-properties style:text-position="sub 58\%"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{centercr} | |
{\ht:special{t4ht=<text:line-break/>}} | |
{\ht:everypar{\ht:everypar{\HtmlPar}}} | |
\def\:temp{T\HCode{<text:span text:style-name="TEX">}E\HCode{</text:span>}X} | |
\HLet\TeX\:temp | |
\OOstyles{\Hnewline | |
<style:style style:name="TEX" style:family="text"> | |
<style:text-properties style:text-position="-25 100\%"/> | |
</style:style> | |
\Hnewline} | |
\def\:temp{L\HCode{<text:span text:style-name="LATEX">}A\HCode{</text:span>}\TeX} | |
\HLet\LaTeX\:temp | |
\OOstyles{\Hnewline | |
<style:style style:name="LATEX" style:family="text"> | |
<style:text-properties style:text-position="15 70\%"/> | |
</style:style> | |
\Hnewline} | |
\Configure{newpage}{\par \EndP \IgnorePar | |
\HCode{<text:p text:style-name="newpage"></text:p>}% | |
\par\ShowPar} | |
\OOstyles{% | |
<style:style style:name="newpage" style:family="paragraph" > | |
<style:paragraph-properties fo:break-after="page"/> | |
</style:style> | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{book} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\def\tableofcontents{\:tableofcontents} | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}% | |
\ifx \chaptername\:UnDef\else \chaptername~\fi} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likechapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{appendix} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{part} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likepart} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{section} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesection} | |
{\HCode{<text:p text:style-name="P2"><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\def\ref:name{\bibname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{quote} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{\EndP \ifvmode \IgnorePar\fi | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
% | |
} | |
{\IgnorePar\EndP \egroup \ShowPar \ShowIndent} | |
\ConfigureEnv{quotation} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar \noindent} | |
{\IgnorePar\EndP \bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\EndP\IgnorePar \egroup \ShowPar } | |
\NewConfigureOO{quotation} | |
\ConfigureOO{quotation} | |
{\Hnewline | |
<style:style style:name="quotation" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="quotation-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ConfigureEnv{flushright} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushright-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushright-->}\ShowPar | |
} | |
{} {} | |
\ConfigureList{flushright} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushright} | |
\ConfigureOO{flushright} | |
{\Hnewline | |
<style:style style:name="flushright" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body" | |
style:master-page-name=""> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:page-number="0"/> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushleft-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushleft-->}\par\ShowPar} | |
{} {} | |
\ConfigureList{flushleft} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushleft} | |
\ConfigureOO{flushleft} | |
{\Hnewline | |
<style:style style:name="flushleft" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="start" | |
style:justify-single-word="false"/> | |
</style:style> | |
\Hnewline} | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin center-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end center-->}\par\ShowPar | |
} | |
{} {} | |
\ConfigureList{center} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{center} | |
\ConfigureOO{center} | |
{\Hnewline | |
<style:style style:name="center" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="center" | |
style:justify-single-word="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style>\Hnewline | |
} | |
\Configure{centerline} | |
{\EndP \ifvmode \IgnorePar \fi | |
\HCode{<text:p text:style-name="FirstCenterPar" >}} | |
{\HCode{</text:p>}\ShowPar\par{\HCondtrue\noindent}% | |
} | |
\HAssign\tabbing:N=0 | |
\Configure{tabbing}[1.5]{\IgnorePar\leavevmode | |
\gHAdvance\tabbing:N by 1 | |
\gHAssign\tabbing:Nrow=0 | |
\ht:special{t4ht=<text:p | |
text:style-name="tabbing" \Hnewline >}} | |
{\ht:special{t4ht=</text:p>\Hnewline}\ShowPar} | |
{\gHAdvance\tabbing:Nrow by 1 | |
\ht:special{t4ht=<text:span\Hnewline | |
text:style-name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>}% | |
\OOstyles{% | |
<style:style style:name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
\ifx \TabWidth\empty \else | |
fo:width="\TabWidth pt" | |
\fi | |
\ifx \`\TabType | |
style:text-align="right" | |
\fi | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
} | |
{\ht:special{t4ht=</text:span>}} | |
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{} | |
\NewConfigureOO{tabbing} | |
\ConfigureOO{tabbing}{<style:style style:name="tabbing" | |
style:family="paragraph" | |
style:parent-style-name="Standard" >\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.5cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{table} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="table" >}% | |
\bgroup \Configure{float}{\ShowPar}{}{\ShowPar\IgnoreIndent\csname par\endcsname}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\Configure{chapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-1\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="1" ><text:span | |
text:style-name="chapter" >}\TitleMark\space | |
\HCode{</text:span>}% | |
\HCode{<text:line-break/>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likechapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter*--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-1\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="1" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{chapter} | |
{\if@mainmatter \chaptername \ \thechapter\fi} | |
\ConfigureMark{appendix} | |
{\if@mainmatter \appendixname \ \thechapter\fi} | |
\Configure{appendix} | |
{\IgnorePar\EndP \HCode{<!--start of appendix--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of appendix-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="1" ><text:span | |
text:style-name="chapter" >}\TitleMark\space | |
\HCode{</text:span>}% | |
\HCode{<text:line-break/>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ifx \part\:UnDef\else | |
\Configure{part} | |
{\IgnorePar\EndP \HCode{<!--start part-->}} | |
{\IgnorePar\EndP \HCode{<!--end part-->}} | |
{\HCode{<text:p text:style-name="part" > | |
<text:span text:style-name="part">}\TitleMark\space | |
\HCode{</text:span>}% | |
\HCode{<text:line-break/>}} | |
{\HCode{</text:p>\Hnewline}\par\ShowPar\IgnoreIndent} | |
\ConfigureMark{part}{\partname\space\thepart} | |
\NewConfigureOO{part} | |
\ConfigureOO{part}{\Hnewline | |
<style:style style:name="part" | |
style:family="paragraph" | |
style:parent-style-name="Heading\if@rl-rtl\fi | |
" | |
style:next-style-name="Text-body" | |
style:list-style-name="part">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.52cm" | |
fo:margin-bottom="0.21cm" | |
fo:font-size="18pt"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\fi | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{section}\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsection}\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsubsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsubsection}\fi } | |
\Configure{subsubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsubsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsubsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-4\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="4" ><text:span | |
text:style-name="subsubsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesection} | |
{\IgnorePar\EndP \HCode{<!--start of section*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{paragraph} | |
{\par\ShowPar \noindent\HCode{<!--start of paragraph-->}} | |
{\HCode{<!--end of paragraph-->}\par\ShowPar} | |
{\HCode{<text:span text:style-name="paragraph-h" >}} | |
{\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar} | |
\Configure{subparagraph} | |
{\par\ShowPar \noindent\HCode{<!--start of subparagraph-->}} | |
{\HCode{<!--end of subparagraph-->}\par\ShowPar} | |
{\HCode{<text:span text:style-name="subparagraph-h" >}} | |
{\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar} | |
\NewConfigureOO{paragraph-h} | |
\ConfigureOO{paragraph-h}{ | |
<style:style style:name="paragraph-h" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{subparagraph-h} | |
\ConfigureOO{subparagraph-h}{ | |
<style:style style:name="subparagraph-h" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{theindex} | |
{\ifvmode\IgnorePar\fi | |
\EndP\HCode{<text:alphabetical-index text:name="theindex" > | |
<text:alphabetical-index-source | |
text:sort-algorithm="alphanumeric" >\Hnewline | |
<text:index-title-template | |
text:style-name="Index-Heading" >\indexname | |
</text:index-title-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="1" | |
text:style-name="Index-1" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="2" | |
text:style-name="Index-2" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="3" | |
text:style-name="Index-3" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
\Hnewline | |
</text:alphabetical-index-source>\Hnewline | |
% | |
<text:index-body>\Hnewline}% | |
\csname put:IndexTitle\endcsname | |
} | |
{\HCode{</text:index-body></text:alphabetical-index>}} | |
{\HCode{<text:p text:style-name="P6" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P7" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P8" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{} | |
\Configure{LNK}{\oo:LNK}{\EndLink}{} | |
\Odef\oo:LNK[#1]#2#3{\Link{#2}{#3}} | |
\Configure{@begin}{theindex}{\ifx \indexname\empty \else | |
\def\put:IndexTitle{\HCode{<text:index-title | |
text:style-name="Sect1" | |
text:name="Alphabetical_Index1_Head" | |
><text:p | |
text:style-name="Index-Heading" >}\indexname | |
\HCode{</text:p></text:index-title>\Hnewline} | |
}\fi} | |
\Configure{listoffigures} | |
{\let\contentsname\listfigurename \let\listfigurename\empty} | |
{} | |
\Configure{listoftables} | |
{\let\contentsname\listtablename \let\listtablename\empty} | |
{} | |
\ConfigureToc{lof} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
\ConfigureToc{lot} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{report} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\def\tableofcontents{\:tableofcontents} | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}% | |
\ifx \chaptername\:UnDef\else \chaptername~\fi} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likechapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{appendix} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{part} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likepart} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{section} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesection} | |
{\HCode{<text:p text:style-name="P2"><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\def\ref:name{\bibname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{quote} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{\EndP \ifvmode \IgnorePar\fi | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
% | |
} | |
{\IgnorePar\EndP \egroup \ShowPar \ShowIndent} | |
\ConfigureEnv{quotation} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar \noindent} | |
{\IgnorePar\EndP \bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\EndP\IgnorePar \egroup \ShowPar } | |
\NewConfigureOO{quotation} | |
\ConfigureOO{quotation} | |
{\Hnewline | |
<style:style style:name="quotation" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="quotation-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ConfigureEnv{flushright} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushright-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushright-->}\ShowPar | |
} | |
{} {} | |
\ConfigureList{flushright} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushright} | |
\ConfigureOO{flushright} | |
{\Hnewline | |
<style:style style:name="flushright" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body" | |
style:master-page-name=""> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:page-number="0"/> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushleft-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushleft-->}\par\ShowPar} | |
{} {} | |
\ConfigureList{flushleft} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushleft} | |
\ConfigureOO{flushleft} | |
{\Hnewline | |
<style:style style:name="flushleft" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="start" | |
style:justify-single-word="false"/> | |
</style:style> | |
\Hnewline} | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin center-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end center-->}\par\ShowPar | |
} | |
{} {} | |
\ConfigureList{center} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{center} | |
\ConfigureOO{center} | |
{\Hnewline | |
<style:style style:name="center" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="center" | |
style:justify-single-word="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style>\Hnewline | |
} | |
\Configure{centerline} | |
{\EndP \ifvmode \IgnorePar \fi | |
\HCode{<text:p text:style-name="FirstCenterPar" >}} | |
{\HCode{</text:p>}\ShowPar\par{\HCondtrue\noindent}% | |
} | |
\HAssign\tabbing:N=0 | |
\Configure{tabbing}[1.5]{\IgnorePar\leavevmode | |
\gHAdvance\tabbing:N by 1 | |
\gHAssign\tabbing:Nrow=0 | |
\ht:special{t4ht=<text:p | |
text:style-name="tabbing" \Hnewline >}} | |
{\ht:special{t4ht=</text:p>\Hnewline}\ShowPar} | |
{\gHAdvance\tabbing:Nrow by 1 | |
\ht:special{t4ht=<text:span\Hnewline | |
text:style-name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>}% | |
\OOstyles{% | |
<style:style style:name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
\ifx \TabWidth\empty \else | |
fo:width="\TabWidth pt" | |
\fi | |
\ifx \`\TabType | |
style:text-align="right" | |
\fi | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
} | |
{\ht:special{t4ht=</text:span>}} | |
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{} | |
\NewConfigureOO{tabbing} | |
\ConfigureOO{tabbing}{<style:style style:name="tabbing" | |
style:family="paragraph" | |
style:parent-style-name="Standard" >\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.5cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{table} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="table" >}% | |
\bgroup \Configure{float}{\ShowPar}{}{\ShowPar\IgnoreIndent\csname par\endcsname}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\Configure{chapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-1\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="1" ><text:span | |
text:style-name="chapter" >}\TitleMark\space | |
\HCode{</text:span>}% | |
\HCode{<text:line-break/>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likechapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter*--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-1\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="1" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{chapter} | |
{\chaptername \ \thechapter} | |
\ifx \part\:UnDef\else | |
\Configure{part} | |
{\IgnorePar\EndP \HCode{<!--start part-->}} | |
{\IgnorePar\EndP \HCode{<!--end part-->}} | |
{\HCode{<text:p text:style-name="part" > | |
<text:span text:style-name="part">}\TitleMark\space | |
\HCode{</text:span>}% | |
\HCode{<text:line-break/>}} | |
{\HCode{</text:p>\Hnewline}\par\ShowPar\IgnoreIndent} | |
\ConfigureMark{part}{\partname\space\thepart} | |
\NewConfigureOO{part} | |
\ConfigureOO{part}{\Hnewline | |
<style:style style:name="part" | |
style:family="paragraph" | |
style:parent-style-name="Heading\if@rl-rtl\fi | |
" | |
style:next-style-name="Text-body" | |
style:list-style-name="part">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.52cm" | |
fo:margin-bottom="0.21cm" | |
fo:font-size="18pt"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\fi | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{section}\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsection}\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsubsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsubsection}\fi } | |
\Configure{subsubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsubsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsubsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-4\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="4" ><text:span | |
text:style-name="subsubsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesection} | |
{\IgnorePar\EndP \HCode{<!--start of section*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{paragraph} | |
{\par\ShowPar \noindent\HCode{<!--start of paragraph-->}} | |
{\HCode{<!--end of paragraph-->}\par\ShowPar} | |
{\HCode{<text:span text:style-name="paragraph-h" >}} | |
{\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar} | |
\Configure{subparagraph} | |
{\par\ShowPar \noindent\HCode{<!--start of subparagraph-->}} | |
{\HCode{<!--end of subparagraph-->}\par\ShowPar} | |
{\HCode{<text:span text:style-name="subparagraph-h" >}} | |
{\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar} | |
\NewConfigureOO{paragraph-h} | |
\ConfigureOO{paragraph-h}{ | |
<style:style style:name="paragraph-h" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{subparagraph-h} | |
\ConfigureOO{subparagraph-h}{ | |
<style:style style:name="subparagraph-h" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{theindex} | |
{\ifvmode\IgnorePar\fi | |
\EndP\HCode{<text:alphabetical-index text:name="theindex" > | |
<text:alphabetical-index-source | |
text:sort-algorithm="alphanumeric" >\Hnewline | |
<text:index-title-template | |
text:style-name="Index-Heading" >\indexname | |
</text:index-title-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="1" | |
text:style-name="Index-1" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="2" | |
text:style-name="Index-2" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="3" | |
text:style-name="Index-3" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
\Hnewline | |
</text:alphabetical-index-source>\Hnewline | |
% | |
<text:index-body>\Hnewline}% | |
\csname put:IndexTitle\endcsname | |
} | |
{\HCode{</text:index-body></text:alphabetical-index>}} | |
{\HCode{<text:p text:style-name="P6" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P7" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P8" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{} | |
\Configure{LNK}{\oo:LNK}{\EndLink}{} | |
\Odef\oo:LNK[#1]#2#3{\Link{#2}{#3}} | |
\Configure{@begin}{theindex}{\ifx \indexname\empty \else | |
\def\put:IndexTitle{\HCode{<text:index-title | |
text:style-name="Sect1" | |
text:name="Alphabetical_Index1_Head" | |
><text:p | |
text:style-name="Index-Heading" >}\indexname | |
\HCode{</text:p></text:index-title>\Hnewline} | |
}\fi} | |
\Configure{listoffigures} | |
{\let\contentsname\listfigurename \let\listfigurename\empty} | |
{} | |
\Configure{listoftables} | |
{\let\contentsname\listtablename \let\listtablename\empty} | |
{} | |
\ConfigureToc{lof} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
\ConfigureToc{lot} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{article} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\def\tableofcontents{\:tableofcontents} | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\ConfigureToc{part} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likepart} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{section} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesection} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsection} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsection} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\def\ref:name{\refname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{quote} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{\EndP \ifvmode \IgnorePar\fi | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
% | |
} | |
{\IgnorePar\EndP \egroup \ShowPar \ShowIndent} | |
\ConfigureEnv{quotation} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar \noindent} | |
{\IgnorePar\EndP \bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\EndP\IgnorePar \egroup \ShowPar } | |
\NewConfigureOO{quotation} | |
\ConfigureOO{quotation} | |
{\Hnewline | |
<style:style style:name="quotation" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="quotation-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ConfigureEnv{flushright} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushright-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushright-->}\ShowPar | |
} | |
{} {} | |
\ConfigureList{flushright} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushright} | |
\ConfigureOO{flushright} | |
{\Hnewline | |
<style:style style:name="flushright" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body" | |
style:master-page-name=""> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:page-number="0"/> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushleft-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushleft-->}\par\ShowPar} | |
{} {} | |
\ConfigureList{flushleft} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushleft} | |
\ConfigureOO{flushleft} | |
{\Hnewline | |
<style:style style:name="flushleft" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="start" | |
style:justify-single-word="false"/> | |
</style:style> | |
\Hnewline} | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin center-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end center-->}\par\ShowPar | |
} | |
{} {} | |
\ConfigureList{center} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{center} | |
\ConfigureOO{center} | |
{\Hnewline | |
<style:style style:name="center" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="center" | |
style:justify-single-word="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style>\Hnewline | |
} | |
\Configure{centerline} | |
{\EndP \ifvmode \IgnorePar \fi | |
\HCode{<text:p text:style-name="FirstCenterPar" >}} | |
{\HCode{</text:p>}\ShowPar\par{\HCondtrue\noindent}% | |
} | |
\HAssign\tabbing:N=0 | |
\Configure{tabbing}[1.5]{\IgnorePar\leavevmode | |
\gHAdvance\tabbing:N by 1 | |
\gHAssign\tabbing:Nrow=0 | |
\ht:special{t4ht=<text:p | |
text:style-name="tabbing" \Hnewline >}} | |
{\ht:special{t4ht=</text:p>\Hnewline}\ShowPar} | |
{\gHAdvance\tabbing:Nrow by 1 | |
\ht:special{t4ht=<text:span\Hnewline | |
text:style-name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>}% | |
\OOstyles{% | |
<style:style style:name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
\ifx \TabWidth\empty \else | |
fo:width="\TabWidth pt" | |
\fi | |
\ifx \`\TabType | |
style:text-align="right" | |
\fi | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
} | |
{\ht:special{t4ht=</text:span>}} | |
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{} | |
\NewConfigureOO{tabbing} | |
\ConfigureOO{tabbing}{<style:style style:name="tabbing" | |
style:family="paragraph" | |
style:parent-style-name="Standard" >\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.5cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{table} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="table" >}% | |
\bgroup \Configure{float}{\ShowPar}{}{\ShowPar\IgnoreIndent\csname par\endcsname}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\ifx \part\:UnDef\else | |
\Configure{part} | |
{\IgnorePar\EndP \HCode{<!--start part-->}} | |
{\IgnorePar\EndP \HCode{<!--end part-->}} | |
{\HCode{<text:p text:style-name="part" > | |
<text:span text:style-name="part">}\TitleMark\space | |
\HCode{</text:span>}% | |
\HCode{<text:line-break/>}} | |
{\HCode{</text:p>\Hnewline}\par\ShowPar\IgnoreIndent} | |
\ConfigureMark{part}{\partname\space\thepart} | |
\NewConfigureOO{part} | |
\ConfigureOO{part}{\Hnewline | |
<style:style style:name="part" | |
style:family="paragraph" | |
style:parent-style-name="Heading\if@rl-rtl\fi | |
" | |
style:next-style-name="Text-body" | |
style:list-style-name="part">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.52cm" | |
fo:margin-bottom="0.21cm" | |
fo:font-size="18pt"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\fi | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{section}\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsection}\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsubsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsubsection}\fi } | |
\Configure{subsubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsubsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsubsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-4\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="4" ><text:span | |
text:style-name="subsubsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesection} | |
{\IgnorePar\EndP \HCode{<!--start of section*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection*-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{paragraph} | |
{\par\ShowPar \noindent\HCode{<!--start of paragraph-->}} | |
{\HCode{<!--end of paragraph-->}\par\ShowPar} | |
{\HCode{<text:span text:style-name="paragraph-h" >}} | |
{\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar} | |
\Configure{subparagraph} | |
{\par\ShowPar \noindent\HCode{<!--start of subparagraph-->}} | |
{\HCode{<!--end of subparagraph-->}\par\ShowPar} | |
{\HCode{<text:span text:style-name="subparagraph-h" >}} | |
{\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar} | |
\NewConfigureOO{paragraph-h} | |
\ConfigureOO{paragraph-h}{ | |
<style:style style:name="paragraph-h" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{subparagraph-h} | |
\ConfigureOO{subparagraph-h}{ | |
<style:style style:name="subparagraph-h" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{theindex} | |
{\ifvmode\IgnorePar\fi | |
\EndP\HCode{<text:alphabetical-index text:name="theindex" > | |
<text:alphabetical-index-source | |
text:sort-algorithm="alphanumeric" >\Hnewline | |
<text:index-title-template | |
text:style-name="Index-Heading" >\indexname | |
</text:index-title-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="1" | |
text:style-name="Index-1" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="2" | |
text:style-name="Index-2" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="3" | |
text:style-name="Index-3" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
\Hnewline | |
</text:alphabetical-index-source>\Hnewline | |
% | |
<text:index-body>\Hnewline}% | |
\csname put:IndexTitle\endcsname | |
} | |
{\HCode{</text:index-body></text:alphabetical-index>}} | |
{\HCode{<text:p text:style-name="P6" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P7" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P8" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{} | |
\Configure{LNK}{\oo:LNK}{\EndLink}{} | |
\Odef\oo:LNK[#1]#2#3{\Link{#2}{#3}} | |
\Configure{@begin}{theindex}{\ifx \indexname\empty \else | |
\def\put:IndexTitle{\HCode{<text:index-title | |
text:style-name="Sect1" | |
text:name="Alphabetical_Index1_Head" | |
><text:p | |
text:style-name="Index-Heading" >}\indexname | |
\HCode{</text:p></text:index-title>\Hnewline} | |
}\fi} | |
\Configure{listoffigures} | |
{\let\contentsname\listfigurename \let\listfigurename\empty} | |
{} | |
\Configure{listoftables} | |
{\let\contentsname\listtablename \let\listtablename\empty} | |
{} | |
\ConfigureToc{lof} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
\ConfigureToc{lot} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{fontmath} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ifx \find:set:mgroup\:UnDef | |
\def\find:set:mgroup#1#2#3{\bgroup | |
\let\HPage\:gobble | |
\let\EndHPage\:gobble | |
\def\use@mathgroup##1##2##3{\relax | |
\tmp:cnt=##2% | |
\xdef\:temp####1{\noexpand\Configure{MathClass}{#2}% | |
{}{}{}{\mathchar"0\the\tmp:cnt ####1}}% | |
}% | |
\setbox\tmp:bx=\hbox{$#1$}\setbox\tmp:bx=\hbox{}% | |
\set:mgroup#3{}{}% | |
\egroup | |
} | |
\fi | |
\Configure{texttt} | |
{\ifmathml \Configure{@mtext}{\mml:class="texttt" mathvariant="monospace" }% | |
\else \HCode{<text:span text:style-name="texttt" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textit} | |
{\ifmathml \Configure{@mtext}{\mml:class="textit" mathvariant="italic" }% | |
\else \HCode{<text:span text:style-name="textit" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textrm} | |
{\ifmathml \Configure{@mtext}{ \mml:class="textrm" mathvariant="normal" }% | |
\else \HCode{<text:span text:style-name="textrm" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textsl} | |
{\ifmathml \Configure{@mtext}{ \mml:class="textst" mathvariant="italic" }% | |
\else \HCode{<text:span text:style-name="textsl" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textsf} | |
{\ifmathml \Configure{@mtext}{ \mml:class="textsf" mathvariant="sans-serif" }% | |
\else \HCode{<text:span text:style-name="textsf" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textbf} | |
{\ifmathml \Configure{@mtext}{ \mml:class="textbf" mathvariant="bold" }% | |
\else \HCode{<text:span text:style-name="textbf" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textsc} | |
{\ifmathml \Configure{@mtext}{ \mml:class="textsc" mathvariant="normal" }% | |
\else \HCode{<text:span text:style-name="textsc" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{emph} | |
{\ifmathml \Configure{@mtext}{ \mml:class="emph" mathvariant="italic" }% | |
\else \HCode{<text:span text:style-name="Emphasis" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\Configure{textup} | |
{\ifmathml \Configure{@mtext}{ \mml:class="textup" mathvariant="normal" }% | |
\else \HCode{<text:span text:style-name="textup" >}\fi} | |
{\ifmathml\else \HCode{</text:span>}\fi} | |
\NewConfigureOO{emph} | |
\ConfigureOO{emph}{<style:style style:name="Emphasis" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="italic"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textit} | |
\ConfigureOO{textit}{<style:style style:name="textit" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="italic"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textbf} | |
\ConfigureOO{textbf}{<style:style style:name="textbf" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textsc} | |
\ConfigureOO{textsc}{<style:style style:name="textsc" style:family="text">\Hnewline | |
<style:text-properties | |
fo:font-variant="small-caps" | |
fo:font-style="normal" | |
fo:font-weight="normal" | |
% fo:font-size="75\%" | |
style:text-position="0\% 100\%" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{texttt} | |
\ConfigureOO{texttt}{<style:style style:name="texttt" style:family="text">\Hnewline | |
<style:text-properties | |
fo:font-family="monospace" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textrm} | |
\ConfigureOO{textrm}{<style:style style:name="textrm" style:family="text">\Hnewline | |
<style:text-properties fo:font-weight="normal" | |
style:font-weight-asian="normal" | |
style:font-weight-complex="normal"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textsf} | |
\ConfigureOO{textsf}{<style:style style:name="textsf" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold" | |
style:font-family-generic="swiss" | |
style:font-pitch="variable" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textsl} | |
\ConfigureOO{textsl}{<style:style style:name="textsl" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="italic"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textsl} | |
\ConfigureOO{textsl}{<style:style style:name="textup" style:family="text">\Hnewline | |
<style:text-properties fo:font-weight="normal" | |
style:font-weight-asian="normal" | |
style:font-weight-complex="normal"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{mathellipsis} | |
{\HCode{\string&\#x2026;}} | |
\NewConfigureOO{overline} | |
\ConfigureOO{overline}{<style:style style:name="overline" style:family="text"> | |
<style:text-properties style:text-underline="dotted" /> | |
</style:style> | |
} | |
\NewConfigureOO{underline} | |
\ConfigureOO{underline}{<style:style style:name="underline" style:family="text"> | |
<style:text-properties style:text-underline-style="solid" | |
style:text-underline-width="auto" | |
style:text-underline-color="font-color" | |
/> | |
</style:style> | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{graphics} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{graphics} | |
{\bgroup | |
\let\E:IMG=\e:IMG \let\e:IMG=\empty | |
\Picture+{}} | |
{\EndPicture | |
\E:IMG\HCode{<!--tex4ht:graphics | |
\Hnewline name="\PictureFile" src="\Gin@base\Gin@ext" | |
svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
\Hnewline -->}% | |
\egroup} | |
\def\getImgFileParser#1/{% | |
\ifx\relax#1\relax | |
\let\next\relax | |
\else | |
\do{#1}\let\next\getImgFileParser | |
\fi\next | |
} | |
\newcommand\getImgFile[2]{% | |
\def\do##1{\def\imgBaseName{##1#2}\def\imgBase{##1}} | |
\def\imgFullName{#1#2} | |
\getImgFileParser#1// | |
} | |
\Configure{graphics*} | |
{gif} | |
{\expandafter\getImgFile\expandafter{\Gin@base}{\Gin@ext} | |
\Picture[IMG]{\imgBase.gif \ifx\noBoundingBox\UnDefined | |
svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
\fi | |
}} | |
\Configure{graphics*} | |
{png} | |
{\expandafter\getImgFile\expandafter{\Gin@base}{\Gin@ext} | |
\Picture[IMG]{\imgBase.png \ifx\noBoundingBox\UnDefined | |
svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
\fi | |
}} | |
\Configure{graphics*} | |
{jpg} | |
{\expandafter\getImgFile\expandafter{\Gin@base}{\Gin@ext} | |
\Picture[IMG]{\imgBase.jpg \ifx\noBoundingBox\UnDefined | |
svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
\fi | |
}} | |
\Configure{graphics*} | |
{jpeg} | |
{\expandafter\getImgFile\expandafter{\Gin@base}{\Gin@ext} | |
\Picture[IMG]{\imgBase.jpeg \ifx\noBoundingBox\UnDefined | |
svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
\fi | |
}} | |
\NewConfigure{Ghostscript}{1} | |
\NewConfigure{PdfConvert}{2} | |
\Configure{Ghostscript}{rungs} | |
\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 \ifx\Gin@page\@empty\else -dFirstPage='\Gin@page' -dLastPage='\Gin@page'\fi\space -sOutputFile='\Gin@base-\Gin@page.\a:PdfConvert' \Gin@base.pdf"} | |
\Configure{graphics*} | |
{pdf} | |
{\ifdefined\Gin@page\else\def\Gin@page{1}\fi% | |
\edef\svg:filename{\Gin@base-\Gin@page.\a:PdfConvert}% | |
% test for existence of the converted file | |
\openin15=\svg:filename\relax | |
\ifeof15 | |
\Needs{\b:PdfConvert}% | |
\fi | |
\closein15 | |
\def\Gin@ext{.\a:PdfConvert}% fix to get correct extension for the generated png file | |
\expandafter\getImgFile\expandafter{\Gin@base-\Gin@page}{\a:PdfConvert}% | |
\edef\Gin@base{\Gin@base-\Gin@page}% the generated file contains page number | |
\Picture[IMG]{{\imgBase.\a:PdfConvert} \ifx\noBoundingBox\UnDefined | |
svg:width="\the\Gin@req@width" | |
svg:height="\the\Gin@req@height" | |
\fi | |
}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{footnote-dw} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\protected\long\def\mkfootnotecite#1{#1} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{amsart} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\def\tableofcontents{\:tableofcontents} | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\ConfigureToc{part} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likepart} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{section} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesection} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsection} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsection} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{section}\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-2\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsection}\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-3\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsubsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \@seccntformat{subsubsection}\fi } | |
\Configure{subsubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsubsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsubsection-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-4\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="4" ><text:span | |
text:style-name="subsubsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{paragraph} | |
{\IgnorePar\EndP \HCode{<!--start of paragraph-->}} | |
{\IgnorePar\EndP \HCode{<!--end of paragraph-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-5\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="5" >}} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{subparagraph} | |
{\IgnorePar\EndP \HCode{<!--start of subparagraph-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subparagraph-->}} | |
{\HCode{<text:h | |
text:style-name="\csname a:Heading-6\if@rl-rtl\fi | |
\endcsname" | |
\text:outlinelevel="6" >}} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\def\ref:name{\bibname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
\Configure{keywords} | |
{\par\IgnorePar\EndP | |
\HCode{<text:p\Hnewline text:style-name="keywords">}\ShowPar} | |
{\ifvmode \IgnorePar\fi \EndP \HCode{</text:p>}} | |
\Configure{subjclass} | |
{\par\IgnorePar | |
\HCode{<text:p\Hnewline text:style-name="subjclass">}\par\ShowPar} | |
{\ifvmode \IgnorePar \fi\EndP \HCode{</text:p>}} | |
\Configure{@maketitle} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p\Hnewline text:style-name="submaketitle"></text:p>}\IgnoreIndent | |
\bgroup | |
\HTML:PAR{nested-p-\ifHCond nopar\else noindent\fi}% | |
{nested-p-\ifdim \parindent=\z@ no\fi indent}% | |
} | |
{\ifvmode \IgnorePar \fi \EndP \egroup | |
\ifvmode \IgnorePar \fi\EndP | |
\HCode{<text:p\Hnewline text:style-name="end-submaketitle"></text:p>}} | |
\NewConfigureOO{submaketitle} | |
\ConfigureOO{submaketitle}{\Hnewline | |
<style:style style:name="submaketitle" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:border-bottom="0.01cm solid \#000000" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline > | |
<style:style style:name="end-submaketitle" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:border-top="0.01cm solid \#000000" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline > } | |
\Configure{maketitle} | |
{\ifvmode \IgnorePar\fi \EndP % | |
\HCode{<!--begin maketitle-->}% | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi} | |
{\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}% | |
% | |
} | |
{\ifvmode \IgnorePar\fi \EndP \HCode{<!--end maketitle-->}\par} | |
{\NoFonts\IgnorePar \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi">}\IgnorePar | |
\bgroup \Configure{HtmlPar}{}{}{}{}} | |
{\egroup \HCode{</text:p>}\IgnoreIndent\EndNoFonts} | |
\Configure{thanks author date and} | |
{\par\IgnorePar\EndP \HCode{<text:p text:style-name="thanks">}\par\ShowPar} | |
{\ifvmode \IgnorePar\fi\EndP \HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="authors"><text:span text:style-name="author">}} | |
{\ifvmode \IgnorePar\fi\EndP \HCode{</text:span></text:p>}} | |
{\par\IgnorePar\EndP \HCode{<text:p text:style-name="date">}\par\ShowPar} | |
{\ifvmode \IgnorePar\fi\EndP \HCode{</text:p>}} | |
{\lowercase{\HCode{</text:span><text:span text:style-name="and">}}and~% | |
\lowercase{\HCode{</text:span><text:span text:style-name="xxxx">}}} | |
{}%{\HCode{<text:line-break />}} | |
\NewConfigureOO{authors} | |
\ConfigureOO{authors}{% | |
<style:style style:name="authors" | |
style:family="paragraph" | |
>\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract-title"> | |
<style:paragraph-properties | |
fo:margin-left="0.3in" | |
fo:margin-right="0.2799in" | |
fo:text-indent="0in" | |
fo:margin-top="0in" | |
fo:margin-bottom="0.0783in" | |
fo:text-align="start" | |
style:justify-single-word="false" | |
style:auto-text-indent="false" | |
/> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{keywords} | |
\ConfigureOO{keywords}{\Hnewline | |
<style:style style:name="keywords" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:font-style="italic" | |
fo:text-indent="0cm" | |
fo:text-align="left" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline > } | |
\Configure{addresses} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="addresses"></text:p>}\ShowPar | |
\bgroup | |
\HTML:PAR{nested-p-\ifHCond nopar\else noindent\fi}% | |
{nested-p-\ifdim \parindent=\z@ no\fi indent}% | |
} | |
{\ifvmode \IgnorePar \fi \EndP \egroup | |
\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="end-addresses"></text:p>}} | |
\Configure{address} | |
{\HCode{<text:span text:style-name="address-title">}} | |
{\ifvmode \IgnorePar\fi \HCode{</text:span><text:span text:style-name="address">}} | |
{\HCode{</text:span>}} | |
\Configure{curraddr} | |
{\HCode{<text:span text:style-name="curraddr-title">}} | |
{\ifvmode \IgnorePar\fi \HCode{</text:span><text:span text:style-name="curraddr">}} | |
{\HCode{</text:span>}} | |
\Configure{email} | |
{\HCode{<text:span text:style-name="email-title">}} | |
{\ifvmode \IgnorePar\fi \HCode{</text:span><text:span text:style-name="email">}} | |
{\HCode{</text:span>}} | |
\Configure{urladdr} | |
{\HCode{<text:span text:style-name="urladdr-title">}} | |
{\ifvmode \IgnorePar\fi \HCode{</text:span><text:span text:style-name="urladdr">}} | |
{\HCode{</text:span>}} | |
\NewConfigureOO{address} | |
\ConfigureOO{address}{ | |
<style:style style:name="address" style:family="text"> | |
<style:text-properties fo:text-transform="capitalize" | |
/> | |
</style:style> | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{amsbook} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{amsproc} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\def\tableofcontents{\:tableofcontents} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{amsmath} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\def\:temp{{\protect\AmSfont AMS}} | |
\HLet\AmS\:temp | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{babel} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{quotedblbase}{\leavevmode\ht:special{t4ht@+&{35}x201E;}x} | |
\Configure{quotesinglbase}{\leavevmode\ht:special{t4ht@+&{35}x201A;}x} | |
\Configure{accent}\lower@umlaut\lower@umlaut{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}% | |
t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}% | |
a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% | |
Y{0178}\i{00EF}% | |
{}{34}} | |
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{ngerman} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{quotedblbase}{\leavevmode\ht:special{t4ht@+&{35}x201E;}x} | |
\Configure{quotesinglbase}{\leavevmode\ht:special{t4ht@+&{35}x201A;}x} | |
\Configure{accent}\grmn@OTumlaut | |
\grmn@OTumlaut{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}% | |
t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}% | |
a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% | |
Y{0178}\i{00EF}% | |
{}{34}} | |
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{plain} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\expandafter\let\csname tex4ht:4ht\endcsname\empty | |
\def\no:dupl#1#2{% | |
\expandafter\ifx \csname #1:4ht\endcsname\relax | |
\expandafter\let \csname #1:4ht\endcsname\empty | |
\expand:after{#2}% | |
\fi | |
} | |
\Hinclude{\def\:temp{\ht:everypar={\setbox0=\lastbox\ht:everypar={}}}% | |
\ifx \NoindentAfter\:temp | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{osudeG} | |
\Hinclude{\ifx\amstexloaded@\relax | |
\no:dupl{#1}{ | |
\ifx \Space@\:UnDef \expand:after{\input #1.4ht} % | |
\else \input vanilla.4ht \fi}% | |
\fi} | |
{amstex} | |
\Hinclude{\expandafter\ifx \csname amsppt.sty\endcsname\relax \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{amsppt} | |
\Hinclude{\ifx \texinfoversion\:UnDef\else | |
\no:dupl{#1}{\expand:after{\input texinfo.4ht}}\fi} | |
{texinfo} | |
\Hinclude{\ifx \thistubstyle\:UnDef\else | |
\no:dupl{#1}{\expand:after{\input tugboat.4ht}}\fi} | |
{tugboat} | |
\expandafter\let\csname tex4ht:4ht\endcsname\empty | |
\def\no:dupl#1#2{% | |
\expandafter\ifx \csname #1:4ht\endcsname\relax | |
\expandafter\let \csname #1:4ht\endcsname\empty | |
\expand:after{#2}% | |
\fi | |
} | |
\Hinclude{\ifx \PsfigVersion\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi} | |
{psfig} | |
\Hinclude{\:CheckOption{#1} | |
\if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{pictex} | |
\Hinclude{% | |
\expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{pstricks} | |
\Hinclude{% | |
\ifx \:DraCatCodes\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{dratex} | |
\Hinclude{% | |
\ifx \xyloaded\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{xy} | |
\Hinclude{% | |
\ifx \epsfsetgraph\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{epsf} | |
\Hinclude{% | |
\ifx \diagram@help@messages\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{diagrams} | |
\Hinclude{% | |
\ifx \figvisu\:UnDef \else | |
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{fig4tex} | |
\Hinclude{} | |
{pctable} | |
\Hinclude{% | |
\:CheckOption{xhtml}\if:Option \fi} | |
{xhtml} | |
\Hinclude{\:CheckOption{#1} | |
\if:Option\else \:CheckOption{ShowFont}\fi | |
\if:Option\else \:CheckOption{frames-}\fi | |
\if:Option\else \:CheckOption{frames}\fi | |
\if:Option\else \:CheckOption{image-maps}\fi | |
\if:Option\else \:CheckOption{java}\fi | |
\if:Option\else \:CheckOption{javascript}\fi | |
\if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi} | |
{th4} | |
\Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else | |
\no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi} | |
{hebtex} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{biblatex} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{thebibliography}% | |
{\ifvmode \IgnorePar\fi \EndP | |
\EndP\HCode{<text:list text:style-name="printthebibliography" | |
text:name="printthebibliography"\Hnewline>}% | |
\PushMacro\end:itm | |
\global\let\end:itm=\empty} | |
{\ifvmode \IgnorePar\fi \EndP | |
\PopMacro\end:itm \global\let\end:itm \end:itm | |
\EndP\HCode{</text:p></text:list-item></text:list>}\ShowPar} | |
{\ifvmode \IgnorePar\fi \EndP | |
\end:itm \global\def\end:itm{\EndP\HCode{</text:p></text:list-item>}}% | |
\HCode{<text:list-item><text:h | |
text:style-name="printthebibliography-dt"\Hnewline>}\bgroup \bf} | |
{\ifvmode \IgnorePar\fi \EndP | |
\egroup\HCode{</text:h><text:p | |
text:style-name="printthebibliography-dd"\Hnewline>}\par\ShowPar} | |
\Configure{bibinit}{\IgnorePar} | |
\Configure{printshorthands} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:list | |
text:style-name="printshorthands" | |
text:name="printshorthands"\Hnewline | |
><text:list-item><text:h | |
text:style-name="printshorthands-dt"\Hnewline>}% | |
} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{</text:list-item></text:list>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{</text:list-item><text:list-item><text:h | |
text:style-name="printshorthands-dt"\Hnewline>}} | |
{\HCode{</text:h><text:p text:style-name="printshorthands-dd">}% | |
\Next:EndP{\HCode{</text:p>}}% | |
} | |
\Configure{@shorthands} | |
{\Configure{printfield-annotation} | |
{\HTML:PAR{printshorthands-dd}{printshorthands-dd}} | |
{}% | |
} | |
\Configure{biblatex-style}{authortitle}{} | |
\Configure{biblatex-style}{authortitle-comp}{} | |
\Configure{biblatex-style}{authortitle-tcomp}{} | |
\Configure{biblatex-style}{authortitle-icomp}{} | |
\Configure{biblatex-style}{authortitle-ibid}{} | |
\Configure{biblatex-style}{authoryear}{} | |
\Configure{biblatex-style}{authoryear-ibid}{} | |
\Configure{biblatex-style}{authoryear-comp}{} | |
\Configure{biblatex-style}{verbose}{} | |
\Configure{biblatex-style}{verbose-ibid}{} | |
\Configure{biblatex-style}{verbose-note}{} | |
\Configure{biblatex-style}{alphabetic-verb}{} | |
\Configure{biblatex-style}{alphabetic}{} | |
\Configure{biblatex-style}{numeric}{} | |
\Configure{biblatex-style}{numeric-verb}{} | |
\Configure{biblatex-style}{numeric-comp}{} | |
\Configure{biblatex-style}{draft}{} | |
\Configure{biblatex-style}{reading}{} | |
\Configure{biblatex-style}{verbose-trad1}{} | |
\Configure{biblatex-style}{verbose-trad2}{} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{url} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\:CheckOption{url-il2-pl} \if:Option | |
\else \:CheckOption{url-enc} \fi | |
\if:Option | |
\Configure{string-encoder}{url-encoder} | |
% \:CheckOption{url-il2-pl} \if:Option | |
\input{html4-l2-url.4ht} | |
% \else | |
% \Log:Note{for il2-pl url encoding, | |
% use the command line option 'url-il2-pl'} | |
% \fi | |
\Configure{url}% | |
{\tmp:toks={}\set:spaces#1!*?: % | |
\edef\:temp{\tmp:toks{\csname url-encoder\expandafter\endcsname | |
\the\tmp:toks !*?: }}\:temp | |
% | |
\Link[\noexpand\the\tmp:toks \space | |
class="url"]{}{}{\let\UrlBigBreaks\empty | |
\let\UrlBreaks\empty #1}\EndLink} | |
\def\set:spaces{\futurelet\:temp\set:spacesoo} | |
\def\set:spacesoo{% | |
\expandafter\ifx \space\:temp | |
\tmp:toks\expandafter{\the\tmp:toks{ }}% | |
\fi | |
\set:spaceso | |
} | |
\def\set:spaceso#1#2!*?: {% | |
\tmp:toks\expandafter{\the\tmp:toks #1}% | |
\if :#2:\else \set:spaces#2!*?: \fi | |
} | |
\else | |
\:CheckOption{url-} \if:Option | |
\Configure{url}% | |
{{\let\UrlBigBreaks\empty \let\UrlBreaks\empty #1}}% | |
\else | |
\Log:Note{for URL encoding within href | |
use the command line option `url-enc'; for hyperlink-less | |
entry use the command line option `url-'} | |
\Configure{url}% | |
{\tmp:toks{#1}\Link[\noexpand\the\tmp:toks\space | |
class="url"]{}{}{\let\UrlBigBreaks\empty | |
\let\UrlBreaks\empty #1}\EndLink} | |
\fi | |
\fi | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{hyperref} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ifx \@baseurl\@empty \else | |
\Configure{@HEAD} | |
{\HCode{<!--base href="\:baseurl" /-->}} | |
\let\:baseurl\@baseurl | |
\let\@baseurl=\@empty | |
\fi | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{longtable} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{halignTB<>}{longtable}{\HCode{\Hnewline | |
table:style-name="longtable" | |
}<>\HAlign} | |
\Configure{longtable} | |
{\IgnorePar\EndP \HCode{<!--l. \the\inputlineno-->% | |
}% | |
\halignTB{longtable}% | |
\putVBorder | |
} | |
{\HCode{</table:table>}} | |
{\HCode{<table:table-row \Hnewline}\halignTR\HCode{ | |
table:style-name="TBL-\TableNo-\HRow-">}} | |
{\HCode{</table:table-row>}} | |
{\HCode{<table:table-cell | |
\ifnum \HMultispan>1 table:number-columns-spanned="\HMultispan"\fi | |
\space table:style-name="TBL-\TableNo-\HRow-\HCol" ><text:p>}\SaveEndP | |
% | |
\par \ShowPar | |
\PushStack\Table:Stck\TableNo} | |
{\PopStack\Table:Stck\TableNo | |
\IgnorePar \EndP | |
\HCode{</text:p></table:table-cell>}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{tabularx} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{tabularx} | |
{\Configure{noalign}% | |
{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}} | |
{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}% | |
% | |
\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi | |
\EndP | |
\PushStack\Col:Bars\:AllColBars | |
\PushStack\Col:Marg\AllColMargins | |
% | |
} | |
{\PopStack\Col:Bars\:AllColBars | |
\PopStack\Col:Marg\AllColMargins | |
\ShowPar | |
\Configure{noalign}{}{}% | |
% | |
\ShowPar | |
% | |
}{}{} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{german} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{quotedblbase}{\leavevmode\ht:special{t4ht@+&{35}x201E;}x} | |
\Configure{quotesinglbase}{\leavevmode\ht:special{t4ht@+&{35}x201A;}x} | |
\Configure{accent}\grmn@OTumlaut | |
\grmn@OTumlaut{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}% | |
t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}% | |
a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% | |
Y{0178}\i{00EF}% | |
{}{34}} | |
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{fancyvrb} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\HAssign\fancyvrbNo=0 | |
\Configure{fancyvrb} | |
{\IgnorePar \EndP \gHAdvance\fancyvrbNo by 1 | |
\gHAssign\fancyvrb:cnt0 | |
\HCode{<text:p text:style-name="fancyvrb\fancyvrbNo">}} | |
{\EndP\HCode{</text:p>}} | |
{\gHAdvance\fancyvrb:cnt by 1 | |
\ifnum \fancyvrb:cnt>1 | |
\HCode{<text:line-break />}\fi} {} | |
{}{} | |
\Configure{BVerbatimInput} | |
{\ifvmode \IgnorePar \fi \EndP | |
\gHAssign\HRow=0 | |
\HCode{<text:p text:style-name="BVerbatimInput">}} | |
{\ifvmode \IgnorePar \fi \EndP \HCode{</text:p>}} | |
{\gHAdvance\HRow by 1 \ifnum \HRow>1 \HCode{<text:line-break />}\fi}{} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{color} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{color}{\:gobble} | |
\Configure{HColor:gray}{% | |
\int:of\:tempa{255}{#1}% | |
\hex:of\:tempa | |
\Configure{HColor}{}{\#\:tempa\:tempa\:tempa}% | |
} | |
\Configure{HColor:rgb}{% | |
\int:of\:tempa{255}{#1}% | |
\int:of\:tempb{255}{#2}% | |
\int:of\:tempc{255}{#3}% | |
\hex:of\:tempa | |
\hex:of\:tempb | |
\hex:of\:tempc | |
\Configure{HColor}{}{\#\:tempa\:tempb\:tempc}% | |
} | |
\Configure{HColor:cmyk}{% | |
\int:of\:Cyan{255}{#1}% | |
\int:of\:Magenta{255}{#2}% | |
\int:of\:Yellow{255}{#3}% | |
\int:of\:Black{255}{#4}% | |
\:cmyk\:tempa\:Cyan | |
\:cmyk\:tempb\:Magenta | |
\:cmyk\:tempc\:Yellow | |
\hex:of\:tempa | |
\hex:of\:tempb | |
\hex:of\:tempc | |
\Configure{HColor}{}{\#\:tempa\:tempb\:tempc}% | |
} | |
\def\int:of#1#2#3{% | |
\tmp:dim=#3pt \tmp:dim=#2\tmp:dim | |
\edef\:temp{\tmp:cnt\the\tmp:dim//}% | |
\def#1##1//{}\afterassignment#1\:temp | |
\edef#1{\the\tmp:cnt}% | |
} | |
\def\hex:of#1{% | |
\tmp:cnt=#1 | |
\divide\tmp:cnt by 16 | |
\edef\:temp{\ifcase \tmp:cnt 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or | |
8\or 9\or A\or B\or C\or D\or E\or F\fi}% | |
\multiply\tmp:cnt by -16 \advance\tmp:cnt by #1 | |
\edef#1{\:temp | |
\ifcase \tmp:cnt 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or | |
8\or 9\or A\or B\or C\or D\or E\or F\fi}% | |
} | |
\def\:cmyk#1#2{% | |
\tmp:cnt=255 \advance\tmp:cnt by -\:Black | |
\multiply\tmp:cnt by#2 \advance\tmp:cnt by \:Black | |
\advance\tmp:cnt by -255 \tmp:cnt=-\tmp:cnt | |
\ifnum \tmp:cnt<0 \tmp:cnt=0 \fi | |
\edef#1{\the\tmp:cnt}% | |
} | |
\Configure{fcolorbox} | |
{\bgroup\gHAdvance\textcolorN by 1 | |
\ifvmode \let\v:colorbox\def \IgnorePar \EndP | |
\else \let\v:colorbox=\relax \fi | |
\ifx \v:colorbox\def | |
\HCode{<text:p \Hnewline | |
text:style-name="colorbox\textcolorN">}% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\let\A:color=\a:color | |
\Configure{color}% | |
{\Configure{color}% | |
{\let\a:color=\A:color | |
\Configure{SetHColor}{% | |
\OOstyles{<style:style style:name="colorbox\textcolorN" | |
style:family="paragraph"\> | |
% <style:text-properties style:text-background-color="\HColor"/> | |
<style:text-properties fo:color="\HColor" | |
fo:background-color="transparent" /> | |
</style:style>}% | |
}}% | |
\Configure{SetHColor}{% | |
% \hshow{\#colorbox\textcolorN{border: solid 1px \HColor;}}% | |
}% | |
}% | |
\Configure{fbox}{\leavevmode }{}% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\else | |
\HCode{<text:span \Hnewline | |
text:style-name="colorbox\textcolorN">}% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\let\A:color=\a:color | |
\Configure{color}% | |
{\Configure{color}% | |
{\let\a:color=\A:color | |
\Configure{SetHColor}{% | |
\OOstyles{<style:style style:name="colorbox\textcolorN" style:family="text"> | |
% <style:text-properties style:text-background-color="\HColor" /> | |
<style:text-properties fo:color="\HColor" | |
fo:background-color="transparent" /> | |
</style:style>}% | |
}}% | |
\Configure{SetHColor}{% | |
% \hshow{\#colorbox\textcolorN{border: solid 1px \HColor;}}% | |
}% | |
}% | |
\Configure{fbox}{\leavevmode }{}% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\fi | |
} | |
{\ifx \v:colorbox\def | |
\EndP\HCode{</text:p>}\par | |
\else \HCode{</text:span>}\fi | |
\egroup | |
} | |
\HAssign\textcolorN=0 | |
\Configure{textcolor} | |
{\gHAdvance\textcolorN by 1 | |
\Configure{color}% | |
{\Configure{SetHColor}{% | |
\OOstyles{% | |
<style:style style:name="textcolor\textcolorN" style:family="text"> | |
<style:text-properties fo:color="\HColor" | |
fo:background-color="transparent" /> | |
</style:style>}% | |
}}% | |
\HCode{<text:span text:style-name="textcolor\textcolorN">}}% | |
{\HCode{</text:span>}}% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{xcolor} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{rowcolors} | |
{\Configure{SetHColor}{% | |
\expandafter\ifx \csname HColor\endcsname\relax \else | |
% \hshow{tr\#TBL-\TableNo-\the\rownum-{background-color:\HColor}}% | |
\fi | |
}} | |
\Configure{HColor!gray}{% | |
\XC@c@lcD\rangeGray{}{#1}\@@tmp | |
\int:of\:tempa{255}{\@@tmp}% | |
\hex:of\:tempa | |
\Configure{HColor}{}{\#\:tempa\:tempa\:tempa}% | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{verse} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{verse} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
% | |
\HCode{<!--start verse-->}% | |
\bgroup | |
\Configure{HtmlPar} | |
{\ifvmode \IgnorePar\fi \EndP\end:verseln | |
\HCode{<text:p text:style-name="verse-stanza" >}} | |
{\ifvmode \IgnorePar\fi \EndP\end:verseln | |
\HCode{<text:p text:style-name="verse-stanza" >}} | |
{\HCode{</text:p>}\let\end:verseln\empty} | |
{\HCode{</text:p>}\let\end:verseln\empty}% | |
\let\end:verseln\empty | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi \EndP\HCode{<!--end verse-->}\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{}{} | |
\ConfigureList{verse} | |
{} {\ifvmode \IgnorePar\fi \EndP \end:verseln} | |
{\parindent=\z@} {} | |
\Configure{verseline} | |
{\ifvmode \IgnorePar\fi \EndP \end:verseln | |
\HCode{<text:p text:style-name="verse">}\def\end:verseln{\HCode{</text:p>}}} | |
{\ifvmode \IgnorePar\fi \EndP \end:verseln | |
\HCode{<text:p text:style-name="verse">}% | |
\def\end:verseln{\HCode{</text:p>}}} | |
\ConfigureOO{verse}{\Hnewline | |
<style:style style:name="verse" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-left="1.499cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="-0.499cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
\NewConfigureOO{verse-stanza} | |
\ConfigureOO{verse-stanza}{\Hnewline | |
<style:style style:name="verse-stanza" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-left="1.499cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0.5cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="-0.499cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{frenchb} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{frenchb-thinspace}{\HCode{\string&\:sharp x202F;}\setbox\tmp:bx=\hbox\bgroup}{\egroup} | |
\Configure{frenchb-nbsp}{\:nbsp\setbox\tmp:bx=\hbox\bgroup}{\egroup} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{apacite} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{bibcite}{\def\ { }} | |
\Configure{cite} | |
{\HCode{<!--cite-->}\bgroup | |
\def\:nbsp{ }\NoFonts | |
} | |
{\EndNoFonts\egroup \HCode{<!--/cite-->}} | |
{}{} | |
\let\@cite\lat:cite | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{wrapfig} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\pend:def\WFclear{% | |
\let\orig:par\par% | |
\def\par{\let\par\orig:par}% | |
}% | |
\append:def\WFclear{\let\par\orig:par} | |
\Configure{wrapfloat} | |
{\ifvmode \IgnorePar\fi \EndP% | |
\HCode{<text:section text:name="wrapfig-\WFplace" ><text:p>}\bgroup\HtmlParOff} | |
{\ifvmode \IgnorePar\fi\EndP% | |
\HCode{</text:p></text:section>}% | |
\HtmlParOn\egroup% | |
\csname par\endcsname\ShowPar% | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{subscript} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{textsubscript} | |
{\HCode{<text:span text:style-name="textsubscript">}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="textsubscript" style:family="text">\Hnewline | |
<style:text-properties style:text-position="sub"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{scrbook} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{titlepage} | |
{\bgroup | |
\ifvmode \IgnorePar\fi \EndP | |
% \HCode{<div class="titlepage">}% | |
\Configure{tabular}{}{}{}{}{}{}% | |
\ConfigureEnv{tabular}{}{}{}{}{}{}% | |
\ConfigureEnv{center}{}{}{}{}} | |
{\ifvmode \IgnorePar\fi \EndP | |
% \HCode{</div>}% | |
\egroup} | |
{} {} | |
\Configure{dedication} | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="Text-body" >}} | |
{\ifvmode \IgnorePar\fi\EndP \HCode{</text:p>}} | |
\ConfigureMark{chapter} | |
{\if@mainmatter \thechapter.~~\fi} | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}% | |
\ifx \chaptername\:UnDef\else \chaptername~\fi} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likechapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{appendix} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{part} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likepart} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{section} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesection} | |
{\HCode{<text:p text:style-name="P2"><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="chapterToc" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{addchap} | |
{} | |
{\HCode{<text:p text:style-name="addchapToc" >}} | |
{} | |
{\HCode{</text:p>}} | |
\def\ref:name{\refname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{quote} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{\EndP \ifvmode \IgnorePar\fi | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
% | |
} | |
{\IgnorePar\EndP \egroup \ShowPar \ShowIndent} | |
\ConfigureEnv{quotation} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar \noindent} | |
{\IgnorePar\EndP \bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\EndP\IgnorePar \egroup \ShowPar } | |
\NewConfigureOO{quotation} | |
\ConfigureOO{quotation} | |
{\Hnewline | |
<style:style style:name="quotation" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="quotation-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ConfigureEnv{flushright} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushright-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushright-->}\ShowPar | |
} | |
{} {} | |
\ConfigureList{flushright} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushright} | |
\ConfigureOO{flushright} | |
{\Hnewline | |
<style:style style:name="flushright" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body" | |
style:master-page-name=""> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:page-number="0"/> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushleft-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushleft-->}\par\ShowPar} | |
{} {} | |
\ConfigureList{flushleft} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushleft} | |
\ConfigureOO{flushleft} | |
{\Hnewline | |
<style:style style:name="flushleft" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="start" | |
style:justify-single-word="false"/> | |
</style:style> | |
\Hnewline} | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin center-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end center-->}\par\ShowPar | |
} | |
{} {} | |
\ConfigureList{center} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{center} | |
\ConfigureOO{center} | |
{\Hnewline | |
<style:style style:name="center" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="center" | |
style:justify-single-word="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style>\Hnewline | |
} | |
\Configure{centerline} | |
{\EndP \ifvmode \IgnorePar \fi | |
\HCode{<text:p text:style-name="FirstCenterPar" >}} | |
{\HCode{</text:p>}\ShowPar\par{\HCondtrue\noindent}% | |
} | |
\HAssign\tabbing:N=0 | |
\Configure{tabbing}[1.5]{\IgnorePar\leavevmode | |
\gHAdvance\tabbing:N by 1 | |
\gHAssign\tabbing:Nrow=0 | |
\ht:special{t4ht=<text:p | |
text:style-name="tabbing" \Hnewline >}} | |
{\ht:special{t4ht=</text:p>\Hnewline}\ShowPar} | |
{\gHAdvance\tabbing:Nrow by 1 | |
\ht:special{t4ht=<text:span\Hnewline | |
text:style-name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>}% | |
\OOstyles{% | |
<style:style style:name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
\ifx \TabWidth\empty \else | |
fo:width="\TabWidth pt" | |
\fi | |
\ifx \`\TabType | |
style:text-align="right" | |
\fi | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
} | |
{\ht:special{t4ht=</text:span>}} | |
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{} | |
\NewConfigureOO{tabbing} | |
\ConfigureOO{tabbing}{<style:style style:name="tabbing" | |
style:family="paragraph" | |
style:parent-style-name="Standard" >\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.5cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{table} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="table" >}% | |
\bgroup \Configure{float}{\ShowPar}{}{\ShowPar\IgnoreIndent\csname par\endcsname}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\Configure{chapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\endcsname" | |
\text:outlinelevel="1" ><text:span | |
text:style-name="chapter">}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likechapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter*--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\endcsname" | |
\text:outlinelevel="1" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{addchap} | |
{\IgnorePar\EndP \HCode{<!--start of addchap--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of addchap-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\endcsname" | |
\text:outlinelevel="1" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \thesection\space\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-2\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section">}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \thesubsection\space\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-3\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesection} | |
{\IgnorePar\EndP \HCode{<!--start of section*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-2\endcsname" | |
\text:outlinelevel="2" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-3\endcsname" | |
\text:outlinelevel="3" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{theindex} | |
{\ifvmode\IgnorePar\fi | |
\EndP\HCode{<text:alphabetical-index text:name="theindex" > | |
<text:alphabetical-index-source | |
text:sort-algorithm="alphanumeric" >\Hnewline | |
<text:index-title-template | |
text:style-name="Index-Heading" >\indexname | |
</text:index-title-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="1" | |
text:style-name="Index-1" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="2" | |
text:style-name="Index-2" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="3" | |
text:style-name="Index-3" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
\Hnewline | |
</text:alphabetical-index-source>\Hnewline | |
% | |
<text:index-body>\Hnewline}% | |
\csname put:IndexTitle\endcsname | |
} | |
{\HCode{</text:index-body></text:alphabetical-index>}} | |
{\HCode{<text:p text:style-name="P6" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P7" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P8" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{} | |
\Configure{LNK}{\oo:LNK}{\EndLink}{} | |
\Odef\oo:LNK[#1]#2#3{\Link{#2}{#3}} | |
\Configure{@begin}{theindex}{\ifx \indexname\empty \else | |
\def\put:IndexTitle{\HCode{<text:index-title | |
text:style-name="Sect1" | |
text:name="Alphabetical_Index1_Head" | |
><text:p | |
text:style-name="Index-Heading" >}\indexname | |
\HCode{</text:p></text:index-title>\Hnewline} | |
}\fi} | |
\Configure{endlikeparagraph} | |
{paragraph,subsubsection,likesubsubsection,subsection,% | |
likesubsection,section,% | |
likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endsubparagraph} | |
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,% | |
subsection,likesubsection,section,% | |
likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endlikesubparagraph} | |
{subparagraph,likeparagraph,subsubsection,likesubsubsection,% | |
subsection,likesubsection,section,% | |
likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endsection} | |
{likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endlikesection} | |
{section,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endsubsection} | |
{likesubsection,section,likesection,chapter,% | |
likechapter,addchap,appendix,part,likepart} | |
\Configure{endlikesubsection} | |
{subsection,section,likesection,chapter,% | |
likechapter,addchap,appendix,part,likepart} | |
\Configure{endsubsubsection} | |
{likesubsubsection,subsection,likesubsection,section,% | |
likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endlikesubsubsection} | |
{subsubsection,subsection,likesubsection,section,% | |
likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{endparagraph} | |
{likeparagraph,subsubsection,likesubsubsection,subsection,% | |
likesubsection,section,% | |
likesection,chapter,likechapter,addchap,appendix,part,likepart} | |
\Configure{listoffigures} | |
{\let\contentsname\listfigurename \let\listfigurename\empty} | |
{} | |
\Configure{listoftables} | |
{\let\contentsname\listtablename \let\listtablename\empty} | |
{} | |
\ConfigureToc{lof} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
\ConfigureToc{lot} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{scrartcl} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\def\ref:name{\bibname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{quote} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{\EndP \ifvmode \IgnorePar\fi | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
% | |
} | |
{\IgnorePar\EndP \egroup \ShowPar \ShowIndent} | |
\ConfigureEnv{quotation} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar \noindent} | |
{\IgnorePar\EndP \bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\EndP\IgnorePar \egroup \ShowPar } | |
\NewConfigureOO{quotation} | |
\ConfigureOO{quotation} | |
{\Hnewline | |
<style:style style:name="quotation" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="quotation-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ConfigureEnv{flushright} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushright-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushright-->}\ShowPar | |
} | |
{} {} | |
\ConfigureList{flushright} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushright} | |
\ConfigureOO{flushright} | |
{\Hnewline | |
<style:style style:name="flushright" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body" | |
style:master-page-name=""> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:page-number="0"/> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushleft-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushleft-->}\par\ShowPar} | |
{} {} | |
\ConfigureList{flushleft} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushleft} | |
\ConfigureOO{flushleft} | |
{\Hnewline | |
<style:style style:name="flushleft" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="start" | |
style:justify-single-word="false"/> | |
</style:style> | |
\Hnewline} | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin center-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end center-->}\par\ShowPar | |
} | |
{} {} | |
\ConfigureList{center} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{center} | |
\ConfigureOO{center} | |
{\Hnewline | |
<style:style style:name="center" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="center" | |
style:justify-single-word="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style>\Hnewline | |
} | |
\Configure{centerline} | |
{\EndP \ifvmode \IgnorePar \fi | |
\HCode{<text:p text:style-name="FirstCenterPar" >}} | |
{\HCode{</text:p>}\ShowPar\par{\HCondtrue\noindent}% | |
} | |
\HAssign\tabbing:N=0 | |
\Configure{tabbing}[1.5]{\IgnorePar\leavevmode | |
\gHAdvance\tabbing:N by 1 | |
\gHAssign\tabbing:Nrow=0 | |
\ht:special{t4ht=<text:p | |
text:style-name="tabbing" \Hnewline >}} | |
{\ht:special{t4ht=</text:p>\Hnewline}\ShowPar} | |
{\gHAdvance\tabbing:Nrow by 1 | |
\ht:special{t4ht=<text:span\Hnewline | |
text:style-name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>}% | |
\OOstyles{% | |
<style:style style:name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
\ifx \TabWidth\empty \else | |
fo:width="\TabWidth pt" | |
\fi | |
\ifx \`\TabType | |
style:text-align="right" | |
\fi | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
} | |
{\ht:special{t4ht=</text:span>}} | |
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{} | |
\NewConfigureOO{tabbing} | |
\ConfigureOO{tabbing}{<style:style style:name="tabbing" | |
style:family="paragraph" | |
style:parent-style-name="Standard" >\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.5cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{table} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="table" >}% | |
\bgroup \Configure{float}{\ShowPar}{}{\ShowPar\IgnoreIndent\csname par\endcsname}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \thesection\space\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-2\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section">}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \thesubsection\space\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-3\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesection} | |
{\IgnorePar\EndP \HCode{<!--start of section*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-2\endcsname" | |
\text:outlinelevel="2" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-3\endcsname" | |
\text:outlinelevel="3" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{theindex} | |
{\ifvmode\IgnorePar\fi | |
\EndP\HCode{<text:alphabetical-index text:name="theindex" > | |
<text:alphabetical-index-source | |
text:sort-algorithm="alphanumeric" >\Hnewline | |
<text:index-title-template | |
text:style-name="Index-Heading" >\indexname | |
</text:index-title-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="1" | |
text:style-name="Index-1" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="2" | |
text:style-name="Index-2" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="3" | |
text:style-name="Index-3" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
\Hnewline | |
</text:alphabetical-index-source>\Hnewline | |
% | |
<text:index-body>\Hnewline}% | |
\csname put:IndexTitle\endcsname | |
} | |
{\HCode{</text:index-body></text:alphabetical-index>}} | |
{\HCode{<text:p text:style-name="P6" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P7" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P8" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{} | |
\Configure{LNK}{\oo:LNK}{\EndLink}{} | |
\Odef\oo:LNK[#1]#2#3{\Link{#2}{#3}} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{scrreprt} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{titlepage} | |
{\bgroup | |
\ifvmode \IgnorePar\fi \EndP | |
% \HCode{<div class="titlepage">}% | |
\Configure{tabular}{}{}{}{}{}{}% | |
\ConfigureEnv{tabular}{}{}{}{}{}{}% | |
\ConfigureEnv{center}{}{}{}{}} | |
{\ifvmode \IgnorePar\fi \EndP | |
% \HCode{</div>}% | |
\egroup} | |
{} {} | |
\Configure{dedication} | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="Text-body" >}} | |
{\ifvmode \IgnorePar\fi\EndP \HCode{</text:p>}} | |
\ConfigureMark{chapter}{\thechapter~~} | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{abstract} | |
{\IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP \egroup \ShowPar\par \IgnoreIndent } | |
{\ifvmode \IgnorePar\fi\EndP | |
\HCode{<text:p text:style-name="abstract-title" >}% | |
} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{abstract} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{abstract-title} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{Contents 1} | |
\ConfigureOO{Contents 1}{\Hnewline | |
<style:style style:name="Contents-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.101cm" | |
fo:font-weight="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="16.999cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
\NewConfigureOO{Contents 2} | |
\ConfigureOO{Contents 2}{\Hnewline | |
<style:style style:name="Contents-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16.499cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 3} | |
\ConfigureOO{Contents 3}{\Hnewline | |
<style:style style:name="Contents-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"> | |
<style:tab-stops> | |
<style:tab-stop style:position="16cm" | |
style:type="right" | |
style:leader-char="."/> | |
</style:tab-stops> | |
</style:paragraph-properties > | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 4} | |
\ConfigureOO{Contents 4}{\Hnewline | |
<style:style style:name="Contents-4" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.498cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops> | |
<style:tab-stop style:position="15.501cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Contents 5} | |
\ConfigureOO{Contents 5}{\Hnewline | |
<style:style style:name="Contents-5" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="1.997cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops>\Hnewline | |
<style:tab-stop style:position="15.002cm" | |
style:type="right" | |
style:leader-char="."/>\Hnewline | |
</style:tab-stops>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 1} | |
\ConfigureOO{Index 1}{\Hnewline | |
<style:style style:name="Index-1" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index"> | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline } | |
% | |
\NewConfigureOO{Index 2} | |
\ConfigureOO{Index 2}{\Hnewline | |
<style:style style:name="Index-2" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.499cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\NewConfigureOO{Index 3} | |
\ConfigureOO{Index 3}{\Hnewline | |
<style:style style:name="Index-3" | |
style:family="paragraph" | |
style:parent-style-name="Index" | |
style:class="index">\Hnewline | |
<style:paragraph-properties fo:margin-left="0.998cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style> | |
\Hnewline} | |
% | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}% | |
\ifx \chaptername\:UnDef\else \chaptername~\fi} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likechapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{appendix} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{part} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likepart} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{section} | |
{\HCode{<text:p text:style-name="P2" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesection} | |
{\HCode{<text:p text:style-name="P2"><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsection} | |
{\HCode{<text:p text:style-name="P3" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{subsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{likesubsubsection} | |
{\HCode{<text:p text:style-name="P4" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="chapterToc" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\ConfigureToc{addchap} | |
{} | |
{\HCode{<text:p text:style-name="addchapToc" >}} | |
{} | |
{\HCode{</text:p>}} | |
\def\ref:name{\bibname} | |
\HAssign\bib:N=0 | |
\:CheckOption{bib-}\if:Option | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\let\en:bib=\empty | |
} | |
{\en:bib} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\else | |
\Log:Note{for a degraded bibliography friendlier for conversion to .doc, | |
use the command line option `bib-'} | |
\ConfigureList{thebibliography}% | |
{\IgnorePar\EndP \gHAdvance\bib:N by 1 | |
\HCode{<text:bibliography text:name="bib-\bib:N" > | |
<text:bibliography-source>\Hnewline | |
<text:index-title-template>}\NoFonts\ref:name\EndNoFonts\HCode{% | |
</text:index-title-template>\Hnewline | |
% | |
<text:bibliography-entry-template\Hnewline | |
text:bibliography-type="custom1" | |
text:style-name="Bibliography11" >\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="identifier" />\Hnewline | |
% | |
<text:index-entry-span>: </text:index-entry-span>\Hnewline | |
<text:index-entry-bibliography | |
text:bibliography-data-field="author" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="title" />\Hnewline | |
<text:index-entry-span>, </text:index-entry-span>\Hnewline | |
% | |
<text:index-entry-bibliography | |
text:bibliography-data-field="year" />\Hnewline | |
</text:bibliography-entry-template>\Hnewline | |
\Hnewline | |
</text:bibliography-source>\Hnewline | |
<text:index-body>\Hnewline | |
}\let\en:bib=\empty | |
} | |
{\en:bib\HCode{</text:index-body></text:bibliography>}} | |
{\en:bib\def\en:bib{\HCode{</text:p>}}\HCode | |
{<text:p text:style-name="p-bibitem" >}} | |
{} | |
\fi | |
\Configure{bibitem}{\Link}{\EndLink\space } | |
\NewConfigureOO{p-bibitem} | |
\ConfigureOO{p-bibitem}{% | |
<style:style style:name="p-bibitem"\Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-left="1cm"\Hnewline | |
fo:text-indent="-1cm"\Hnewline | |
fo:margin-right="0cm" \Hnewline | |
style:auto-text-indent="false">\Hnewline | |
<style:tab-stops/>\Hnewline | |
</style:paragraph-properties >\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{quote} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar} | |
{\EndP \ifvmode \IgnorePar\fi | |
\bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<!--l. \the\inputlineno-->% | |
% | |
<text:p text:style-name="quote\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
% | |
} | |
{\IgnorePar\EndP \egroup \ShowPar \ShowIndent} | |
\ConfigureEnv{quotation} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
\par\ShowPar \noindent} | |
{\IgnorePar\EndP \bgroup \Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP \HCode{<text:p text:style-name="quotation\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
} | |
{\EndP\IgnorePar \egroup \ShowPar } | |
\NewConfigureOO{quotation} | |
\ConfigureOO{quotation} | |
{\Hnewline | |
<style:style style:name="quotation" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="quotation-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="1cm" | |
fo:margin-right="1cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0cm" | |
fo:text-indent="0.499cm" | |
style:auto-text-indent="true" | |
fo:text-align="end" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
% | |
} | |
\ConfigureEnv{flushright} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushright-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushright-->}\ShowPar | |
} | |
{} {} | |
\ConfigureList{flushright} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\EndP \HCode{<text:p text:style-name="flushright" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushright} | |
\ConfigureOO{flushright} | |
{\Hnewline | |
<style:style style:name="flushright" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body" | |
style:master-page-name=""> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:page-number="0"/> | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin flushleft-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end flushleft-->}\par\ShowPar} | |
{} {} | |
\ConfigureList{flushleft} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\EndP \HCode{<text:p text:style-name="flushleft" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{flushleft} | |
\ConfigureOO{flushleft} | |
{\Hnewline | |
<style:style style:name="flushleft" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="start" | |
style:justify-single-word="false"/> | |
</style:style> | |
\Hnewline} | |
\ConfigureEnv{center} | |
{\ifvmode \IgnorePar\fi \EndP | |
\ifnum \BegEnd:D=0 | |
\gHAdvance\BegEnd:N by 1 | |
\HCode{<text:section | |
text:style-name="begin-end-env" | |
text:name="begin-end-env-\BegEnd:N" | |
>% | |
<text:p text:style-name="begin-env-p" ></text:p>}% | |
% | |
\else | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\fi | |
\gHAdvance\BegEnd:D by 1 | |
\HCode{<!--begin center-->}} | |
{\gHAdvance\BegEnd:D by -1 | |
\ifvmode \IgnorePar\fi\EndP | |
\ifnum \BegEnd:D=0 | |
\HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% | |
% | |
\else | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
% | |
\fi | |
% | |
\HCode{<!--end center-->}\par\ShowPar | |
} | |
{} {} | |
\ConfigureList{center} | |
{}{}{\Configure{HtmlPar} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\EndP \HCode{<text:p text:style-name="center" >}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\par}{} | |
\NewConfigureOO{center} | |
\ConfigureOO{center} | |
{\Hnewline | |
<style:style style:name="center" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body"> | |
<style:paragraph-properties fo:margin-top="0.199cm" | |
fo:margin-bottom="0.199cm" | |
fo:text-align="center" | |
style:justify-single-word="false"> | |
<style:tab-stops/> | |
</style:paragraph-properties > | |
</style:style>\Hnewline | |
} | |
\Configure{centerline} | |
{\EndP \ifvmode \IgnorePar \fi | |
\HCode{<text:p text:style-name="FirstCenterPar" >}} | |
{\HCode{</text:p>}\ShowPar\par{\HCondtrue\noindent}% | |
} | |
\HAssign\tabbing:N=0 | |
\Configure{tabbing}[1.5]{\IgnorePar\leavevmode | |
\gHAdvance\tabbing:N by 1 | |
\gHAssign\tabbing:Nrow=0 | |
\ht:special{t4ht=<text:p | |
text:style-name="tabbing" \Hnewline >}} | |
{\ht:special{t4ht=</text:p>\Hnewline}\ShowPar} | |
{\gHAdvance\tabbing:Nrow by 1 | |
\ht:special{t4ht=<text:span\Hnewline | |
text:style-name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>}% | |
\OOstyles{% | |
<style:style style:name="tabbing-\tabbing:N-\tabbing:Nrow" | |
>\Hnewline | |
<style:text-properties | |
fo:wrap-option="no-wrap" | |
\ifx \TabWidth\empty \else | |
fo:width="\TabWidth pt" | |
\fi | |
\ifx \`\TabType | |
style:text-align="right" | |
\fi | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
% | |
} | |
{\ht:special{t4ht=</text:span>}} | |
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{} | |
\NewConfigureOO{tabbing} | |
\ConfigureOO{tabbing}{<style:style style:name="tabbing" | |
style:family="paragraph" | |
style:parent-style-name="Standard" >\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:text-indent="0.5cm" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureEnv{table} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section text:name="table" >}% | |
\bgroup \Configure{float}{\ShowPar}{}{\ShowPar\IgnoreIndent\csname par\endcsname}% | |
} | |
{\egroup | |
\ifvmode \IgnorePar\fi\EndP \HCode{</text:section>}% | |
\csname par\endcsname\ShowPar} | |
{}{} | |
\Configure{chapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\endcsname" | |
\text:outlinelevel="1" ><text:span | |
text:style-name="chapter">}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likechapter} | |
{\IgnorePar\EndP \HCode{<!--start of chapter*--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of chapter*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\endcsname" | |
\text:outlinelevel="1" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{addchap} | |
{\IgnorePar\EndP \HCode{<!--start of addchap--><text:p text:style-name="clearpage"></text:p>% | |
}} | |
{\IgnorePar\EndP \HCode{<!--end of addchap-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-1\endcsname" | |
\text:outlinelevel="1" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{section} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \thesection\space\fi } | |
\Configure{section} | |
{\IgnorePar\EndP \HCode{<!--start of section-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-2\endcsname" | |
\text:outlinelevel="2" ><text:span | |
text:style-name="section">}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\ConfigureMark{subsection} | |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble | |
\else \thesubsection\space\fi } | |
\Configure{subsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-3\endcsname" | |
\text:outlinelevel="3" ><text:span | |
text:style-name="subsection" >}\TitleMark\space | |
\HCode{</text:span>}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesection} | |
{\IgnorePar\EndP \HCode{<!--start of section*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of section*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-2\endcsname" | |
\text:outlinelevel="2" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\Configure{likesubsection} | |
{\IgnorePar\EndP \HCode{<!--start of subsection*-->}} | |
{\IgnorePar\EndP \HCode{<!--end of subsection*-->}} | |
{\HCode{<text:h text:style-name="\csname a:Heading-3\endcsname" | |
\text:outlinelevel="3" >}\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\NewConfigure{Heading-1}{1} | |
\Configure{Heading-1}{Heading-1} | |
\NewConfigureOO{Heading-1} | |
\ConfigureOO{Heading-1}{\Hnewline | |
<style:style style:name="Heading-1" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:margin-top="40pt" | |
fo:margin-bottom="25pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-1-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="17.2999992370605pt" | |
fo:font-weight="bold" | |
style:font-size-asian="115\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="115\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-2}{1} | |
\Configure{Heading-2}{Heading-2} | |
\NewConfigureOO{Heading-2} | |
\ConfigureOO{Heading-2}{\Hnewline | |
<style:style style:name="Heading-2" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="12pt" | |
fo:margin-bottom="9pt" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-2-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="14.3999996185303pt" | |
style:font-size-complex="14pt" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-3}{1} | |
\Configure{Heading-3}{Heading-3} | |
\NewConfigureOO{Heading-3} | |
\ConfigureOO{Heading-3}{\Hnewline | |
<style:style style:name="Heading-3" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-3-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-4}{1} | |
\Configure{Heading-4}{Heading-4} | |
\NewConfigureOO{Heading-4} | |
\ConfigureOO{Heading-4}{\Hnewline | |
<style:style style:name="Heading-4" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-4-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
style:font-size-complex="85\%" | |
style:font-style-complex="italic" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" | |
/> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-5}{1} | |
\Configure{Heading-5}{Heading-5} | |
\NewConfigureOO{Heading-5} | |
\ConfigureOO{Heading-5}{\Hnewline | |
<style:style style:name="Heading-5" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-5-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:font-weight="normal" | |
style:font-size-complex="85\%" | |
style:font-weight-complex="bold" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-6}{1} | |
\Configure{Heading-6}{Heading-6} | |
\NewConfigureOO{Heading-6} | |
\ConfigureOO{Heading-6}{\Hnewline | |
<style:style style:name="Heading-6" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-6-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-7}{1} | |
\Configure{Heading-7}{Heading-7} | |
\NewConfigureOO{Heading-7} | |
\ConfigureOO{Heading-7}{\Hnewline | |
<style:style style:name="Heading-7" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-7-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-8}{1} | |
\Configure{Heading-8}{Heading-8} | |
\NewConfigureOO{Heading-8} | |
\ConfigureOO{Heading-8}{\Hnewline | |
<style:style style:name="Heading-8" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-8-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-9}{1} | |
\Configure{Heading-9}{Heading-9} | |
\NewConfigureOO{Heading-9} | |
\ConfigureOO{Heading-9}{\Hnewline | |
<style:style style:name="Heading-9" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-9-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold" | |
fo:text-align="end" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> | |
\Hnewline | |
} | |
\NewConfigure{Heading-10}{1} | |
\Configure{Heading-10}{Heading-10} | |
\NewConfigureOO{Heading-10} | |
\ConfigureOO{Heading-10}{\Hnewline | |
<style:style style:name="Heading-10" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline <style:style style:name="Heading-10-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="Text-body-rtl" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="75\%" | |
fo:font-weight="bold" | |
style:font-size-asian="75\%" | |
style:font-weight-asian="bold" | |
style:font-size-complex="75\%" | |
style:font-weight-complex="bold"/> | |
</style:style> | |
\Hnewline | |
} | |
\Configure{caption} | |
{\ht:everypar{\HtmlPar}% | |
\ifvmode \EndP \par\ShowPar\else \HCode{<text:line-break/>}\fi | |
\HCode{\Hnewline <text:span text:style-name="caption" >% | |
<text:span text:style-name="caption-title" >}} | |
{: } | |
{\HCode{</text:span>}} | |
{\HCode{</text:span>}} | |
\OOstyles{% | |
<style:style style:name="caption-title" style:family="text">\Hnewline | |
<style:text-properties fo:font-style="normal" | |
fo:font-weight="bold"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{theindex} | |
{\ifvmode\IgnorePar\fi | |
\EndP\HCode{<text:alphabetical-index text:name="theindex" > | |
<text:alphabetical-index-source | |
text:sort-algorithm="alphanumeric" >\Hnewline | |
<text:index-title-template | |
text:style-name="Index-Heading" >\indexname | |
</text:index-title-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="1" | |
text:style-name="Index-1" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="2" | |
text:style-name="Index-2" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
<text:alphabetical-index-entry-template | |
text:outline-level="3" | |
text:style-name="Index-3" >\Hnewline | |
<text:index-entry-text/>\Hnewline | |
<text:index-entry-tab-stop | |
style:type="left" | |
style:position="0in" | |
style:leader-char=" " | |
/>\Hnewline | |
<text:index-entry-page-number/>\Hnewline | |
</text:alphabetical-index-entry-template>\Hnewline | |
\Hnewline | |
</text:alphabetical-index-source>\Hnewline | |
% | |
<text:index-body>\Hnewline}% | |
\csname put:IndexTitle\endcsname | |
} | |
{\HCode{</text:index-body></text:alphabetical-index>}} | |
{\HCode{<text:p text:style-name="P6" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P7" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{\HCode{<text:p text:style-name="P8" >}} | |
{\HCode{<text:tab-stop/></text:p>}\hfill\break} | |
{} | |
\Configure{LNK}{\oo:LNK}{\EndLink}{} | |
\Odef\oo:LNK[#1]#2#3{\Link{#2}{#3}} | |
\Configure{@begin}{theindex}{\ifx \indexname\empty \else | |
\def\put:IndexTitle{\HCode{<text:index-title | |
text:style-name="Sect1" | |
text:name="Alphabetical_Index1_Head" | |
><text:p | |
text:style-name="Index-Heading" >}\indexname | |
\HCode{</text:p></text:index-title>\Hnewline} | |
}\fi} | |
\Configure{listoffigures} | |
{\let\contentsname\listfigurename \let\listfigurename\empty} | |
{} | |
\Configure{listoftables} | |
{\let\contentsname\listtablename \let\listtablename\empty} | |
{} | |
\ConfigureToc{lof} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
\ConfigureToc{lot} | |
{\HCode{<text:p><text:span text:style-name="toc-mark" | |
>}}{\ }{}% | |
{\HCode{</text:span></text:p>}} | |
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize | |
\or \Needs{11}\or \Needs{12}\else \fi} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{elsart} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{frontmatter} | |
{\IgnorePar | |
\HCode{<!--begin frontmatter-->% | |
<text:section text:name="frontmatter">}\ShowPar} | |
{\ifvmode\IgnorePar\fi \EndP \IgnorePar | |
\HCode{</text:section><!--end frontmatter-->}\ShowPar} | |
{}{} | |
\Configure{thanks author date and} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Text-body\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}\IgnorePar} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
">}\IgnorePar} | |
{\HCode{</text:p>}\IgnorePar} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}\IgnorePar} | |
{} | |
{}% {\HCode{<text:line-break/>}} | |
\Configure{address} | |
{\IgnorePar \EndP | |
\HCode{<text:p\Hnewline text:style-name="address">}\IgnorePar} | |
{\IgnorePar\EndP \HCode{</text:p>}\IgnorePar} | |
\NewConfigureOO{address} | |
\ConfigureOO{address}{% | |
<style:style style:name="address" | |
style:family="paragraph" | |
style:parent-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="12pt" | |
fo:font-style="italic" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\Configure{abstract} | |
{\HCode{<text:p\Hnewline | |
text:style-name="abstract-title">}\par\IgnorePar} | |
{ \HCode{</text:p>}} | |
{\IgnorePar\EndP} | |
\ConfigureOO{abstract-title}{\Hnewline | |
<style:style style:name="abstract-title" | |
style:family="paragraph" | |
style:parent-style-name="abstract" | |
style:next-style-name="abstract">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.499cm" | |
fo:margin-bottom="0cm" | |
fo:font-weight="bold" | |
fo:font-size="10pt" | |
fo:text-align="left" | |
fo:border-top="0.01cm solid \#000000" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\ConfigureOO{abstract}{\Hnewline | |
<style:style style:name="abstract" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
fo:text-align="left" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline <style:style style:name="abstract-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="Text-body-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-left="3cm" | |
fo:margin-right="3cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:text-indent="0cm" | |
style:auto-text-indent="false" | |
style:writing-mode="rl-tb" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{keyword} | |
{\IgnorePar\EndP | |
\HCode{<text:p\Hnewline text:style-name="keyword">}\IgnorePar} | |
{\IgnorePar\EndP \HCode{</text:p>}\IgnorePar} | |
\NewConfigureOO{keyword} | |
\ConfigureOO{keyword}{\Hnewline | |
<style:style style:name="keyword" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-left="0cm" | |
fo:margin-right="0cm" | |
fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="10pt" | |
fo:font-style="italic" | |
fo:text-indent="0cm" | |
fo:text-align="left" | |
fo:border-bottom="0.01cm solid \#000000" | |
style:auto-text-indent="false"/>\Hnewline | |
</style:style>\Hnewline > } | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{apa} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}\Configure{centercr} | |
{\ht:everypar{\ht:everypar{\HtmlPar}}}% | |
{\ht:everypar{\ht:everypar{\HtmlPar}}}% | |
} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{affil} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="affiliation\if@rl | |
-rtl\fi" | |
>}} | |
{\HCode{</text:p>}} | |
\Configure{abstract} | |
{\Hclearpage \IgnorePar\EndP \bgroup | |
\Configure{HtmlPar} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi" | |
>}} | |
{\EndP \HCode{<text:p | |
text:style-name="abstract\if@rl-rtl\fi" | |
>}} | |
{\HCode{</text:p>}} | |
{\HCode{</text:p>}}% | |
\ht:everypar{\HtmlPar}\par \ShowPar | |
} | |
{\ifvmode \IgnorePar\fi \EndP | |
\egroup \Hclearpage \ShowPar\par \IgnoreIndent } | |
\ConfigureOO{itemize} | |
{<text:list-style style:name="Itemize">\Hnewline | |
<text:list-level-style-bullet | |
\list:text:level="1" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x2022;" >\Hnewline | |
<style:text-properties | |
text:space-before="0.15in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet>\Hnewline | |
<text:list-level-style-bullet | |
\list:text:level="2" | |
text:bullet-char="\string&\:sharp x2022;" >\Hnewline | |
<style:text-properties | |
text:space-before="0.35in" | |
text:min-label-distance="0.05in" />\Hnewline | |
</text:list-level-style-bullet>\Hnewline | |
<text:list-level-style-bullet | |
\list:text:level="3" | |
text:bullet-char="\string&\:sharp x2022;" >\Hnewline | |
<style:text-properties | |
text:space-before="0.55in" | |
text:min-label-distance="0.05in" />\Hnewline | |
</text:list-level-style-bullet>\Hnewline | |
<text:list-level-style-bullet | |
\list:text:level="4" | |
text:bullet-char="\string&\:sharp x2022;" >\Hnewline | |
<style:text-properties | |
text:space-before="0.75in" | |
text:min-label-distance="0.05in" />\Hnewline | |
</text:list-level-style-bullet>\Hnewline | |
</text:list-style>\Hnewline | |
<style:style style:name="Inside-itemize" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:list-style-name="Itemize"/>\Hnewline | |
} | |
\ConfigureList{APAenumerate}% | |
{\EndP\HCode{<\text:orderedlist | |
text:style-name="Enumerate\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p text:style-name="Inside-enumerate\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p 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 | |
</\text:orderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\ConfigureList{APAitemize}% | |
{\EndP\HCode{<\text:unorderedlist | |
text:style-name="Itemize\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p text:style-name="Inside-itemize\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p text:style-name="Inside-itemize\if@rl-rtl\fi | |
" | |
>}} | |
{\HCode{</text:p>\Hnewline}} {\HCode{</text:p>\Hnewline}}} | |
{\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline | |
</\text:unorderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\ConfigureOO{enumerate}% | |
{<style:style style:name="Inside-enumerate" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:list-style-name="Enumerate"/>\Hnewline | |
% | |
<text:list-style style:name="Enumerate">\Hnewline | |
<text:list-level-style-number | |
text:level="1" | |
style:num-prefix="" | |
style:num-suffix="." >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.15in" | |
style:num-format="1" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="2" | |
style:num-prefix="" | |
style:num-suffix="." >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.35in" | |
style:num-format="1" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="3" | |
style:num-prefix="" | |
style:num-suffix="." >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
style:num-format="1" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="4" | |
style:num-prefix="" | |
style:num-suffix="." >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.8in" | |
style:num-format="1" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
</text:list-style>\Hnewline | |
% | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{g-brief} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{g-brief} | |
{\ifvmode \IgnorePar\fi \EndP \let\sv:br =\\% | |
\let\sv:@imakebox=\@imakebox | |
\def\\{\HCode{</table:table-row>\Hnewline<table:table-row>}}% | |
\let\:clearpage\clearpage | |
\def\clearpage{\let\clearpage\:clearpage | |
\ifvmode \IgnorePar\fi \EndP | |
\HCode{<table:table table:style-name="date"> | |
<table:table-column/><table:table-column/> | |
<table:table-column/><table:table-column/> | |
<table:table-row>\Hnewline}% | |
\IgnorePar | |
}% | |
\def\@imakebox[##1][##2]##3{% | |
\HCode{<table:table-cell>\Hnewline | |
<text:p text:style-name="makebox-##2">}% | |
\bgroup \let\\=\sv:br \let\@imakebox\sv:@imakebox | |
\let\par\sv:par | |
##3% | |
\egroup | |
\HCode{</text:p></table:table-cell>}% | |
\def\par{\let\par\brf:par | |
\ifvmode \IgnorePar\fi \EndP | |
\HCode{</table:table-row></table:table>}}% | |
}% | |
\let\brf:par\par | |
\HTML:PAR{p-g-brief}{p-g-brief}% | |
} | |
{\ifvmode \IgnorePar\fi \EndP \let\@imakebox\sv:@imakebox | |
\let\\=\sv:br | |
\HTML:PAR{p-\ifHCond nopar\else noindent\fi}% | |
{p-\ifdim \parindent=\z@ no\fi indent}% | |
} | |
{\ifvmode \IgnorePar\fi \EndP \par} | |
{\ifvmode \IgnorePar\fi \EndP \par} | |
\OOstyles{% | |
<style:style style:name="makebox-r" \Hnewline | |
style:family="paragraph" >\Hnewline | |
<style:paragraph-properties fo:text-align="end" | |
style:justify-single-word="false" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\OOstyles{% | |
<style:style style:name="p-g-brief" | |
style:family="paragraph" | |
style:parent-style-name="Text-body">\Hnewline | |
<style:paragraph-properties | |
fo:text-align="justify" | |
style:auto-text-indent="false" | |
style:justify-single-word="false" | |
fo:margin-top="0.7cm" | |
fo:margin-bottom="0.7cm" | |
/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{letterfoot} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="letterfoot">}% | |
\bgroup | |
\Configure{tabular} | |
{}{} {}{\HCode{<text:line-break/>}} {}{~~}% | |
} | |
{} | |
{\egroup \HCode{</text:p>}} | |
\OOstyles{% | |
{<style:style style:name="letterfoot" | |
style:family="paragraph" | |
style:parent-style-name="Text-body">\Hnewline | |
<style:paragraph-properties | |
fo:text-align="justify" | |
style:auto-text-indent="false" | |
fo:margin-top="2cm" | |
fo:margin-bottom="0cm" | |
style:justify-single-word="false"/>\Hnewline | |
</style:style>\Hnewline} | |
} | |
\Configure{letterhead} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:section | |
text:style-name="header-style" text:name="header"> | |
<text:p text:style-name="left-col">}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{</text:section> | |
<text:p text:style-name="p-retouradresse">}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{</text:p><text:p text:style-name="postage">}} | |
{\HCode{</text:p>}} | |
\Configure{retouradresse} | |
{\HCode{<text:span text:style-name="retouradresse">}} | |
{\HCode{</text:span>}} | |
\NewConfigureOO{g-brief-header} | |
\ConfigureOO{g-brief-header}{\Hnewline | |
<style:style style:name="header-style" style:family="section">\Hnewline | |
<style:text-properties text:dont-balance-text-columns="false" | |
fo:margin-bottom="2cm">\Hnewline | |
<style:columns fo:column-count="2" | |
fo:column-gap="1in">\Hnewline | |
<style:column fo:margin-left="0in" | |
fo:margin-right="0in"/>\Hnewline | |
<style:column fo:margin-left="0in" | |
fo:margin-right="0in"/>\Hnewline | |
</style:columns>\Hnewline | |
</style:text-properties>\Hnewline | |
</style:style>\Hnewline | |
} | |
\OOstyles{% | |
<style:style style:name="p-retouradresse" \Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.7cm" \Hnewline | |
fo:margin-bottom="0.7cm"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\OOstyles{% | |
<style:style style:name="postage" \Hnewline | |
style:family="paragraph" \Hnewline | |
style:parent-style-name="Standard">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.5cm" \Hnewline | |
fo:margin-bottom="0.5cm"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\OOstyles{% | |
<style:style style:name="tabular" | |
style:family="table" | |
style:parent-style-name="header-style">\Hnewline | |
<\style:tableproperties style:rel-width="46\%" | |
fo:margin-left="1cm" | |
fo:margin-right="0cm" | |
table:align="margins"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\Configure{betreff} | |
{\HCode{<text:span text:style-name="betreff">}} | |
{\HCode{</text:span>}} | |
\Configure{betrefftext} | |
{\HCode{<text:span text:style-name="betrefftext">}} | |
{\HCode{</text:span>}} | |
\Configure{gruss} | |
{\HCode{<text:span text:style-name="gruss">}} | |
{\HCode{</text:span>}} | |
\Configure{grussskip} | |
{\HCode{<text:span text:style-name="grussskip">}} | |
{\HCode{</text:span>}} | |
\Configure{unterschrift} | |
{\HCode{<text:span text:style-name="unterschrift">}} | |
{\HCode{</text:span>}} | |
\Configure{datumtext} | |
{\HCode{<text:span text:style-name="datumtext">}} | |
{\HCode{</text:span>}} | |
\Configure{datum} | |
{\HCode{<text:span text:style-name="datum">}} | |
{\HCode{</text:span>}} | |
\Configure{anlagen} | |
{\HCode{<text:span text:style-name="anlagen">}} | |
{\HCode{</text:span>}} | |
\Configure{verteiler} | |
{\HCode{<text:span text:style-name="verteiler">}} | |
{\HCode{</text:span>}} | |
\Configure{sprache} | |
{\HCode{<text:span text:style-name="sprache">}} | |
{\HCode{</text:span>}} | |
\Configure{telefontex} | |
{\HCode{<text:span text:style-name="telefontex">}} | |
{\HCode{</text:span>}} | |
\Configure{telefaxtext} | |
{\HCode{<text:span text:style-name="telefaxtext">}} | |
{\HCode{</text:span>}} | |
\Configure{telextext} | |
{\HCode{<text:span text:style-name="telextext">}} | |
{\HCode{</text:span>}} | |
\Configure{telefax} | |
{\HCode{<text:span text:style-name="telefax">}} | |
{\HCode{</text:span>}} | |
\Configure{telefon} | |
{\HCode{<text:span text:style-name="telefon">}} | |
{\HCode{</text:span>}} | |
\Configure{telex} | |
{\HCode{<text:span text:style-name="telex">}} | |
{\HCode{</text:span>}} | |
\Configure{emailtext} | |
{\HCode{<text:span text:style-name="emailtext">}} | |
{\HCode{</text:span>}} | |
\Configure{email} | |
{\HCode{<text:span text:style-name="email">}} | |
{\HCode{</text:span>}} | |
\Configure{httptext} | |
{\HCode{<text:span text:style-name="httptext">}} | |
{\HCode{</text:span>}} | |
\Configure{http} | |
{\HCode{<text:span text:style-name="http">}} | |
{\HCode{</text:span>}} | |
\Configure{banktext} | |
{\HCode{<text:span text:style-name="banktext">}} | |
{\HCode{</text:span>}} | |
\Configure{bank} | |
{\HCode{<text:span text:style-name="bank">}} | |
{\HCode{</text:span>}} | |
\Configure{konto} | |
{\HCode{<text:span text:style-name="konto">}} | |
{\HCode{</text:span>}} | |
\Configure{blztext} | |
{\HCode{<text:span text:style-name="blztext">}} | |
{\HCode{</text:span>}} | |
\Configure{blz} | |
{\HCode{<text:span text:style-name="blz">}} | |
{\HCode{</text:span>}} | |
\Configure{ihrzeichentext} | |
{\HCode{<text:span text:style-name="ihrzeichentext">}} | |
{\HCode{</text:span>}} | |
\Configure{ihrzeichen} | |
{\HCode{<text:span text:style-name="ihrzeichen">}} | |
{\HCode{</text:span>}} | |
\Configure{ihrschreibentext} | |
{\HCode{<text:span text:style-name="ihrschreibentext">}} | |
{\HCode{</text:span>}} | |
\Configure{ihrschreiben} | |
{\HCode{<text:span text:style-name="ihrschreiben">}} | |
{\HCode{</text:span>}} | |
\Configure{meinzeichentext} | |
{\HCode{<text:span text:style-name="meinzeichentext">}} | |
{\HCode{</text:span>}} | |
\Configure{meinzeichen} | |
{\HCode{<text:span text:style-name="meinzeichen">}} | |
{\HCode{</text:span>}} | |
\Configure{unserzeichentext} | |
{\HCode{<text:span text:style-name="unserzeichentext">}} | |
{\HCode{</text:span>}} | |
\Configure{adresse} | |
{\HCode{<text:span text:style-name="adresse">}} | |
{\HCode{</text:span>}} | |
\Configure{land} | |
{\HCode{<text:span text:style-name="land">}} | |
{\HCode{</text:span>}} | |
\Configure{name} | |
{\HCode{<text:span text:style-name="name">}} | |
{\HCode{</text:span>}} | |
\Configure{ort} | |
{\HCode{<text:span text:style-name="ort">}} | |
{\HCode{</text:span>}} | |
\Configure{postvermerk} | |
{\HCode{<text:span text:style-name="postvermerk">}} | |
{\HCode{</text:span>}} | |
\Configure{strasse} | |
{\HCode{<text:span text:style-name="strasse">}} | |
{\HCode{</text:span>}} | |
\Configure{zusatz} | |
{\HCode{<text:span text:style-name="zusatz">}} | |
{\HCode{</text:span>}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{jurabib} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\HAssign\jbancorDepth=0 | |
\Configure{jblink} | |
{\HAdvance\jbancorDepth by 1 \Link} | |
{\EndLink \HAdvance\jbancorDepth by -1 } | |
\Configure{jbanchor} | |
{\bgroup | |
\ifnum \jbancorDepth=0 | |
\Configure{Link}{text:a}{xlink:href=}% | |
{office:name=}{}% | |
\else | |
\Configure{Link}{text:span}{}{text:style-name=}{}% | |
\def\NOHREF:##1{}% | |
\fi | |
\Link} | |
{\EndLink \egroup} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{slides} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{maketitle} | |
{\HCode{<!--begin maketitle-->}} | |
{\HCode{<!--end maketitle-->}\par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" >}} | |
{\HCode{</text:p>}} | |
\Configure{author date} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{foils} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{foilhead} | |
{\IgnorePar\EndP \HCode{<!--start of foilhead-->}} | |
{\IgnorePar\EndP \HCode{<!--end of foilhead-->}} | |
{\HCode{<text:h text:style-name="foilhead\if@rl-rtl\fi | |
" | |
\text:outlinelevel="3" >}% | |
\IgnoreIndent} | |
{\HCode{</text:h>\Hnewline}\par\ShowPar} | |
\NewConfigureOO{foilhead} | |
\ConfigureOO{foilhead}{\Hnewline | |
<style:style style:name="foilhead" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="Text-body" | |
style:class="text">\Hnewline | |
<style:paragraph-properties fo:font-size="12pt" | |
fo:font-weight="bold" | |
style:font-size-asian="14pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="14pt" | |
style:font-weight-complex="bold" | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
/> | |
</style:style> | |
} | |
\Configure{thank} | |
{\setbox\tmp:bx=\hbox\bgroup} | |
{\egroup} | |
{\NoFonts \leavevmode \bgroup \protect\Configure{$}{}{}{}% | |
\hbox{\HCode{<text:note\Hnewline text:note-class="footnote" | |
text:id="}fn\the\c@footnote x\minipageNum | |
% | |
\HCode{"><text:note-citation>}}% | |
} | |
{\egroup \EndNoFonts | |
\HCode{</text:note-citation><text:note-body> | |
<text:p\Hnewline text:style-name="Footnote" ><text:s/>}} | |
{\HCode{</text:p></text:note-body></text:note>}} | |
\def\:temp#1{{\stepcounter{footnote}% | |
\a:thank\@fnsymbol\c@footnote\b:thank | |
\a:thanks | |
\c:thank \@fnsymbol\c@footnote\d:thank #1\e:thank | |
\b:thanks | |
}} | |
\HLet\thanks\:temp | |
\Configure{maketitle} | |
{\bgroup | |
\Configure{newpage}{}% | |
\HCode{<!--begin maketitle-->} | |
\Configure{tabular}{}{}{}{}{\ifnum \HRow>1 | |
\HCode{<text:line-break\Hnewline/>}\fi}{}% | |
\ConfigureEnv{tabular}{}{}{}{}% | |
} | |
{\HCode{<!--end maketitle-->}\egroup \par} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="Title\if@rl-rtl\fi | |
" >}} | |
{\HCode{</text:p>}} | |
\OOstyles{% | |
<style:style style:name="maketitle-tabular" | |
style:family="table">\Hnewline | |
<\style:tableproperties | |
fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
table:align="margins"/>\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{title} | |
\ConfigureOO{title}{% | |
<style:style style:name="Title" | |
style:family="paragraph" | |
style:parent-style-name="Heading" | |
style:next-style-name="author" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style> \Hnewline <style:style style:name="Title-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Heading-rtl" | |
style:next-style-name="author-rtl" | |
style:class="chapter">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.42cm" | |
fo:margin-bottom="0.51cm" | |
fo:font-size="20pt" | |
fo:font-weight="normal" | |
style:font-size-asian="18pt" | |
style:font-weight-asian="bold" | |
style:font-size-complex="18pt" | |
style:font-weight-complex="bold" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style> \Hnewline | |
} | |
\Configure{author date} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="author\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:p text:style-name="date\if@rl-rtl\fi | |
">}} | |
{\HCode{</text:p>}} | |
\NewConfigureOO{author} | |
\ConfigureOO{author}{% | |
<style:style style:name="author" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="date">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="author-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body-rtl" | |
style:next-style-name="date-rtl">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.2cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{date} | |
\ConfigureOO{date}{% | |
<style:style style:name="date" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0.6cm" | |
fo:margin-bottom="0.2cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false"/> | |
</style:style>\Hnewline <style:style style:name="date-rtl" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:next-style-name="Text-body">\Hnewline | |
<style:paragraph-properties fo:margin-top="0cm" | |
fo:margin-bottom="0.199cm" | |
fo:font-size="14pt" | |
fo:text-align="center" | |
style:justify-single-word="false" | |
style:writing-mode="rl-tb" /> | |
</style:style>\Hnewline | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{pstricks} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{pspicture} | |
{\ifvmode \ifinner\else \vfill\break\fi | |
\leavevmode\fi | |
\bgroup | |
\ifdim \pst@dimh<\z@ \pst@dimh=-\pst@dimh \fi | |
\HCode{<!--width="\ifdim \wd\pst@hbox=\z@ \the\pst@dimg | |
\else\the\wd\pst@hbox\fi" | |
height="\ifdim \ht\pst@hbox=\z@ \the\pst@dimh | |
\else \the\ht\pst@hbox\fi"-->}% | |
\egroup | |
\Picture+[\a:pspictureAlt]{ class="pspicture"}} | |
{\EndPicture} | |
\NewConfigure{pspictureAlt}{1} | |
\Configure{pspictureAlt}{PIC} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{pst-all} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{psmatrix} | |
{\Picture*{}} | |
{\EndPicture} | |
{}{} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{curve} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{rubric} | |
{\bgroup \Configure{table-column-style} | |
{table:style-name="\ifcase \ar:cnt\relax | |
\or %1 | |
keyCol% | |
\or %2 | |
markCol% | |
\else | |
bodyCol% TBL-\TableNo -\ar:cnt | |
\fi | |
"} | |
\Configure{longtable} | |
{\IgnorePar\EndP \HCode{<!--l. \the\inputlineno-->% | |
}% | |
\halignTB{longtable}% | |
\putVBorder | |
} | |
{\HCode{</table:table>}} | |
{\HCode{<table:table-row \Hnewline}\halignTR\HCode{ | |
table:style-name="TBL-\TableNo-\HRow-">}} | |
{\HCode{</table:table-row>}} | |
{\HCode{<table:table-cell | |
\ifnum \HMultispan>1 table:number-columns-spanned="\HMultispan"\fi | |
\space table:style-name="\ifcase \HMultispan\relax | |
\or %1 | |
\ifcase \HCol\relax | |
\or %1 | |
keyCell% | |
\or %2 | |
markCell% | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
\or %2 | |
\ifnum \HCol=2 | |
subrubricCell% | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
\or %3 | |
\ifnum \HCol=1 | |
rubricheadCell% | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
" ><text:p | |
text:style-name="\ifcase \HMultispan\relax | |
\or %1 | |
\ifcase \HCol\relax | |
\or %1 | |
keyP% | |
\or %2 | |
markP% | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
\or %2 | |
\ifnum \HCol=2 | |
subrubricP% | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
\or %3 | |
\ifnum \HCol=1 | |
rubricheadP% | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
\else | |
TBL-\TableNo-\HRow-\HCol | |
\fi | |
" >}\SaveEndP | |
% | |
\par \ShowPar | |
\PushStack\Table:Stck\TableNo} | |
{\PopStack\Table:Stck\TableNo | |
\IgnorePar \EndP | |
\HCode{</text:p></table:table-cell>}} | |
} {\egroup} {} {} | |
\OOstyles{% | |
\Hnewline | |
<style:style | |
style:name="markCol" | |
style:family="table-column" | |
> \Hnewline | |
<style:table-column-properties | |
style:rel-column-width="180*"/> | |
</style:style> \Hnewline | |
<style:style style:name="keyCol" style:family="table-column"> | |
<style:table-column-properties | |
style:rel-column-width="1546*"/> | |
</style:style> \Hnewline | |
<style:style style:name="bodyCol" style:family="table-column"> | |
<style:table-column-properties | |
style:rel-column-width="6914*"/> | |
</style:style> \Hnewline | |
} | |
\Configure{maketitle} | |
{}{} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:h text:style-name="curveTitle" text:outline-level="1" | |
>}} | |
{\ifvmode \IgnorePar\fi \EndP \HCode{</text:h>}} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:h text:style-name="curveSubTitle" text:outline-level="2" | |
>}} | |
{\ifvmode \IgnorePar\fi \EndP \HCode{</text:h>}} | |
\OOstyles{% | |
\Hnewline | |
<style:style | |
style:name="curveTitle" | |
style:family="paragraph" | |
> \Hnewline | |
<style:paragraph-properties | |
fo:text-align="center" | |
style:justify-single-word="false" | |
fo:margin-top="0.4cm" | |
fo:margin-bottom="0.1cm" | |
/> \Hnewline | |
<style:text-properties | |
fo:font-size="145\%" | |
fo:font-weight="bold" | |
/> \Hnewline | |
</style:style> \Hnewline | |
} | |
\OOstyles{% | |
\Hnewline | |
<style:style | |
style:name="curveSubTitle" | |
style:family="paragraph" | |
> \Hnewline | |
<style:paragraph-properties | |
fo:text-align="center" | |
style:justify-single-word="false" | |
fo:margin-top="0.1cm" | |
fo:margin-bottom="0.2cm" | |
/> \Hnewline | |
<style:text-properties | |
fo:font-size="130\%" | |
fo:font-weight="normal" | |
fo:font-style="italic" | |
/> \Hnewline | |
</style:style> \Hnewline | |
} | |
\Configure{makeheaders} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{% | |
<table:table table:name="makeheaders" > | |
<table:table-column table:number-columns-repeated="2"/> | |
<table:table-row> | |
<table:table-cell table:style-name="leftheader" | |
office:value-type="string"> | |
<text:p text:style-name="Pleft" >}} | |
{\HCode{</text:p> | |
</table:table-cell> | |
<table:table-cell table:style-name="rightheader" | |
office:value-type="string"> | |
<text:p text:style-name="Pright" >}} | |
{\HCode{</text:p> | |
</table:table-cell> | |
</table:table-row> | |
</table:table>}} | |
\OOstyles{% | |
<style:style | |
style:name="leftheader" | |
style:family="table-cell"> | |
<style:table-cell-properties | |
fo:padding="0.0382in" | |
fo:border="none"/> | |
</style:style> | |
<style:style | |
style:name="rightheader" | |
style:family="table-cell"> | |
<style:table-cell-properties | |
fo:padding="0.0382in" | |
fo:border="none"/> i | |
</style:style> | |
<style:style style:name="Pleft" | |
style:family="paragraph" > | |
<style:paragraph-properties | |
fo:text-align="left" | |
style:justify-single-word="false"/> | |
<style:text-properties | |
fo:font-style="normal" /> | |
</style:style> | |
<style:style style:name="Pright" | |
style:family="paragraph" > | |
<style:paragraph-properties | |
fo:text-align="end" | |
style:justify-single-word="false"/> | |
<style:text-properties | |
fo:font-style="normal" /> | |
</style:style> | |
} | |
\Configure{rubrichead} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:span text:style-name="rubrichead" >}} | |
{\ifvmode \IgnorePar\fi \EndP \HCode{</text:span>}} | |
\OOstyles{% | |
\Hnewline | |
<style:style | |
style:name="rubrichead" | |
style:family="text" | |
> \Hnewline | |
<style:text-properties | |
fo:font-size="110\%" | |
fo:font-weight="bold" | |
/> \Hnewline | |
</style:style> \Hnewline | |
} | |
\OOstyles{% | |
\Hnewline | |
<style:style | |
style:name="rubricheadP" | |
style:family="paragraph" | |
> \Hnewline | |
<style:paragraph-properties | |
fo:text-align="center" | |
style:justify-single-word="false" | |
fo:margin-top="0.2cm" | |
fo:margin-bottom="0.2cm" | |
/> \Hnewline | |
</style:style> \Hnewline | |
} | |
\Configure{subrubric} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<text:span text:style-name="subrubric" >}} | |
{\ifvmode \IgnorePar\fi \EndP \HCode{</text:span>}} | |
\OOstyles{% | |
\Hnewline | |
<style:style | |
style:name="subrubric" | |
style:family="text" | |
> \Hnewline | |
<style:text-properties | |
fo:font-weight="normal" | |
fo:font-style="italic" | |
fo:font-size="130\%" | |
/> \Hnewline | |
</style:style> \Hnewline | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{enumerate} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureList{enumerate}% | |
{\EndP\HCode{<\text:orderedlist | |
text:style-name="Enumerate\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-enumerate\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
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 | |
</\text:orderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item \let\sv:DeleteMark\DeleteMark | |
\let\DeleteMark\DeleteMark: \DeleteMark} | |
{\HCode{<text:list-item>}% | |
\par\ShowPar | |
\HCode{<text:span | |
text:style-name="enum-label">}\AnchorLabel | |
\box\tmp:bx | |
\let\DeleteMark\sv:DeleteMark | |
\HCode{</text:span><text:s/>}% | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\def\DeleteMark:#1\@labels{\hfill\break | |
\setbox\tmp:bx\vbox{\box\@labels}} | |
\ConfigureOO{enumerate}% | |
{<style:style style:name="Inside-enumerate" | |
style:family="paragraph" | |
style:parent-style-name="Text-body" | |
style:list-style-name="Enumerate">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="0in" | |
fo:margin-right="0in" | |
fo:margin-top="0in" | |
fo:margin-bottom="0.15in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
% | |
<text:list-style style:name="Enumerate">\Hnewline | |
<text:list-level-style-number | |
text:level="1" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.15in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="2" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.35in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="3" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.6in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
<text:list-level-style-number | |
text:level="4" | |
text:style-name="Numbering-Symbols" | |
style:num-prefix="" | |
style:num-suffix="" | |
style:num-format="" | |
>\Hnewline | |
<style:list-level-properties | |
text:min-label-width="0.2in" | |
text:space-before="0.8in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-number>\Hnewline | |
</text:list-style>\Hnewline | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{linguex} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{a.list} | |
{\ConfigureList{list}% | |
{\EndP\HCode{<text:list | |
text:style-name="list\if@rl-rtl\fi | |
" | |
text:name="list"\Hnewline>}% | |
\PushMacro\end:itm | |
\global\let\end:itm=\empty | |
\SaveHtmlPar \HTML:PAR{dd}{dd}% | |
} | |
{\PopMacro\end:itm \global\let\end:itm \end:itm | |
\EndP | |
\RecallHtmlPar | |
\HCode{</text:list-item></text:list>}\ShowPar} | |
{\end:itm \global\def\end:itm{\EndP\HCode{</text:list-item>}}% | |
\HCode{<text:list-item><text:h | |
text:style-name="dt\if@rl-rtl\fi | |
"\Hnewline >}\bgroup \bf} | |
{\egroup\HCode{</text:h>}\par\ShowPar}% | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{cgloss4e} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{tsent} | |
{\HCode{<table:table-cell table:style-name="tsent-td">% | |
<text:p text:style-name="tsent-p">}% | |
\gHAdvance\tsent:cnt by 1 | |
} | |
{\HCode{</text:p></table:table-cell>}} | |
{\HCode{<text:line-break />}} | |
\Configure{gll} | |
{\ifvmode \IgnorePar\fi \EndP | |
\bgroup | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP} | |
{\ShowPar} | |
{\EndP\IgnorePar | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\HCode{<table:table table:style-name="gll-table"\Hnewline>% | |
}\IgnorePar} | |
{\IgnorePar\EndP\HCode{</table:table-row></table:table>}% | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
}% | |
\Configure{HtmlPar}{}{}{}{}% | |
\gHAssign\tsent:cnt=0 | |
} | |
{\tmp:cnt=0 | |
\loop | |
\advance\tmp:cnt by 1 | |
\HCode{<table:table-column table:style-name="gll-col"/>}% | |
\ifnum \tsent:cnt>\tmp:cnt | |
\repeat | |
\HCode{<table:table-row table:style-name="gll-tr">}% | |
} | |
{\egroup} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{covington} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{tsent} | |
{\HCode{<table:table-cell table:style-name="tsent-td">% | |
<text:p text:style-name="tsent-p">}% | |
\gHAdvance\tsent:cnt by 1 | |
} | |
{\HCode{</text:p></table:table-cell>}} | |
{\HCode{<text:line-break />}} | |
\HAssign\gll:Cnt = 0 | |
\Configure{gll} | |
{\ifvmode \IgnorePar\fi \EndP | |
\gHAdvance\gll:Cnt by 1 | |
\bgroup | |
\ConfigureEnv{flushleft} | |
{\ifvmode \IgnorePar\fi \EndP} | |
{\ShowPar} | |
{\EndP\IgnorePar | |
\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
% | |
\HCode{<table:table table:name="gll-\gll:Cnt" | |
table:style-name="gll-table"\Hnewline>}% | |
\ifnum 0<0\LikeRef{gll-\gll:Cnt} | |
\tmp:cnt=0 | |
\loop | |
\advance\tmp:cnt by 1 | |
\HCode{<table:table-column table:style-name="gll-col"/>}% | |
\ifnum \LikeRef{gll-\gll:Cnt}>\tmp:cnt | |
\repeat | |
% | |
\fi | |
\HCode{<table:table-row table:style-name="gll-tr">}% | |
\IgnorePar | |
} | |
{\IgnorePar\EndP | |
\csname :glend\endcsname | |
\HCode{</table:table-row></table:table>}% | |
\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
}% | |
\Configure{HtmlPar}{}{}{}{}% | |
\gHAssign\tsent:cnt=0 | |
} | |
{} | |
{\Tag{gll-\gll:Cnt}{\tsent:cnt}\egroup} | |
\Configure{glt} | |
{\expandafter\ifx\csname :glend\endcsname\relax\else | |
\HCode{</text:p></table:table-cell>}% | |
\fi | |
\HCode{</table:table-row><table:table-row | |
table:style-name="glt"><table:table-cell | |
table:number-columns-spanned="\tsent:cnt"><text:p | |
text:style-name="p-glt">}% | |
\gdef\:glend{\global\let\:glend\relax | |
\HCode{</text:p></table:table-cell>}}% | |
} | |
\NewConfigureOO{p-glt} | |
\ConfigureOO{p-glt}{\Hnewline | |
<style:style style:name="p-glt" | |
style:family="paragraph" | |
style:parent-style-name="Standard" > | |
<style:paragraph-properties fo:margin-top="0.2cm"/> | |
</style:style> | |
} | |
\Configure{gln} | |
{\expandafter\ifx\csname :glend\endcsname\relax\else | |
\HCode{</text:p></table:table-cell>}% | |
\fi | |
\gHAdvance\tsent:cnt by 1 | |
\HCode{<table:table-cell><text:p | |
text:style-name="p-gln">}% | |
\gdef\:glend{\global\let\:glend\relax | |
\HCode{</text:p></table:table-cell>}}% | |
} | |
\NewConfigureOO{p-gln} | |
\ConfigureOO{p-gln}{\Hnewline | |
<style:style style:name="p-gln" | |
style:family="paragraph" | |
style:parent-style-name="Standard" > | |
<style:paragraph-properties fo:text-align="end"/> | |
</style:style> | |
} | |
\NewConfigureOO{gll-table} | |
\ConfigureOO{gll-table}{\Hnewline | |
<style:style style:name="gll-table" style:family="table"> | |
<style:table-properties | |
fo:margin-top="0.3cm" | |
fo:margin-bottom="0.3cm" | |
/> | |
</style:style> | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{pst-jtree} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{jtree} | |
{\bgroup | |
\Configure{IMG} | |
{% \ht:special{t4ht>\PictureFile.4og}% | |
\ht:special{t4ht>\Gin@base\Gin@ext.4og}% | |
\ht:special{t4ht*>}% | |
% \ht:special{t4ht<\PictureFile.4og}% | |
\ht:special{t4ht<\Gin@base\Gin@ext.4og}% | |
\OOmanifest{<manifest:file-entry | |
manifest:full-path="Pictures/\PictureFile" manifest:media-type="\get:image:mime:type\Gin@ext"/>\Hnewline | |
}% | |
% | |
\ht:special{t4ht=<draw:frame | |
draw:name="\imgBaseName" | |
text:anchor-type="as-char" | |
draw:style-name="jtree" | |
draw:z-index="0" | |
>% | |
<draw:image\Hnewline | |
xlink:href="Pictures/}} | |
{\ht:special{t4ht=" \Hnewline | |
xlink:type="simple" | |
xlink:show="embed" | |
xlink:actuate="onLoad" | |
/><!--draw:name="}} | |
{" } | |
{\ht:special{t4ht=" }} | |
{\ht:special{t4ht=--></draw:frame>}}% | |
} | |
{\egroup | |
} | |
\OOstyles{\Hnewline | |
<style:style style:name="jtree" | |
style:family="graphic" | |
style:parent-style-name="Graphics"> | |
<style:graphic-properties | |
style:vertical-pos="bottom" | |
style:vertical-rel="baseline" | |
style:mirror="none" | |
fo:margin-left="0.01em" | |
fo:margin-right="0.01em" | |
fo:margin-top="0.01em" | |
fo:margin-bottom="0.01em" | |
/> | |
</style:style> | |
} | |
\Configure{picture} | |
{\Picture+[PICT]{}} | |
{\EndPicture} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{algorithmicx} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureEnv{algorithmic} | |
{\ifvmode \IgnorePar\fi \EndP | |
% \HCode{<div \a:LRdir class="algorithmic">}% | |
\bgroup | |
\Configure{HtmlPar} | |
{\EndP} | |
{\EndP} | |
{} | |
{}% | |
} | |
{\egroup | |
% \HCode{</div>}% | |
\par\ShowPar | |
} | |
{}{} | |
\let\end:itm=\empty | |
\ConfigureList{algorithmic}% | |
{\EndP \end:itm | |
\SaveHtmlPar \HCode{<text:list | |
text:style-name="algorithmic\if@rl-rtl\fi | |
" | |
text:name="algorithmic"\Hnewline>}% | |
\PushMacro\end:Itm | |
\global\let\end:itm=\empty | |
\global\let\end:Itm=\empty | |
\Configure{HtmlPar} | |
{\end:itm\gdef\end:itm{\HCode{</text:p>}}% | |
\HCode{<text:p | |
text:style-name="dd\if@rl-rtl\fi | |
" >}% | |
} | |
{\end:itm\gdef\end:itm{\HCode{</text:p>}}% | |
\HCode{<text:p | |
text:style-name="dd\if@rl-rtl\fi | |
" >}% | |
} | |
{} | |
{}% | |
} | |
{\end:itm \end:Itm \global\let\end:itm=\empty | |
\PopMacro\end:Itm \global\let\end:Itm\end:Itm | |
\HCode{</text:list>}\RecallHtmlPar \ShowPar | |
\special{t4ht@.}% | |
} | |
{\end:itm \end:Itm \gdef\end:Itm{\HCode{</text:list-item>}}% | |
\gdef\end:itm{\HCode{</text:h>}\special{t4ht@.}}\HCode{<text:list-item><text:h | |
text:style-name="algorithmic-dt\if@rl-rtl\fi | |
"\Hnewline >}\bgroup \bf | |
\special{t4ht@. }% | |
} | |
{\special{t4ht@.}% | |
\egroup | |
\special{t4ht@. }% | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{ulem} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{uline} | |
{\ifmmode \HCode{<\a:mathml mrow class="uline">}% | |
\else \HCode{<text:span text:style-name="uline">}\fi} | |
{\ifmmode \HCode{</\a:mathml mrow>}\else \HCode{</text:span>}\fi} | |
\NewConfigureOO{uline} | |
\ConfigureOO{uline}{<style:style style:name="uline" style:family="text"> | |
<style:text-properties style:text-underline-style="solid" | |
style:text-underline-width="auto" | |
style:text-underline-color="font-color" | |
/> | |
</style:style> | |
} | |
\Configure{uuline} | |
{\ifmmode \HCode{<\a:mathml mrow class="uuline">}% | |
\else \HCode{<text:span text:style-name="uuline">}\fi} | |
{\ifmmode \HCode{</\a:mathml mrow>}\else \HCode{</text:span>}\fi} | |
\NewConfigureOO{uuline} | |
\ConfigureOO{uuline}{<style:style style:name="uuline" style:family="text"> | |
<style:text-properties style:text-underline-style="solid" | |
style:text-underline-width="auto" | |
style:text-underline-color="font-color" | |
/> | |
</style:style> | |
} | |
\Configure{uwave} | |
{\ifmmode \HCode{<\a:mathml mrow class="uwave">}% | |
\else \HCode{<text:span text:style-name="uwave">}\fi} | |
{\ifmmode \HCode{</\a:mathml mrow>}\else \HCode{</text:span>}\fi} | |
\NewConfigureOO{uwave} | |
\ConfigureOO{uwave}{<style:style style:name="uwave" style:family="text"> | |
<style:text-properties style:text-underline-style="wave" | |
style:text-underline-width="auto" | |
style:text-underline-color="font-color" | |
/> | |
</style:style> | |
} | |
\Configure{sout} | |
{\ifmmode \HCode{<\a:mathml mrow class="sout">}% | |
\else \HCode{<text:span text:style-name="sout">}\fi} | |
{\ifmmode \HCode{</\a:mathml mrow>}\else \HCode{</text:span>}\fi} | |
\NewConfigureOO{sout} | |
\ConfigureOO{sout}{<style:style style:name="sout" style:family="text"> | |
<style:text-properties style:text-line-through-style="solid" | |
style:text-underline-style="none" /> | |
</style:style> | |
} | |
\Configure{xout} | |
{\ifmmode \HCode{<\a:mathml mrow class="xout">}% | |
\else \HCode{<text:span text:style-name="xout">}\fi} | |
{\ifmmode \HCode{</\a:mathml mrow>}\else \HCode{</text:span>}\fi} | |
\NewConfigureOO{xout} | |
\ConfigureOO{xout}{<style:style style:name="xout" style:family="text"> | |
<style:text-properties style:text-line-through-style="solid" | |
style:text-underline-style="none" /> | |
</style:style> | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{paralist} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureList{compactenum}% | |
{\EndP \end:itm | |
\SaveHtmlPar \HCode{<text:list | |
text:style-name="compactenum\if@rl-rtl\fi | |
" | |
text:name="compactenum"\Hnewline>}% | |
\PushMacro\end:Itm | |
\global\let\end:itm=\empty | |
\global\let\end:Itm=\empty | |
\Configure{HtmlPar} | |
{\end:itm\gdef\end:itm{\HCode{</text:p>\Hnewline}}% | |
\HCode{<text:p | |
text:style-name="dd\if@rl-rtl\fi | |
" >}} | |
{\end:itm\gdef\end:itm{\HCode{</text:p>\Hnewline}}% | |
\HCode{<text:p | |
text:style-name="dd\if@rl-rtl\fi | |
" >}} | |
{}{}% | |
} | |
{\end:itm \end:Itm \global\let\end:itm=\empty | |
\PopMacro\end:Itm \global\let\end:Itm\end:Itm | |
\HCode{</text:list>}\RecallHtmlPar \ShowPar} | |
{\end:itm \end:Itm \gdef\end:Itm{\HCode{</text:list-item>}}% | |
\gdef\end:itm{\HCode{</text:h>}}\HCode{<text:list-item><text:h | |
text:style-name="dt\if@rl-rtl\fi | |
"\Hnewline >}\bgroup \bf} | |
{\egroup \end:itm \gdef\end:itm{\HCode{</text:p>}}% | |
\HCode{<text:p\Hnewline | |
text:style-name="dd\if@rl-rtl\fi | |
"\Hnewline | |
>}} | |
\NewConfigureOO{compactenum} | |
\ConfigureOO{compactenum}{<text:list-style style:name="compactenum" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.2in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.4in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
} | |
\ConfigureList{compactitem}% | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<\text:unorderedlist | |
text:style-name="compactitem\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-compactitem\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-compactitem\if@rl-rtl\fi | |
" | |
>}} | |
{\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:unorderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\NewConfigureOO{compactitem} | |
\ConfigureOO{compactitem} | |
{<style:style style:name="Inside-compactitem" | |
style:family="paragraph" | |
style:parent-style-name="Standard" | |
style:list-style-name="compactitem">\Hnewline | |
<style:paragraph-properties | |
fo:margin-left="0in" | |
fo:margin-right="0in" | |
fo:margin-top="0in" | |
fo:margin-bottom="0.15in" | |
fo:text-indent="0in" | |
style:auto-text-indent="false"/> | |
</style:style> | |
% | |
<text:list-style style:name="compactitem" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x2022;" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.15in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="-" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.35in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x204E;" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.55in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Bullet-Symbols" | |
text:bullet-char="\string&\:sharp x00B7;" >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.75in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
% | |
} | |
\ConfigureList{compactdesc}% | |
{\EndP \end:itm | |
\SaveHtmlPar \HCode{<text:list | |
text:style-name="compactdesc\if@rl-rtl\fi | |
" | |
text:name="compactdesc"\Hnewline>}% | |
\PushMacro\end:Itm | |
\global\let\end:itm=\empty | |
\global\let\end:Itm=\empty | |
\Configure{HtmlPar} | |
{\end:itm\gdef\end:itm{\HCode{</text:p>\Hnewline}}% | |
\HCode{<text:p | |
text:style-name="dd\if@rl-rtl\fi | |
" >}} | |
{\end:itm\gdef\end:itm{\HCode{</text:p>\Hnewline}}% | |
\HCode{<text:p | |
text:style-name="dd\if@rl-rtl\fi | |
" >}} | |
{}{}% | |
} | |
{\end:itm \end:Itm \global\let\end:itm=\empty | |
\PopMacro\end:Itm \global\let\end:Itm\end:Itm | |
\HCode{</text:list>}\RecallHtmlPar \ShowPar} | |
{\end:itm \end:Itm \gdef\end:Itm{\HCode{</text:list-item>}}% | |
\gdef\end:itm{\HCode{</text:h>}}\HCode{<text:list-item><text:h | |
text:style-name="dt\if@rl-rtl\fi | |
"\Hnewline >}\bgroup \bf} | |
{\egroup \end:itm \gdef\end:itm{\HCode{</text:p>}}% | |
\HCode{<text:p\Hnewline | |
text:style-name="dd\if@rl-rtl\fi | |
"\Hnewline | |
>}} | |
\NewConfigureOO{compactdesc} | |
\ConfigureOO{compactdesc}{<text:list-style style:name="compactdesc" > | |
<text:list-level-style-bullet | |
text:level="1" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0in" | |
text:min-label-width="0in" | |
text:min-label-distance="0in" />\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="2" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.2in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in" | |
/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="3" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.4in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
<text:list-level-style-bullet | |
text:level="4" | |
text:style-name="Source-Text" | |
text:bullet-char=" " >\Hnewline | |
<style:list-level-properties | |
text:space-before="0.6in" | |
text:min-label-width="0.2in" | |
text:min-label-distance="0.05in"/>\Hnewline | |
</text:list-level-style-bullet> | |
</text:list-style> | |
} | |
\ConfigureList{asparaitem}% | |
{\EndP\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
\HCode{<!--asparaitem-->}\ShowPar\ShowIndent} | |
{\EndP\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
\ShowPar} | |
{\par\ShowPar{\parindent=10pt\leavevmode}} | |
{} | |
\ConfigureList{asparaenum}% | |
{\EndP\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
\HCode{<!--asparaenum-->}\ShowPar\ShowIndent} | |
{\EndP\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
\ShowPar} | |
{\par\ShowPar{\parindent=10pt\leavevmode}} | |
{} | |
\ConfigureList{asparadesc}% | |
{\EndP\gHAdvance\BegEnd:N by 1 | |
\hbox{\HCode{<text:p><draw:frame | |
draw:name="begin-end-env-\BegEnd:N" | |
draw:style-name="env-frame" | |
text:anchor-type="as-char" | |
% fo:min-width="0.14in" | |
svg:width="90\%" | |
draw:z-index="0" | |
> | |
<draw:text-box | |
% fo:min-height="0.14in" | |
>}}% | |
\HCode{<!--asparadesc-->}\ShowPar\ShowIndent} | |
{\EndP\hbox{\HCode{</draw:text-box> | |
</draw:frame></text:p> }}% | |
\ShowPar} | |
{\par\ShowPar{\parindent=10pt\leavevmode}} | |
{} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{listings} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Log:Note{to ensure proper alignments use | |
fixed size fonts (see listings.dtx)} | |
\Configure{listings} | |
{\ifvmode \IgnorePar\fi \EndP | |
{\everypar{}\leavevmode}\HCode{<!--l. \the\inputlineno-->}% | |
\HCode{<text:p text:style-name="Preformatted-Text">}% | |
} | |
{{\everypar{}\leavevmode}\HCode{</text:p>}\par} | |
{}{} | |
\ConfigureEnv{lstlisting} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<!--l. \the\inputlineno lstlisting-->}% | |
\HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% | |
\bgroup \special{t4ht@(}% | |
\Configure{listings} | |
{{\everypar{}\leavevmode}} | |
{{\everypar{}\leavevmode}} | |
{\HCode{<text:s/><text:line-break/>}}{}% | |
} | |
{\special{t4ht@)}\egroup | |
\ifvmode \IgnorePar\fi \EndP \HCode{</text:p>}\par} | |
{} {} | |
\Configure{lstinputlisting} | |
{\ifvmode \IgnorePar\fi \EndP | |
\HCode{<!--l. \the\inputlineno lstinputlisting-->}% | |
\HCode{<text:p\Hnewline text:style-name="Preformatted-Text">}% | |
\bgroup \tt \special{t4ht@(}% | |
\Configure{listings} | |
{{\everypar{}\leavevmode}} | |
{{\everypar{}\leavevmode}} | |
{\HCode{<text:s/><text:line-break/>}} | |
{\HCode{<text:line-break/>}}% | |
} | |
{\special{t4ht@)}\egroup | |
\ifvmode \IgnorePar\fi \EndP \HCode{</text:p>}\par} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{alphanum} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\bgroup | |
\let\ifx=\relax | |
\let\:temp=\relax | |
\let\:tempa=\expandafter | |
\let\expandafter=\relax | |
\let\:TableOfContents=\relax | |
\let\else=\relax | |
\let\if=\relax | |
\let\fi=\relax | |
\def\Auto:ent#1{\noexpand\Auto:ent{#1,toclvla,liketoclvla,toclvlb,% | |
liketoclvlb,toclvlc,liketoclvlc,toclvld,liketoclvld,toclvle,% | |
liketoclvle,toclvlf,liketoclvlf,toclvlg,liketoclvlg,toclvlh,% | |
liketoclvlh,toclvli,liketoclvli,toclvlj,% | |
liketoclvlj,toclvlk,liketoclvlk,toclvll,liketoclvll}} | |
\edef\:TOC{\def\noexpand\:TOC{\:TOC}} | |
\:tempa | |
\egroup \:TOC | |
\ConfigureToc{chapter} | |
{\HCode{<text:p text:style-name="P1" ><text:span | |
text:style-name="toc-mark" >}} | |
{ \HCode{</text:span>}} | |
{} | |
{\HCode{</text:p>}} | |
\def\:tempc#1#2#3#4{% | |
\ConfigureMark{toclvl#1} | |
{\HCode{<text:span | |
text:style-name="toclvl#1" >}\csname thelvl#1\endcsname | |
\HCode{</text:span><text:s/>}}% | |
\Configure{toclvl#1} | |
{}{} | |
{\ifvmode \IgnorePar\fi \EndP\IgnorePar | |
\HCode{<text:h | |
text:style-name="\csname a:Heading-#4\endcsname" | |
\text:outlinelevel="#4" | |
>}\TitleMark\space\HtmlParOff} | |
{\HCode{</text:h>}\HtmlParOn \ShowPar\IgnoreIndent \par}% | |
\ConfigurToc{toclvl#1} | |
{\HCode{<text:p text:style-name="P#4"><text:span | |
text:style-name="toc-mark">}% | |
\tmp:cnt=0 \loop \advance\tmp:cnt by 1 | |
\ifnum \tmp:cnt<#2 ~~\repeat | |
% | |
\def\:temp{\J@INumberRoot{#2}{\tmp:cnt}}% | |
\afterassignment\:temp \tmp:cnt} | |
{#3\HCode{</text:span><text:s/>}} | |
{} | |
{\HCode{</text:p>}}% | |
\ConfigureToc{liketoclvl#1} | |
{\HCode{<text:p text:style-name="P#4" ><text:span | |
text:style-name="toc-mark" >}% | |
\tmp:cnt=0 \loop \advance\tmp:cnt by 1 | |
\ifnum \tmp:cnt<#2 ~~\repeat | |
% | |
\def\:temp{\J@INumberRoot{#2}{\tmp:cnt}}% | |
\afterassignment\:temp \tmp:cnt} | |
{#3\HCode{</text:span><text:s/>}} | |
{} | |
{\HCode{</text:p>}}% | |
} | |
\:tempc a1{.}{3} | |
\:tempc b2{.}{4} | |
\:tempc c3{.}{5} | |
\:tempc d4{)}{5} | |
\:tempc e5{)}{5} | |
\:tempc f6{)}{5} | |
\:tempc g7{)}{5} | |
\:tempc h8{)}{5} | |
\:tempc i9{)}{5} | |
\:tempc j{10}{)}{5} | |
\:tempc k{11}{)}{5} | |
\:tempc l{12}{)}{5} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{lineno} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\:warning{The line numbers are commented out. To reintroduce them, use | |
the \string\Configure{lineno}{...}{...} command} | |
\Configure{lineno} | |
{\bgroup \let\LineNumber=\empty} | |
{\egroup} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{footmisc} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{footnotetext} | |
{\Tag{fn\FNnum x\minipageNum | |
-tx}{}% | |
\ifTag{fn\FNnum x\minipageNum | |
} | |
{\expandafter\ifx\csname (fn\FNnum x\minipageNum | |
)\endcsname\def | |
\:warning{Multiple footnote texts for mark \FNnum}% | |
\fi | |
} {}% | |
% | |
\NoFonts \let\@textsuperscript\hbox | |
\HCode{<\text:footnote\Hnewline\text:note:class | |
text:id="}fn\FNnum x\minipageNum | |
% | |
\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">%<text:s/> | |
}% | |
\SaveHtmlPar \Configure{HtmlPar}{}{}{}{}% | |
} | |
{\RecallHtmlPar | |
\HCode{</text:p></\text:footnote-body></\text:footnote>}% | |
\expandafter\global\expandafter | |
\let\csname (fn\FNnum x\minipageNum | |
)\endcsname\def | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{mdwlist} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureList{itemize*}% | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<\text:unorderedlist | |
text:style-name="Itemize\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-itemize\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-itemize\if@rl-rtl\fi | |
" | |
>}} | |
{\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:unorderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
\ConfigureList{enumerate*}% | |
{\EndP\HCode{<\text:orderedlist | |
text:style-name="Enumerate\if@rl-rtl\fi | |
" | |
>\Hnewline}\def\end@Item{}\bgroup | |
\Configure{HtmlPar} | |
{\EndP\HCode{<text:p | |
text:style-name="Inside-enumerate\if@rl-rtl\fi | |
" | |
>}} | |
{\EndP\HCode{<text:p | |
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 | |
</\text:orderedlist>\Hnewline}\ShowPar} | |
{\EndP\end@Item\DeleteMark} | |
{\HCode{<text:list-item>}\par\ShowPar | |
\def\end@Item{\HCode{</text:list-item>\Hnewline}}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{soul} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{textcaps} | |
{\HCode{<text:span text:style-name="textcaps">}} | |
{\HCode{</text:span>}} | |
\Configure{texthl} | |
{\HCode{<text:span text:style-name="texthl">}\bgroup | |
\ifx\setstcolor\:gobble\else \Configure{textcolor} | |
{\gHAdvance\textcolorN by 1 | |
\Configure{color}% | |
{\Configure{SetHColor}{% | |
\OOstyles{% | |
<style:style style:name="textcolor\textcolorN" style:family="text"> | |
<style:text-properties fo:color="\HColor" | |
fo:background-color="transparent" /> | |
</style:style>}% | |
}}% | |
\HCode{<text:span text:style-name="textcolor\textcolorN">}}% | |
{\HCode{</text:span>}}% | |
\fi} | |
{\egroup\HCode{</text:span>}} | |
\Configure{textso} | |
{\HCode{<text:span text:style-name="textso">}} | |
{\HCode{</text:span>}} | |
\Configure{textst} | |
{\HCode{<text:span text:style-name="textst">}\bgroup | |
\ifx\setstcolor\:gobble\else \Configure{textcolor} | |
{\gHAdvance\textcolorN by 1 | |
\Configure{color}% | |
{\Configure{SetHColor}{% | |
\OOstyles{% | |
<style:style style:name="textcolor\textcolorN" style:family="text"> | |
<style:text-properties fo:color="\HColor" | |
fo:background-color="transparent" /> | |
</style:style>}% | |
}}% | |
\HCode{<text:span text:style-name="textcolor\textcolorN">}}% | |
{\HCode{</text:span>}}% | |
\fi} | |
{\egroup\HCode{</text:span>}} | |
\Configure{textul} | |
{\HCode{<text:span text:style-name="textul">}\bgroup | |
\ifx\setstcolor\:gobble\else \Configure{textcolor} | |
{\gHAdvance\textcolorN by 1 | |
\Configure{color}% | |
{\Configure{SetHColor}{% | |
\OOstyles{% | |
<style:style style:name="textcolor\textcolorN" style:family="text"> | |
<style:text-properties fo:color="\HColor" | |
fo:background-color="transparent" /> | |
</style:style>}% | |
}}% | |
\HCode{<text:span text:style-name="textcolor\textcolorN">}}% | |
{\HCode{</text:span>}}% | |
\fi} | |
{\egroup\HCode{</text:span>}} | |
\NewConfigureOO{textcaps} | |
\ConfigureOO{textcaps}{<style:style style:name="textcaps" style:family="text">\Hnewline | |
<style:text-properties fo:font-variant="small-caps" />\Hnewline | |
</style:style>\Hnewline | |
} | |
\NewConfigureOO{textso} | |
\ConfigureOO{textso}{<style:style style:name="textso" style:family="text"> | |
<style:text-properties fo:letter-spacing="0.035in"/> | |
</style:style> | |
} | |
\NewConfigureOO{textst} | |
\ConfigureOO{textst}{<style:style style:name="textst" style:family="text"> | |
<style:text-properties style:text-line-through-style="solid" | |
style:text-underline-style="none" /> | |
</style:style> | |
} | |
\NewConfigureOO{textul} | |
\ConfigureOO{textul}{<style:style style:name="textul" style:family="text"> | |
<style:text-properties style:text-underline-style="solid" | |
style:text-underline-width="auto" | |
style:text-underline-color="font-color" | |
/> | |
</style:style> | |
} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment