From owner-freebsd-doc Fri Jan 25 12:11:13 2002 Delivered-To: freebsd-doc@freebsd.org Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by hub.freebsd.org (Postfix) with SMTP id B023337B402 for ; Fri, 25 Jan 2002 12:11:00 -0800 (PST) Received: (qmail 20980 invoked from network); 25 Jan 2002 20:07:47 -0000 Received: from dialup3-ceid-dialinpool-10.upatras.gr (HELO hades.hell.gr) (root@150.140.128.202) by nic.upatras.gr with SMTP; 25 Jan 2002 20:07:47 -0000 Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g0PKAl209709; Fri, 25 Jan 2002 22:10:47 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Fri, 25 Jan 2002 22:10:46 +0200 From: Giorgos Keramidas To: Hiroki Sato Cc: hitmaster2k@yahoo.com, kuriyama@imgsrc.co.jp, doc@freebsd.org Subject: Re: Relative link in books Message-ID: <20020125201046.GC7374@hades.hell.gr> References: <7msn8utw8z.wl@waterblue.imgsrc.co.jp> <20020125152455.76580.qmail@web21108.mail.yahoo.com> <20020126.012453.104024536.hrs@eos.ocn.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020126.012453.104024536.hrs@eos.ocn.ne.jp> User-Agent: Mutt/1.3.25i 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 2002-01-26 01:24:53, 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. > > Of course the build for www.FreeBSD.org is an exceptional case. > I also think that any books should not depend upon the relative > location of www/ hierarchy, and absolute path should be used > basically for such reference. I seem to like the idea of an entity. More than one, if anything else. Something like: &webbase.root; &webbase.docs; &webbase.articles; &webbase.books; I'll try to play with the build and come up with something more useful than ideas; patches for instance :) -- Giorgos Keramidas . . . . . . . . . keramida@{ceid.upatras.gr,freebsd.org} FreeBSD Documentation Project . . . http://www.freebsd.org/docproj/ FreeBSD: The power to serve . . . . http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message