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
[EMAIL PROTECTED]

  `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
[EMAIL PROTECTED] with the word
unsubscribe in the message body.

Reply via email to