This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: 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)