OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]