<..url.4ht..>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% url.4ht 2014-07-12-22:36 %
% Copyright (C) 1997--2009 Eitan M. Gurari %
<.TeX4ht copyright.>
<.fix url.>
\expandafter\ifx\csname Url@OT1encSpecials\endcsname\relax
<.pre-2004 url.sty.>
\else
<.url-2004.sty.>
\fi
<.shared url.>
\Hinput{url}
\endinput
-_-_-
<..pre-2004 url.sty..>
-_-_-
<..fix url..>
\def\:temp{\leavevmode \begingroup
\def\UrlLeft##1\UrlRight{\ifmmode \else \UrlFont\fi \Url:use{##1}}%
\def\Url@use##1 ##2{\ifmmode \else \UrlFont\fi
\Url:use{##1}}\let\,\empty \Configure{$}{}{}{}\Url}
\HLet\url\:temp
-_-_-
Old url.sty files employ \Url@use, new ones employ Url@Left.
<..url-2004.sty..>
\pend:defI\Url@z{%
\ht:special{t4ht@[}%
\Configure{$}{}{}{}%
\let\,\empty
\let\Url:HyperHook=\Url@HyperHook
\def\Url@HyperHook{\ifmmode \else \UrlFont\fi
\ht:special{t4ht@]}%
\Url:HyperHook}%
}
\pend:def\Url{\Configure{obeylines}{}{}{}}
-_-_-
<..shared url..>
\def\c:url:{\def\Url:use##1}
\Configure{url}{#1}
-_-_-
<..url-2004.sty..>+
\def\:temp{\begingroup \urlstyle {tt}\Url}
\ifx \:temp\path
\def\:tempc{\a:path\begingroup\aftergroup\b:path
\Configure{url}{\ifmmode \else \UrlFont\fi ##1}\urlstyle {tt}\Url}
\HLet\path\:tempc
\else
\def\:temp{\leavevmode \begingroup \urlstyle {tt}\Url}
\ifx \:temp\path
\def\:tempc{\leavevmode\a:path\begingroup\aftergroup\b:path
\Configure{url}{\ifmmode \else \UrlFont\fi ##1}\urlstyle {tt}\Url}
\HLet\path\:tempc
\fi
\fi
-_-_-
<..shared url..>+
\NewConfigure{path}{2}
\def\set@mathnolig#1{\ifnum\mathcode‘#1<32768
\begingroup\lccode‘\~‘#1\lowercase{\endgroup
\edef~}{\mathchar\number\mathcode‘#1_{\/}}%
\mathcode‘#1=32768 \fi}
-_-_-