I think literallayout is the appropriate element. As the Definitive Guide says, " it
does not have strong semantic overtones". You can add a class="monospaced" attribute
if you want that font in the output.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
----- Original Message -----
From: "Robert P. J. Day" <rpj...@crashcourse.ca>
To: <docbook@lists.oasis-open.org>
Sent: Thursday, July 07, 2011 5:42 AM
Subject: [docbook] 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
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org