Next in thread →
Next in month →
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 () Cogent Real-Time Systems (www.cogent.ca)
Next in thread →
Next in month →