27.6 BugFix: srcltx.4ht

The following definition is due to a bug in TEX4ht. If \everypar has been redefined and \src@everypar is not defined then \ht:everypar will not be defined in the style file srcltx.4ht distributed with TEX4ht. Here is the corresponding code from that file.

\ifx \src@everypar\:UnDef \else  
   \let\everypar\src@everypar  
   \let\ht:everypar\everypar  
\fi

There is no command \src@everypar in srcltx, so \ht:everypar will not be defined here.

Due to some redefinition of \everypar (I get the warning

) (/usr/share/texmf/tex/generic/tex4ht/tex4ht.sty  
l.772 --- TeX4ht warning --- nonprimitive \everypar ---

from TEX4ht), \ht:everypar is not defined anywhere else.

As a workaround we simply define this command here.

3424ht bugfix for package srcltx 342  (327)
\let\ht:everypar\everypar

Note 14-Dec-2005: I received a mail from Eitan Gurari, the author of TEX4ht, that this bug is fixed in newer versions of TEX4ht by writing

\ifx \src@everypar\:UnDef  
   \let\ht:everypar\everypar  
\else  
   \let\everypar\src@everypar  
   \let\ht:everypar\everypar  
\fi

instead of the srcltx.4ht code above. So this section will eventually disappear.