This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]