XML technologies / DocBook / Inline elements / Operating-system-specific elements
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
This category includes the following elements, available in both DocBook versions:
commandContains the name of a command to execute:
<para>Der Befehl <command>cp</command> (Linux) oder <command>copy</command> (Windows) kopiert Dateien und Verzeichnisse.</para>computeroutput
Contains data displayed by a computer:
<para>Die Prüfsumme der Datei <filename>foo.xml</filename> ist: <computeroutput>800bb5d71d532942eeaab23cf964170b foo.xml</computeroutput>.</para>envar
This element contains the name of an environment variable:
<envar>PATH</envar>filename
Usually contains file or directory names:
<para>Unter <filename class="directory">/home</filename> finden Sie das Homeverzeichnis der lokalen Anwender.</para>The attribute class lets you specify the content further:
| Device file: |
| Directory: |
| File extension: |
| Header file: |
| Library file: |
| Partition: |
| Symbolic link: |
prompt
Consists of one or more characters representing a command-line prompt or text input prompt:
<prompt># </prompt>
<prompt>$ </prompt>userinput
Data you enter:
<para>Geben Sie <userinput>yes</userinput> in das Textfeld ein.</para>
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top