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: Re: DOCBOOK: how to mark up a login session?


Hi Robert,

We use <userinput> to mark where the user types commands, and <returnvalue> for the responses.  The standard stylesheet renders the <userinput> text in bold.

Example:

<screen>
&gamma.prompt;<userinput>call(sqB, Square, #perimeter);</userinput>
<returnvalue>12</returnvalue>
&gamma.prompt;<userinput>call(sqB, Square, #area);</userinput>
<returnvalue>9</returnvalue>
&gamma.prompt;
</screen>

(Note: &gamma.prompt; resolves to "Gamma> ")

Hope that helps.

Cheerio!

Bob

---------------------------------------
Robert McIlvride (robert@cogent.ca)
Cogent Real-Time Systems (www.cogent.ca)


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


Powered by eList eXpress LLC