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)


On Wed, Jan 26, 2000 at 03:19:14PM +0100, Thomas Andre Berger wrote:
> Jorge Godoy <godoy@conectiva.com.br> writes:
> 
> > When converting a document to HTML (either with Jade or OpenJade)
> > with the DocBook dsl, the code is shown in the browser.  When
> > converting the same document to TeX and then to DVI or PS the right
> > results (the " signs) are shown.
> > 
> > Where can I look to solve this?
> 
> HTML-browsers do not support the ISO-entities.  But most browsers
> support Unicode references.  So I post-process the html files,
> replacing the entity references with the Unicode numbers
> 
> Using sed:
> 
>  sed -e 's/ldquo/#8220/g' $f | sed -e 's/rdquo/#8221/g' > $tmpfile.$f
>  mv $tmpfile.$f  $f
> 
> $f is one html output file from jade.
> 
> [
>   OK, so I should have added & and ; in the substituion to be certain
>   not to replace non-entities.
> ]
> 
> I think both Netscape and Exporer supports this, although my netscape
> shows both rigth and left quotes as ".  I can't say for certain what
> IE does.
> 
> Mozilla did not show anyting, but its still in alpha! ;)

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. 

--
Godoy.	<godoy@conectiva.com.br>               GPG Fingerprint
                                         851B B620 626D 2AD0 E783
"Ser poeta não é minha ambição,          E932 1330 BE6D A4A3 0625 
 é minha maneira de estar sozinho"
              - Fernando Pessoa.       Publicações @ Conectiva S.A. 

Except where explicitly stated I speak on my own behalf.
Exceto onde explicitado as declarações aqui feitas são apenas minhas.



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


Powered by eList eXpress LLC