← Prev in month ← Prev in thread

the proper markup for displaying a file snippet?

From
Robert P. J. Day <>
Date
2011-07-07T12:42:54+00:00
ID
Thread
the proper markup for displaying a file snippet?
(apologies for such trivial questions -- i'm only just getting back  
to docbook after quite some time away.)

   if i wanted to display the contents (or an excerpt thereof) of a  
simple text file such as, say, a config file, what is the semantically  
proper element?  i don't want to use <programlisting> because it's not  
technically a program.  and <literallayout> and <screenshot> seem  
similarly inappropriate.  what i want is something equivalent to  
<filelisting>.  what do people here use for that?  thanks.

rday
← Prev in month ← Prev in thread