Re: [docbook] Proper markup for source code in para?

From
Tobias Reif <>
Date
2003-07-30T20:53:04+00:00
ID
Thread
Re: [docbook] Proper markup for source code in para?
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/