Skip site navigation (1)Skip section navigation (2)
Date:      25 Jan 2001 14:47:24 -0800
From:      Norman Walsh <ndw@nwalsh.com>
To:        Nik Clayton <nik@freebsd.org>
Cc:        Alexander Langer <alex@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org, doc@freebsd.org, nwalsh@nwalsh.com
Subject:   Re: cvs commit: ports/textproc/dsssl-docbook-modular Makefile ports/textproc/dsssl-docbook-modular/files patch-common_dbl1de.dsl
Message-ID:  <877l3j620m.fsf@nwalsh.com>
In-Reply-To: <20010119155319.A48911@canyon.nothing-going-on.org>
References:  <200101190840.f0J8e7e87294@freefall.freebsd.org> <20010119105051.A47479@canyon.nothing-going-on.org> <20010119125752.A56295@cichlids.cichlids.com> <20010119155319.A48911@canyon.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
/ Nik Clayton <nik@freebsd.org> was heard to say:
| Then Norm changed how he did things.  Instead of using a bunch of
| variables, one per (language x element) pair, he created this function
| called gentext-label-title-sep (and others in the same style).  I
| suspect this probably makes the DSSSL processing faster, or something.

Well, it certainly reduced the number of variables I had to keep track
of :-)

| The problem with this, from our point of view, is that it's no longer
| possible to override a single entry in our customisation.  Instead, to
| fix <warning> and <caution>, I have to duplicate all of the code from 
| dbl1en.dsl that defines the en-label-title-sep hash[1] *or* rewrite the
| gentext-en-label-title-sep function so that it special cases <warning>
| and <caution> before it looks in the en-label-title-sep hash.
| 
| Neither of which are particularly clean, so I've sort of ignored the
| problem, in the hope that I dream up a better way.

Yeah, I see the problem. Ugh. I think in the short term, you should
redefine the hash.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | If you run after wit you will succeed
http://nwalsh.com/            | in catching folly.--Montesquieu


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?877l3j620m.fsf>