\Configure{cite}
{\HCode{<span class="cite">}}
{\HCode{</span>}}
{\Link[ <.mouseover-cite arguments.>]}
{\EndLink }
\expandafter\def\csname c:mouseover-cite:\endcsname{%
\def\:tempb{cite}\csname c:mouseover-?:\endcsname}
\Configure{mouseover-cite}{tex4ht.body,FULLHTML} -_-_-
\mo:args{cite}{\@citeb}{\expandafter
\jsHash\expandafter{\expandafter X\@citeb}}%
-_-_-
\Configure{cite}
{\HCode{<span class="cite">}} {\HCode{</span>}}
{\Link} {\EndLink}
-_-_-
\Configure{cite}{}{}{}{}%
-_-_-
\string\Configure{mouseover-vars}{cite}{Author,Title}%
-_-_-
\string\Configure {mouseover-cite}
{tex4ht.body,CAPTION,tex4ht.caption+tex4ht.var,FULLHTML}%
-_-_-
\Configure{bibitem}{\Link}{\EndLink}
-_-_-
\Configure{HtmlPar}
{\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
{\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
{\Tg</p>} {\Tg</p>}%
-_-_-
\Configure{HtmlPar}
{\EndP\HCode{<p class="bibitem" \a:LRdir>}}
{\EndP\HCode{<p class="bibitem" \a:LRdir>}}
{\Tg</p>} {\Tg</p>}%
-_-_-
\Configure{HtmlPar}
{\HCode{</p><p class="bibitem-p">}}
{\HCode{</p><p class="bibitem-p">}}
{} {}%
-_-_-
\Css{p.bibitem { text-indent: -2em; margin-left: 2em;
margin-top:0.6em; margin-bottom:0.6em; }}
\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
margin-top:0.6em; margin-bottom:0.6em; }}
-_-_-
The bibliography environment is prooblematic because it carries a definition that
implies an environment similar to
\begin{....}
\section*{...}
...
\end{....}
The \begin{...} has a \SaveEverypar, and \end{...} has a \RecallEverypar.
In the case of paginations across sectioning commands, we have also the saving and
recalling also at the start and end of each section (each page). In such a case, we
don’t have proper nestings of environments.
\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
-_-_-
\ConfigureEnv{thebibliography}{\par\leavevmode}{\ShowPar}{}{}
-_-_-
\ConfigureList{thebibliography}%
{\ifvmode\IgnorePar\fi \EndP \HCode{<div
class="thebibliography">}\let\en:bib=\empty}
{\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
{\en:bib\def\en:bib{<.bibliography2.>\EndP}%
<.config bib HtmlPar.>\par\ShowPar
\HCode{<span class="biblabel">}<.config bib-p HtmlPar.>}
{\HCode{<span class="bibsp">}\:nbsp
\:nbsp\:nbsp\HCode{</span></span>}} -_-_-
\:CheckOption{bibtex2} \if:Option
\Configure{bibliography2}
{~~[} {more} {]}
<.bibitem 2.>%
\fi -_-_-
\csname bibliography2\endcsname
-_-_-
\Configure{vol}{\HCode{<strong>}}{\HCode{</strong>}}
\Configure{book}{\HCode{<em>}}{\HCode{</em>}}
\Configure{paper}{\HCode{<em>}}{\HCode{</em>}}
\Configure{Refs}{\IgnorePar\EndP\HCode{<table class="Refs">}}
{\HCode{</table>}}
\Configure{ref}{\HCode{<tr style="vertical-align:top;"><td style="text-align:right;">}}
{\EndP\HCode{</td></tr>}}{}
\Configure{keyformat}{}{\EndP\HCode{</td><td>}}
-_-_-
\HAssign\bibN=0
\Configure{thebibliography}%
{\ifvmode \IgnorePar\fi \EndP
\EndP\HCode{<dl \a:LRdir class="thebibliography">}%
\PushMacro\end:itm
\global\let\end:itm=\empty}
{\ifvmode \IgnorePar\fi \EndP
\PopMacro\end:itm \global\let\end:itm \end:itm
\EndP\HCode{</dd></dl>}\ShowPar}
{\ifvmode \IgnorePar\fi \EndP
\gHAdvance\bibN by 1
\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
id="bib-\bibN"
class="thebibliography">}\bgroup \bf}
{\ifvmode \IgnorePar\fi \EndP
\gHAdvance\bibN by 1
\egroup\HCode{</dt><dd\Hnewline
id="bib-\bibN" class="thebibliography">}\par\ShowPar}
-_-_-
\Configure{printshorthands}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<dl class="printshorthands"><dt class="printshorthands">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</dd></dl>}}
{\ifvmode \IgnorePar\fi \EndP
\HCode{</dd><dt class="printshorthands">}}
{\HCode{</dt><dd class="printshorthands">}\par\ShowPar}
\Css{dt.printshorthands{float:left; clear:left; margin-right:1em;}}
-_-_-
\Configure{finentry}
{\hbox{\HCode{<!--finentry-->}}}
{\hbox{\HCode{<!--/finentry-->}}}
-_-_-
\NewConfigure{printfield-annotation}{2}
\NewConfigure{printfield-file}{2}
\Configure{printfield-annotation}
{\HCode{<br class="annotation"/><span class="annotation">}}
{\HCode{<!--/annotation--></span>}}
\Configure{printfield-file}
{\HCode{<br class="file" /><span class="file">}}
{\HCode{<!--/annotation--></span>}}
\Css{div.bibitem br.annotation,
div.bibitem br.file
{margin-bottom:0.5em}}
-_-_-
\NewConfigure{printfield-entrykey}{2}
\Configure{printfield-entrykey}
{\HCode{<span class="entrykey">}}
{\HCode{</span>}}
-_-_-
\Configure{entryhead:name}
{\hbox{\HCode{<!--entryhead:name-->}%
\Css{dd\#bib-\bibN\space p:last-child
{border-bottom:solid black 1px}}%
}}
{\hbox{\HCode{<!--/entryhead:name-->}}}
\Configure{entryhead:full}
{\hbox{\HCode{<!--entryhead:full-->}%
\Css{dd\#bib-\bibN\space p:last-child
{border-bottom:solid black 1px}}%
}}
{\hbox{\HCode{<!--/entryhead:full-->}}}
-_-_-
\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
-_-_-
\Css{dd.thebibliography {margin-left: 5em;}}
\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
-_-_-
\Css{dd.thebibliography {margin-left: 2.5em;}}
\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
-_-_-
\Css{dd.thebibliography {margin-left: 7em;}}
\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
\Configure{subfieldlabel}
{\HCode{<span class="subfieldlabel">}}
{\HCode{</span>}}
-_-_-
\ConfigureEnv{thebibliography}%
{\ifvmode\IgnorePar\fi \EndP \HCode{<div
class="thebibliography">}\let\en:bib=\empty}
{\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
{}{}
\ConfigureList{thebibliography}%
{}{}
{\en:bib\def\en:bib{<.bibliography2.>\EndP}%
<.config bib HtmlPar.>\par\ShowPar
\HCode{<span class="biblabel">}<.config bib-p HtmlPar.>}
{\HCode{<span class="bibsp">}\:nbsp
\:nbsp\:nbsp\HCode{</span></span>}} -_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex From bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Skip bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Cont bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Until bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Set1 bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Set2 bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Addr1 bib }%
-_-_-
\ht:special {t4ht@DCopyTo: \jobname-js.tex Addr2 bib }%
-_-_-