Re: import quote

From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Wed Jan 15 2003 - 07:44:32 EST

  • Next message: Bruce Bowler: "MSWord tables?"

    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.

    The problem runs even deeper.

    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>

    One way to improve this would be to have a file with style mappings:

    q {
      font-style: italic;
      color: blue;
    }
    tt {
      font-family: 'Helvetica';
      color: red;
    }

    or something like that. 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">

    Thoughts?

    Frank

    Francis James Franklin
    F.J.Franklin@shef.ac.uk

      `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
    Radium, Sapphire, Silver and Steel.
      `Sapphire and Steel have been assigned...'

    -----------------------------------------------
    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 : Wed Jan 15 2003 - 07:57:22 EST