Re: [docbook-apps] Re: DocBook XSL 1.67.0 released

From
Paul A. Hoadley <>
Date
2004-11-12T04:18:04+00:00
ID
Thread
Re: [docbook-apps] Re: DocBook XSL 1.67.0 released
Hello Sam,

On Thu, Nov 11, 2004 at 12:31:42PM -0500, Sam Steingold wrote:

> what I am trying to say is that "em" is not the same as "i" and
> rendering <varname> as <em> is may be wrong because then the
> variable names will be italic in some places and normal in others.

As far as I can see, browsers don't work like LaTeX in this regard.
That is they (arguably incorrectly---IMHO, the LaTeX behaviour is
correct) don't _toggle_ italics on the 'em' element.  The following
fragment:

<p><em>This is an emphasised sentence with an <em>emphasised</em> word
in it.</em></p>

renders wholly in italics on both IE 6 and Firefox 1.0 here.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/