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:

command

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

devicefile

Device file: /dev/mouse

directory

Directory: /etc, C:\Programme

extension

File extension: .xml

headerfile

Header file: stdio.h

libraryfile

Library file: libglib-2.0.so, win.dll

partition

Partition: /dev/sda1, C

symlink

Symbolic link: S07hotplug

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>

  

back to top