Re: [docbook] why is example often used to contain programlisting?

From
Michael(tm) Smith <>
Date
2006-11-02T03:50:13+00:00
ID
Thread
Re: [docbook] why is example often used to contain programlisting?
Chris Chiasson <>, 2006-11-01 21:43 -0600:

> An example is a rather general name for something. I guess that one's
> source code could be an example of ... itself.
> 
> Is there another element that would be a good/better container for
> programlisting?
> 
> maybe something that accepts a title and allows for a small amount of
> introductory text

Figure. It doesn't allow introductory text (neither does Example),
but anyway that should go in the parent (Para or Section of
whatever) that contains it.

  --Mike