Re[2]: import quote

From: Alan G Isaac (aisaac@american.edu)
Date: Thu Jan 16 2003 - 11:44:18 EST

  • Next message: ericzen: "Re: Gnome 2"

    > On Mon, 6 Jan 2003, Alan G Isaac wrote:
    >> I am surprised that Abiword imports a q element as
    >> emphasized text without quotes. That is probably
    >> not the intent of most writers (?), and does not
    >> seem to me to be closely aligned to the spec.

    On Wed, 15 Jan 2003 12:44:32 +0000 (GMT) F J Franklin <F.J.Franklin@sheffield.ac.uk> wrote:
    > The following are imported as "font-style: italic":
    > <q>
    > <samp>
    > <var>
    > <kbd>
    > <address>
    > <cite>
    > <em>

    > The following are imported as "font-weight: bold":
    > <dfn>
    > <strong>

    > The following are imported as "font-family: courier":
    > <code>
    > <tt>

    A couple comments:
    i. I would expect the KBD element to import as monospaced.
    Isn't this the more common default browser choice?
    ii. While elements must of course be imported with default
    formatting when no formatting is specified, this discussion
    highlights again that the only way to respect user *intents*
    when importing (X)HTML is to attend to the style information
    in the document, including linked style sheets.

    > But inserting extra text... I'm not sure.
    > Maybe:
    > <q before="&lquo;" after="&rquo;" style="font-style: italic; color: blue" />
    > <tt style="font-family: fixed">

    I think you want double quotes. The spec clearly suggests
    that the extra text will be inserted for a Q element.
    In which case this seems a reasonable presumption for
    AbiWord. (But I think I missed the point of this proposal,
    perhaps because I know zilch about AbiWord's internal
    representation of such elements.)

    Cheers,
    Alan Isaac

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Thu Jan 16 2003 - 11:45:00 EST