<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>UNRESTRICTED | ILLIMITÉ<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></b></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have tried the experiment on the overall document, and for
some strange reason, given the odd combination<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Of things I am using I ended up having to use the following:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>\Css{.rm-lmtk-10x-x-109{
font-weight: bold;}}</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>to do the job, but it look nice now!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There is another problem now however.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In all locations where either < or > are used in either a
tt environment or even a \verb environment<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>the resulting output in html ends up being an upside-down question
mark or upside-down exclamation mark.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I find that particularly strange when it happened with the \verb…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Any idea why this is happening? It was not there before when the
default fonts were being used.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Would this happen with any other characters?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Any way of avoiding this effect?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thomas<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Wojciech Myszka
[mailto:wojciech.myszka@gmail.com] <br>
<b>Sent:</b> March 21, 2012 11:36 AM<br>
<b>To:</b> Beuthe, Thomas<br>
<b>Cc:</b> tex4ht@tug.org<br>
<b>Subject:</b> Re: [tex4ht] bolding tt font.<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Dear Thomas,<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>In general everything is OK. Standard LaTeX
(whatever that mean) doesn't have bold variant of typewriter (monospace) font.
So TeX4ht follows LaTeX rules.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>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:<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p style='margin:0cm;margin-bottom:.0001pt'>\documentclass{report}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\usepackage{lmodern} % <--
lmodern package<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\usepackage{ulem}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\begin{document}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\Css{.rm-lmtk-10{ font-weight:
bold;}} % <-- extra command to css file<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>Test fonts and bolding, when
producing html with tt type font.<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>regular text.<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\uline{underlined regular text}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\textbf{bolded regular text}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\uline{\textbf{bolded underlined
regular text}}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\texttt{tt font text}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\texttt{\uline{underlined tt font
text}}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\texttt{\textbf{bolded tt font
text}}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\texttt{\uline{\textbf{bolded
underlined tt font text.}}}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>\end{document}<o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>Regards <o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'>Wojtek<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal>2012/3/21 Beuthe, Thomas <<a href="mailto:beuthet@aecl.ca">beuthet@aecl.ca</a>><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>UNRESTRICTED
| ILLIMITÉ</b><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b> </b><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I
am trying to get bolded tt font to produce a monospaced font in the resulting
html using a simple “htlatex filename” compile.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Consider
the following small test file:<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>\documentclass{report}<span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\usepackage{ulem}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\begin{document}</span><o:p></o:p></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.</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>regular text.</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\uline{underlined regular text}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\textbf{bolded regular text}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></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}}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\texttt{tt font text}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></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}}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></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}}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></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.}}}</span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\end{document}</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Everything
works fine except for the last two lines which do not produce a bolded
monospaced font.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The
underline shows up in the last line but neither the last line, nor the line
above it produce a bolded font.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>(I
am using a standard install of TeXLive 2011 on a Windows 7 64 bit machine.)<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Try
it and see. The css files does not use a monospaced definition.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Am
I doing something wrong?<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Any
advice?<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='color:#888888'> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='color:#888888'> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='color:#888888'>Thomas Beuthe<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='color:#888888'> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='color:#888888'> <o:p></o:p></span></p>
</div>
</div>
</div>
<p class=MsoNormal><br>
<br clear=all>
<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<p class=MsoNormal>-- <br>
---(___C'><o:p></o:p></p>
</div>
</div>
</body>
</html>