This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Proper markup for source code in para?
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- To: docbook at lists dot oasis-open dot org
- Cc: Oliver Fischer <plexus at snafu dot de>
- Date: Wed, 30 Jul 2003 23:10:06 +0200
- Subject: Re: [docbook] Proper markup for source code in para?
- References: <3F282B2D.3090000@snafu.de>
Oliver Fischer wrote:
I am not sure how to markup the following things:
o Source code in <para> etc like:
<para>This code <?>printf("abc") && do() || but()</?>
I also want to markup inline code (assuming the above is indeed inline
code, eg something which has one line and fits in the flow of the
surrounding text).
Something analog to
http://www.w3.org/TR/xhtml2/mod-inline-text.html#edef_inline-text_code
might make sense.
In a previous post Norm wrote
"[...] a <code> element is clearly in scope for DocBook."
I might file an RFE.
Tobi
--
http://www.pinkjuice.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org