Библиотека сайта rus-linux.net
There are likely as many ways of doing this as there are DocBook authors; however, here are two ways that you might find useful. Thanks to Y Giridhar Appaji Nag and Martin Brown for the markup used here.
Example D-1. Command Prompt with
Example D-2. Command Prompt with
First create a general entity in the internal subset at the very
beginning of your document. This entity will define a name for the
shortcut which you can use to display the full prompt at any point
in your document.
<!ENTITY prompt "<prompt>[user@machine
For more information about entities, read Section D.8.
If you would like to add the output of your commands you can add
</computeroutput> within the