Re: [docbook] the proper markup for displaying a file snippet?

From
davep <>
Date
2011-07-07T14:05:14+00:00
ID
Thread
Re: [docbook] the proper markup for displaying a file snippet?
On 07/07/2011 01:42 PM, Robert P. J. Day wrote:
>   (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


File listings are shown as .... screenshots? Or they are 'program listings'
I think  screenshot for a config file since it isn't a program?

HTH


regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk