Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2005 09:20:50 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Murray Stokely <murray@freebsdmall.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Turning on smartquotes for HTML output
Message-ID:  <20050505235049.GG71979@wantadilla.lemis.com>
In-Reply-To: <20050505132411.GC6071@freebsdmall.com>
References:  <20050505132411.GC6071@freebsdmall.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--faJ0ivz08JzDjTH2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thursday,  5 May 2005 at  6:24:12 -0700, Murray Stokely wrote:
> I would like to use proper entities to generate smart quotes rather
> than relying on double ``ticks''.  The following patch produces much
> nicer looking quotes in FireFox and Opera on FreeBSD.  We didn't have
> this option many years ago when the quote element was first added to
> our stylesheets, but the smartquote entities are now well supported so
> we should use them.  If there are no objections I'll commit the
> following patch.
>
> 	- Murray
>
> Index: release.dsl
> ===================================================================
> RCS file: /home/ncvs/src/release/doc/share/sgml/release.dsl,v
> retrieving revision 1.8
> diff -u -r1.8 release.dsl
> --- release.dsl	5 Sep 2004 13:50:38 -0000	1.8
> +++ release.dsl	5 May 2005 13:12:19 -0000
> @@ -117,9 +117,9 @@
>  	<!-- Convert " ... " to `` ... '' in the HTML output. -->
>  	(element quote
>  	  (make sequence
> -	    (literal "``")
> +	    (literal "&#8220;")
>  	    (process-children)
> -	    (literal "''")))
> +	    (literal "&#8221;")))

Wouldn't this be better as &ldquo; and &rdquo;?

Greg
--
See complete headers for address and phone numbers.

--faJ0ivz08JzDjTH2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFCerFZIubykFB6QiMRAhyuAJ0Q9SVzCkIjgL+ISPbiwrcDKpNklgCePJIQ
cZnO7Ri7/S0q5Cxvkn8m+QA=
=Mo+e
-----END PGP SIGNATURE-----

--faJ0ivz08JzDjTH2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505235049.GG71979>