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] | [Elist Home]


Subject: DOCBOOK: Inline code fragments


Hi all!

What is the best way of marking up inline program (C++) code?

An example:

<para>Instead of using the construct
<whichelementhere>i = i+1</whichelementhere> you should use
<whichelementhere>i += 1</whichelementhere>.

I thought of using <quote role="code"> or the "catch all" element 
<phrase role="code"> and customizing the stylesheets.

Is this sensible or is there a better approach?

Best regards

	Rune Enggaard Jensen



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


Powered by eList eXpress LLC