\:CheckOption{new-accents} \if:Option \else
\Configure{accents}
{\expandafter\ifx \csname #1-num\endcsname\relax
\ht:special{t4ht@+\string&{35}x#2{59}}x%
\else
\ht:special{t4ht@+\string&\#x#2;}X%
\fi
}
{\expandafter\ifx \csname a:#1-css\endcsname\relax
\Picture+{ \a:@Picture{#1}}#2{#3}\EndPicture
\else
\csname a:#1-css\endcsname #3\csname b:#1-css\endcsname
\fi
}
\expandafter\let\csname ring-num\endcsname=\def
\fi
-_-_-
\NewConfigure{bar-css}{2}
\Configure{bar-css}
{\HCode{<span class="bar-css">}}
{\HCode{</span>}}
\Css{span.bar-css {text-decoration:overline;}}
-_-_-
\:CheckOption{new-accents} \if:Option \else
\Configure{textscaccent}
{\Tg<small class="small-caps">}{\Tg</small>}
\fi
-_-_-
\Configure{textcircled}
{\@use@text@encoding \@curr@enc c}
{\leavevmode \special{t4ht@+\string&\#x00A9;}c}
{\@use@text@encoding \@curr@enc \scshape r}
{\leavevmode \special{t4ht@+\string&\#x00AE;}r}
{}
-_-_-
\let\"=\:same \let\~=\:same \let\^=\:same
\let\v=\:same \let\’=\:same \let\r=\:same
\PictureOff
-_-_-
\:CheckOption{accent-} \if:Option
\Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
\fi
\:CheckOption{mathaccent-} \if:Option
\Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\’{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\‘{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
\fi
-_-_-
\Configure{accent}{*}
{<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end accent-->}
\Configure{mathaccent}{*}
{<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end mathaccent-->}
\Configure{accented}{*}
{<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end accented-->}
\Configure{accenting}{*}
{<!--tex4ht:accenting\Hnewline-->}
{<!--tex4ht:end accenting-->}
-_-_-
\:CheckOption{new-accents} \if:Option
<.new plain accents.>
\else
<.old plain accents.>
\Configure{accents}
{\ht:special{t4ht@+\string&{35}x#2{59}}x}
{\Picture+{ \:Picture:{#1}}#2{#3}\EndPicture}
\fi
\let\^^_=\v -_-_-
\:CheckOption{accent-} \if:Option
\Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
\fi
\:CheckOption{mathaccent-} \if:Option
\Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\’{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\‘{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
\fi
-_-_-
\Configure{accent}{*}
{<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end accent-->}
\Configure{mathaccent}{*}
{<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end mathaccent-->}
\Configure{accented}{*}
{<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end accented-->}
\Configure{accenting}{*}
{<!--tex4ht:accenting\Hnewline-->}
{<!--tex4ht:end accenting-->}
-_-_-
\Configure{accent}\‘\grave{<.grave codes.>{}{}}
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
\Configure{accent}\’\acute{<.acute codes.>{}{}}
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
\Configure{accent}\^\hat{<.circumflex codes.>{}{}}
{\a:accents{circ}{#1}} {\b:accents{hat}{#1}{#2}}
\Configure{accent}\~\tilde{<.tilde codes.>{}{}}
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
\Configure{accent}\"\ddot{<.diaeresis codes.>{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}} -_-_-
The following are also placed under accents configuration.
\Configure{accent}\c\c{C{C}c{c}{}{}}
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
\Configure{accent}\t\t{{}{}}
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
\Configure{accent}\H\H{{}{}}
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
\Configure{accent}\b\b{{}{}}
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
\Configure{accent}\d\d{{}{}}
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
-_-_-
The following originally have been defined to be parameter-less.
\Configure{accent}\.\.{{}{}}
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
\Configure{accent}\dot\dot{{}{}}
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
\Configure{accent}\u\breve{{}{}}{\a:accents{breve}{#1}}
{\b:accents{breve}{#1}{#2}}
\Configure{accent}\vec\vec{{}{}}{\a:accents{vec}{#1}}
{\b:accents{vec}{#1}{#2}}
\Configure{accent}\v\v{{}{}}{\a:accents{check}{#1}}
{\b:accents{check}{#1}{#2}}
\Configure{accent}\check\check{{}{}}{\a:accents{check}{#1}}
{\b:accents{check}{#1}{#2}}
\Configure{accent}\=\bar{{}{}}
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
-_-_-
\Configure{accent}\widetilde\widetilde{{}{}}
{\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
\Configure{accent}\widehat\widehat{{}{}}
{\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
-_-_-
\vec, \widetilde, and \widehat are for math mode. \b, \c, \d, \t, and \H are
for text mode.