This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Describing directory structure in DocBook
- To: godoy at conectiva dot com
- Subject: Re: DOCBOOK: Describing directory structure in DocBook
- From: Stephen Rasku <stephen at tgivan dot com>
- Date: Thu, 05 Jul 2001 09:15:25 -0700 (PDT)
- Cc: docbook at lists dot oasis-open dot org
- Reply-to: Stephen Rasku <stephen at tgivan dot com>
Jorge Luiz Godoy Filho wrote:
>
>On Wed, 04 Jul 2001, stephen@tgivan.com wrote:
>> How would you describe a directory structure in Docbook? I want to
>> represent the directory structure in a graphical way. For example:
>>
>> Dir
>> +- include
>> +- lib
>> | +- sol4
>> | +- soli
>> +- 3rdparty
>> +- sol4
>> +- include
>> +- lib
>>
>> Is it possible?
>
>I'd use a picture for this and <textobject> for an ASCII version. But
>I would rely on the graphic, mainly.
I ended up using <literallayout> for this. Since it would be quite
common to document directory structures with DocBook, I was hoping that
there would be some sort of markup for this. For example:
<dir>Dir
<dir>include</dir>
<dir>lib
<dir>sol4</dir>
<dir>soli</dir>
</dir>
<dir>3rdparty
<dir>sol4</dir>
<dir>include</dir>
<dir>lib</dir>
</dir>
</dir>
</dir>
I use the tag <dir> here but it could be something like <node> so that
it could be used for other types of trees.
Does this type of markup exist or is it being considered for a future
version of DocBook?
--
Stephen Rasku E-mail: stephen@tgivan.com
Senior Software Engineer Web: http://www.pop-star.net/
TGI Technologies