From owner-freebsd-doc Fri Jan 25 8:40:44 2002 Delivered-To: freebsd-doc@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 22A9537B404 for ; Fri, 25 Jan 2002 08:40:41 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020125164035.SMWM3578.rwcrmhc52.attbi.com@bmah.dyndns.org>; Fri, 25 Jan 2002 16:40:35 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id g0PGeZh74660; Fri, 25 Jan 2002 08:40:35 -0800 (PST) (envelope-from bmah) Message-Id: <200201251640.g0PGeZh74660@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Hiroki Sato Cc: hitmaster2k@yahoo.com, kuriyama@imgsrc.co.jp, doc@FreeBSD.ORG Subject: Re: Relative link in books In-reply-to: <20020126.012453.104024536.hrs@eos.ocn.ne.jp> References: <7msn8utw8z.wl@waterblue.imgsrc.co.jp> <20020125152455.76580.qmail@web21108.mail.yahoo.com> <20020126.012453.104024536.hrs@eos.ocn.ne.jp> Comments: In-reply-to Hiroki Sato message dated "Sat, 26 Jan 2002 01:24:53 +0900." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Jan 2002 08:40:35 -0800 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 If memory serves me right, Hiroki Sato wrote: > Perhaps, to define a base URI as an entity (e.g. &wwwbase;) adaptively > in the build process may be preferable. Assuming that the documents > are built for www.FreeBSD.org, we can use a relative > URI ("../../.." style) since there would be www/en tree together. > And if not so, we can use an absolute one. For the both cases, > we only need to write "&wwwbase;/index.html" into the document. I think this is a good idea. Another case that people frequently forget is that we sometimes *do* make print versions of our documents, and it makes no sense to have a relative URI reference off of a piece of paper. This is easily fixed by setting &wwwbase; (or whatever it's called) appropriately when generating non-hyperlink-capable documents. Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message