Dear Thomas,<div><br></div><div>In general everything is OK. Standard LaTeX (whatever that mean) doesn't have bold variant of typewriter (monospace) font. So TeX4ht follows LaTeX rules.</div><div><br></div><div>You can use Latin Modern fonts (instead of standard Computer Modern) via package lmodern. They have bold variant. There is only small problem with TeX4ht – it doesn't follow this font exactly, but adding one command to css file solves the problem. Try this:</div>
<div><br></div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\documentclass{report}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\usepackage{lmodern}  % <-- lmodern package</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\usepackage{ulem}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\begin{document}</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\Css{.rm-lmtk-10{ font-weight: bold;}} % <-- extra command to css file</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Test fonts and bolding, when producing html with tt type font.</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">regular text.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\uline{underlined regular text}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\textbf{bolded regular text}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\uline{\textbf{bolded underlined regular text}}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\texttt{tt font text}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\texttt{\uline{underlined tt font text}}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\texttt{\textbf{bolded tt font text}}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\texttt{\uline{\textbf{bolded underlined tt font text.}}}</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">\end{document}</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
Regards </p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Wojtek</p></div><div><br><br><div class="gmail_quote">2012/3/21 Beuthe, Thomas <span dir="ltr"><<a href="mailto:beuthet@aecl.ca">beuthet@aecl.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><b>UNRESTRICTED | ILLIMITÉ<u></u><u></u></b></p>

<p class="MsoNormal"><b><u></u> <u></u></b></p>

<p class="MsoNormal">I am trying to get bolded tt font to produce a monospaced
font in the resulting html using  a simple “htlatex filename” compile.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">Consider the following small test file:<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">\documentclass{report}<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> <u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\usepackage{ulem}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\begin{document}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Test fonts and
bolding, when producing html with tt type font.<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">regular text.<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\uline{underlined regular text}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\textbf{bolded regular text}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\uline{\textbf{bolded underlined regular
text}}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\texttt{tt font text}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\texttt{\uline{underlined tt font text}}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\texttt{\textbf{bolded tt font text}}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\texttt{\uline{\textbf{bolded underlined tt
font text.}}}<u></u><u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">\end{document}<u></u><u></u></span></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">Everything works fine except for the last two lines which do
not produce a bolded monospaced font.<u></u><u></u></p>

<p class="MsoNormal">The underline shows up in the last line but neither the last
line, nor the line above it produce a bolded font.<u></u><u></u></p>

<p class="MsoNormal">(I am using a standard install of TeXLive 2011 on a Windows
7 64 bit machine.)<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">Try it and see.  The css files does not use a
monospaced definition.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">Am I doing something wrong?<u></u><u></u></p>

<p class="MsoNormal">Any advice?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">Thomas Beuthe<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"> <u></u><u></u></p>

</font></span></div>

</div>


</blockquote></div><br><br clear="all"><div><br></div>-- <br>---(___C'><br>
</div>