I was wondering what could be reasons for differences when I redefine control sequences in the preamble or after \begin{document}?
For example, this code typesets abcd when compiled by any of pdflatex, htlatex, and mk4ht oolatex.
\documentclass{article}
\begin{document}
\renewcommand\b{b}
a\b cd
\end{document}
But if \renewcommand\b{b} is moved to the preamble, pdflatex and htlatex will still output abcd, while mk4ht oolatex will now output ac̱d. That is, instead of b, \b will expand to the standard sub-macron (0x331).
\documentclass{article}
\renewcommand\b{b}
\begin{document}
a\b cd
\end{document}
I assume the missing b in these examples is not due to a bug in mk4ht oolatex.
\begin{document}, is long gone. – barbara beeton Feb 18 '14 at 14:13