This MWE
\documentclass[11pt]{article}
\usepackage{ifluatex}
\ifluatex
\IfFileExists{luatex85.sty}{\usepackage{luatex85}}{}
\ifdefined\HCode
\usepackage[utf8]{luainputenc}
\usepackage[T1]{fontenc}
\else
\usepackage{fontspec}
\fi
\else%assume pdflatex, I only use these two
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\fi
\begin{document}
\ifluatex
compiled with lualatex
\else
compiled with pdflatex
\fi
{\tiny \verb|IllustratingTheUseOfDiscreteDistributions|}
{\tiny IllustratingTheUseOfDiscreteDistributions}
\end{document}
When compiled with pdflatex or lualatex gives

but when compiled with tex4ht either in lua mode or not, gives this HTML
make4ht t.tex

How can one tell tex4ht to change the font size of \verb just like with pdflatex?
Using TL 2016
Update. Found the problem. It is this \usepackage[T1]{fontenc} when it is included then make4ht do not change the font size of \verb. This now works
\documentclass[11pt]{article}
\usepackage{ifluatex}
\ifluatex
\IfFileExists{luatex85.sty}{\usepackage{luatex85}}{}
\ifdefined\HCode
\usepackage[utf8]{luainputenc}
\else
\usepackage{fontspec}
\fi
\else%assume pdflatex, I only use these two
\usepackage[utf8]{inputenc}
\fi
\begin{document}
\ifluatex
compiled with lualatex
\else
compiled with pdflatex
\fi
{\tiny \verb|IllustratingTheUseOfDiscreteDistributions|}
{\tiny IllustratingTheUseOfDiscreteDistributions}
\end{document}
Now make4ht t.tex gives




\IfFileExists{luatex85.sty}{\usepackage{luatex85}}{}but not, for example\IfFileExists{ifluatex.sty}{\usepackage{ifluatex}}{}? It doesn't matter, just looks a bit odd. – David Carlisle Jul 06 '16 at 10:24luatex85.styonly exist in TL 2016 and not TL2015. Since I still sometimes compile on TL 2015 to test, I needed this so not to get errors.ifluatex.stypackage is in TL2015 and TL2016 since not need to check for it.MWE>kpsewhich ifluatex.sty /usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty MWE>kpsewhich luatex85.sty MWE>– Nasser Jul 06 '16 at 10:27