Turning on smartquotes for HTML output
Murray Stokely
murray at freebsdmall.com
Fri May 6 00:09:49 UTC 2005
On Fri, May 06, 2005 at 09:34:39AM +0930, Greg 'groggy' Lehey wrote:
> On Thursday, 5 May 2005 at 17:02:15 -0700, Murray Stokely wrote:
> > On Fri, May 06, 2005 at 09:20:50AM +0930, Greg 'groggy' Lehey wrote:
> >>> - (literal "``")
> >>> + (literal "“")
> >>> (process-children)
> >>> - (literal "''")))
> >>> + (literal "”")))
> >>
> >> Wouldn't this be better as “ and ”?
> >
> > If it worked.
> >
> > local/share/sgml/catalog.ports -t sgml
> > /usr/src/release/doc/en_US.ISO8859-1/relnotes/alpha/article.sgml >
> > article.html || (/bin/rm -f article.html && false)
> > /usr/local/bin/jade:/usr/src/release/doc/en_US.ISO8859-1/relnotes/alpha/../../../share/sgml/release.dsl:120:16:E:
> > general entity "ldquo" not defined and no default entity
> > /usr/local/bin/jade:/usr/src/release/doc/en_US.ISO8859-1/relnotes/alpha/../../../share/sgml/release.dsl:122:16:E:
> > general entity "rdquo" not defined and no default entity
>
> This appears to be a bug in jade.
The error message from jade is pretty explicit. It is complaining
that the DTD doesn't contain that entity. You are free to add
<!ENTITY ldquo CDATA "“>
<!ENTITY rdquo CDATA "”>
if you'd like. The above two definitions are part of the HTML DTD,
but maybe not of DocBook.
- Murray
More information about the freebsd-doc
mailing list