Jorge Luiz Godoy Filho wrote:
>
>On Wed, 04 Jul 2001, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
Senior Software Engineer        Web:    http://www.pop-star.net/
TGI Technologies

Reply via email to