O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

remark — A remark (or comment) intended for presentation in a draft manuscript

Synopsis

remark ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

Description

The remark element is designed to hold remarks—for example, editorial comments—that are useful while the document is in the draft stage, but are not intended for final publication.

Remarks are available almost anywhere and have a particularly broad content model. Your processing system may or may not support either the use of comments everywhere they are allowed or the full generality of the remark content model.

Prior to version 4.0 of DocBook, this element was named comment.

Processing expectations

May be formatted inline or as a displayed block, depending on context. Remarks are often printed only in draft versions of a document and suppressed otherwise. This may be controlled by the status attribute of an ancestor element (e.g., chapter), or by external processes, such as selecting an alternate stylesheet when publishing.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example remark</title>

<example xml:id="gut-qed">
<title>The Grand Unified Theory</title>

<para><remark>Some details are still a bit shaky</remark>
…
Q.E.D.
</para>
</example>

</article>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required