Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 17:28:41 -0700
From:      Jim Mock <jim@FreeBSD.org>
To:        Nik Clayton <nik@FreeBSD.ORG>
Cc:        Ben Smithurst <ben@scientia.demon.co.uk>, doc@FreeBSD.ORG
Subject:   Re: Punctuation conventions
Message-ID:  <20000606172840.A4521@luna.cdrom.com>
In-Reply-To: <20000606190548.B55801@catkin.nothing-going-on.org>; from nik@FreeBSD.ORG on Tue, Jun 06, 2000 at 07:05:49PM %2B0100
References:  <006d01bfcc13$1b573c10$2969a0d0@leviathan> <3936A504.9741.9963DB1@localhost> <8h8snk$1irg$1@bigeye.mips.inka.de> <20000603111107.B30249@wantadilla.lemis.com> <20000605221314.B4925@kilt.nothing-going-on.org> <20000606161422.Q42325@strontium.scientia.demon.co.uk> <20000606190548.B55801@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 06 Jun 2000 at 19:05:49 +0100, Nik Clayton wrote:
> On Tue, Jun 06, 2000 at 04:14:22PM +0100, Ben Smithurst wrote:
> > >     &ldquo; ... &rdquo;
> > > 
> > > with 
> > > 
> > >     <quote> ... </quote>
> > 
> > But <quote> renders as "..." in HTML, while &ldquo; &rdquo; becomes
> > ``...''. I think the latter looks nicer in HTML at least, any chance
> > of changing it?
> 
> Untested, but you'd do something like:
> 
>    (element quote
>      (make sequence
>        (literal "``")
>        (process-children)
>        (literal "''")))
> 
> Try putting that in doc/share/sgml/freebsd.dsl (see "(element
> sgmltag..." for another example in the same file.
> 
> If you look in the tree you'll see that there's also a 
> doc/<lang>/share/sgml directory that already has a freebsd.dsl
> file.  We can customise <quote> handling on a per language basis. . .

I've just finished the work to do this stuff and am testing it now.
Actually, it just finished and everything looks fine.  Diffs are
available at http://people.FreeBSD.org/~jim/diffs/ if anyone wants
to take a peek.  I'll do the porters handbook next.  I'll commit them
after I get some feedback.

- jim

-- 
- jim mock - BSDi -- open source documentation manager -- jim@BSDi.com -
- phone: 1.925.691.2800 x.3814 - fax: 1.925.674.0821 - jim@FreeBSD.org -


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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