Next in thread → Next in month →

Re: [docbook] Tag for "inline" program listing fragments ?

From
Marie Sauvage - EBM WebSourcing <>
Date
2007-08-16T07:47:58+00:00
ID
Thread
Re: [docbook] Tag for "inline" program listing fragments ?
Hi!

----

Does anyone know a way to do "inline" program listings, for example a
text which only shows fragments of an example code ?

Example:
-- snip --
If it more efficient to use <literal>(( $? == 0 ))</literal> instead of
<literal>[ $? -eq 0 ]</literal>
-- snip --
I am looking for a way to replace <literal> with a tag which says it's a
program listing "fragment" (e.g. not complete code) which should be
rendered "inline" using a "monospaced" font (and not as seperate block
like <programlisting>).

----

Bye,
Roland
Next in thread → Next in month →