From owner-freebsd-doc Tue Aug 20 1:12:50 2002 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 D7FEA37B400 for ; Tue, 20 Aug 2002 01:12:47 -0700 (PDT) Received: from holly.dyndns.org (adsl-208-191-149-232.dsl.hstntx.swbell.net [208.191.149.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FA6143E4A for ; Tue, 20 Aug 2002 01:12:47 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (chris@localhost [127.0.0.1]) by holly.dyndns.org (8.12.5/8.12.5) with ESMTP id g7JNjq4d015123; Mon, 19 Aug 2002 18:45:52 -0500 (CDT) (envelope-from chris@holly.dyndns.org) Received: (from chris@localhost) by holly.dyndns.org (8.12.5/8.12.5/Submit) id g7JNjoY0015122; Mon, 19 Aug 2002 18:45:50 -0500 (CDT) Date: Mon, 19 Aug 2002 18:45:49 -0500 From: Chris Costello To: Hiten Pandya Cc: freebsd-doc@FreeBSD.org Subject: Re: [REVIEW] Adding labels to chapters for xref Message-ID: <20020819234549.GC347@holly.calldei.com> Reply-To: chris@FreeBSD.org References: <20020815213125.A26602@angelica.unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020815213125.A26602@angelica.unixdaemons.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday, August 15, 2002, Hiten Pandya wrote: > I have been writing soem stuff on newbus' for the Developer-Handbook, > and came across a little problem; when is used, > we get "Chapter N" in the output. So, I thought I (quick) fix this > problem, by adding 'xreflabel' attributes to all the chapters. > > We can refer to the chapters, much more sensibly this way IMHO. The > delta for the developers-handbook is attached with this mail, and it is > also available at: http://www.unixdaemons.com/~hiten/work/xreflabels.patch Do we want to refer to chapters by title rather than by than number? This could cause problems in the print versions. If we do, I think that a more sensible way to go about doing this is to modify the stylesheet to generate the xreflabels from the contents of . > NOTE: I have not tried to test this patch; although my eyes could not > find any problems with it. One reason for this is, my doc toolchain is > seriously broken, and to build developers-handbook, IT TAKES AGES on a > slow p166 box. `make lint' is your friend. -- Chris Costello <chris@FreeBSD.org> FreeBSD Project http://www.FreeBSD.org/ TrustedBSD Project http://www.TrustedBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message