[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html: @option inside @emph

From: Karl Berry
Subject: Re: html: @option inside @emph
Date: Fri, 16 Jun 2006 14:02:02 -0500

Hi Ralf,

Thanks for looking at this, and sorry for the delayed reply.

    2) which text qualities do we _want_ to be nested?

I've intentionally left that fuzzy in the docs.  We need to fix the
mismatched nesting, of course, but other than that I don't really care.

On the other hand, I doubt we will ever change texinfo.tex to "combine"
font attributes.  So @address@hidden emphasized}} is just bold in
TeX, not bold italic.

I don't feel compelled to make HTML and TeX output be perfectly
identical in this regard.  I'm happy to leave it up to the browser
and/or user and/or whomever.  I think it's pretty much a mistake,
stylistically, to write such things in the first place.

On your last point:

    Should the `‘' output
    by cm_code for @samp be put inside <em> if inside @emph, with
      @emph{some @samp{code} sample}

Here it would seem only logical for the `quotes' to be italic quotes,
i.e., belonging to the @emph aka <em>.  I didn't check, but I think
that's what texinfo.tex (and makeinfo?) produces.

    implemented quite easily by coding this as a set of rules for desired
    and allowed nesting to feed insert_html_tag_with_attribute with, and
    then solve the immediate bug that started this thread cleanly.

    What do you think?

Do you have a feeling about the easiest way to fix the mismatched
nesting?  That's the primary goal in my mind.

Thanks much for the patch.  I'll hold off installing it until we've
discussed which way to go ...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]