This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Use of “ and ” (fwd)
/ Jorge Godoy <godoy@conectiva.com.br> was heard to say:
| Ok, but so it's a DocBook (or Jade/OpenJade) bug.
| I've sent this message to Norm in private before...
| DocBook (or Jade/OpenJade) should do this substitution when converting
| to HTML.
Well, perhaps it's a Jade bug (although I'd rather blame the
browsers myself), but it's got nothing to do with DocBook per
se. There are a few ways to "fix" it:
1. Turn off
(declare-characteristic preserve-sdata?
"UNREGISTERED::James Clark//Characteristic::preserve-sdata?" #f)
in your custom stylesheet. Alas, this will break © and other
entities as well.
2. Use <quote>phrase</quote> instead of “ and ”
3. Add <!ENTITY ldquo '"'> and <!ENTITY rdquo '"'> to your documents
or a customized version of DocBook.
Cheers,
norm
--
Norman Walsh <ndw@nwalsh.com> | "I" before "E" except after "C":
http://www.oasis-open.org/docbook/ | simple, concise and efficeint.
Member, DocBook Editorial Board |