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: 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)


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