OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: 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 &copy; and other
   entities as well.

2. Use <quote>phrase</quote> instead of &ldquo; and &rdquo;

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    | 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC