From owner-freebsd-doc@FreeBSD.ORG Thu May 5 14:04:40 2005 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6290616A4CE for ; Thu, 5 May 2005 14:04:40 +0000 (GMT) Received: from redqueen.evilcoder-services.org (redqueen.evilcoder-services.org [217.148.169.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F65443DB2 for ; Thu, 5 May 2005 14:04:40 +0000 (GMT) (envelope-from remko@freebsd.org) Received: from localhost (localhost [127.0.0.1])3DE422954B4; Thu, 5 May 2005 16:04:39 +0200 (CEST) Received: from redqueen.evilcoder-services.org ([127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 83018-09; Thu, 5 May 2005 16:04:39 +0200 (CEST) Message-ID: <427A27F5.3010505@FreeBSD.org> Date: Thu, 05 May 2005 16:04:37 +0200 From: Remko Lodder User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murray Stokely References: <20050505132411.GC6071@freebsdmall.com> In-Reply-To: <20050505132411.GC6071@freebsdmall.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by the evilcoder-services.org maildomain cc: freebsd-doc@freebsd.org Subject: Re: Turning on smartquotes for HTML output X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 14:04:40 -0000 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 @@ > > (element quote > (make sequence > - (literal "``") > + (literal "“") > (process-children) > - (literal "''"))) > + (literal "”"))) > > > (define ($create-refentry-xref-link$ #!optional (n (current-node))) > > Index: freebsd.dsl > =================================================================== > RCS file: /home/dcvs/doc/share/sgml/freebsd.dsl,v > retrieving revision 1.87 > diff -u -r1.87 freebsd.dsl > --- freebsd.dsl 31 Dec 2004 22:34:52 -0000 1.87 > +++ freebsd.dsl 5 May 2005 13:13:04 -0000 > @@ -275,9 +275,9 @@ > > (element quote > (make sequence > - (literal "``") > + (literal "“") > (process-children) > - (literal "''"))) > + (literal "”"))) > > ;; The special FreeBSD version of the trademark tag handling. > ;; This function was more or less taken from the DocBook DSSSL i'd say: Go for it :) -- Kind regards, Remko Lodder ** remko@elvandar.org Reporter DSINET ** remko@DSINet.org Founder Tienervaders ** remko@tienervaders.org FreeBSD Documentation Project ** remko@FreeBSD.org