This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Describing directory structure in DocBook


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]