Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2000 08:48:57 -0500
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        Nik Clayton <nik@freebsd.org>
Cc:        doc@freebsd.org
Subject:   Re: troubleshooting tree revisited
Message-ID:  <20001204084857.B55610@blackhelicopters.org>
In-Reply-To: <20001203225144.A4078@canyon.nothing-going-on.org>; from nik@freebsd.org on Sun, Dec 03, 2000 at 10:51:45PM %2B0000
References:  <20001130164838.A42727@blackhelicopters.org> <20001203225144.A4078@canyon.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
You know, I think this just might work.  Thanks!

On Sun, Dec 03, 2000 at 10:51:45PM +0000, Nik Clayton wrote:
> On Thu, Nov 30, 2000 at 04:48:39PM -0500, Michael Lucas wrote:
> > jkh suggested a nice file that contained the decision tree, and that
> > could be parsed to generate HTML.  That's a great idea.  I'm
> > completely unqualified to do it properly.  (I'm qualified to do it
> > suckily, but I don't have time to make something that sucks.)  If
> > you're capable and willing to do this, please stop me now.
> 
> Unless I misunderstand what you want, I think DocBook's FAQ support
> would do what you want.  So you end up with something like:
> 
>   Question 1:  What do you want to do?
> 
>   Answer:
> 
>     Install FreeBSD?  Go to question 2.
> 
>     Configure FreeBSD?  Go to question 12.
> 
>     Install an application?  Go to question 37.
> 
>     Configure an installed application?  Go to question 68.
> 
>   Question 2:  Have you got a FreeBSD CD?
> 
>   Answer:
> 
>     Yes?  Go to question 3.
> 
>     No?  Go to question 4.
> 
>   ...
> 
> If that's the sort of thing you want to do then I'd recommend writing it
> in DocBook using the <question> and <answer> elements.  See the FAQ for
> detailed examples.
> 
> Don't worry about how you then put each question on a page of its own,
> that's something that the stylesheets can do (and will do, given
> appropriate thumping by me).
> 
> Does that solve the problem?
> 
> N
> -- 
> Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
> Telephone line, $24.95 a month.  Software, free.  USENET transmission,
> hundreds if not thousands of dollars.  Thinking before posting, priceless.
> Somethings in life you can't buy.  For everything else, there's MasterCard.
>   -- Graham Reed, in the Scary Devil Monastery

-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons


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?20001204084857.B55610>