| 1 | <refentry id="remark.element" revision='4.0'> |
| 2 | <?dbhtml filename="remark.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>remark</secondary></indexterm> |
| 11 | <refentrytitle>remark</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>remark</refname> |
| 16 | <refpurpose>&remark.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &remark.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | The <sgmltag>Remark</sgmltag> element is designed to hold remarks, for |
| 24 | example, editorial comments, that are useful while the document is |
| 25 | in the draft stage, but are not intended for final publication. |
| 26 | </para> |
| 27 | |
| 28 | <para> |
| 29 | Remarks are available almost anywhere and have a particularly broad |
| 30 | content model. Your processing system may or may not support either the use |
| 31 | of comments everywhere they are allowed or the full generality of |
| 32 | the <sgmltag>Remark</sgmltag> content model. |
| 33 | </para> |
| 34 | |
| 35 | <para>Prior to version 4.0 of DocBook, this element was named |
| 36 | <sgmltag>Comment</sgmltag>.</para> |
| 37 | |
| 38 | <refsect2><title>Processing expectations</title> |
| 39 | <para> |
| 40 | &format.context; Remarks are often printed only in draft |
| 41 | versions of a document and suppressed otherwise. This may be |
| 42 | controlled by the <sgmltag class='attribute'>Status</sgmltag> attribute |
| 43 | of an ancestor element (for example, <sgmltag>Chapter</sgmltag>), or by |
| 44 | external processes, such as selecting an alternate stylesheet |
| 45 | when publishing. |
| 46 | </para> |
| 47 | <para> |
| 48 | <sgmltag>Remark</sgmltag>s must not be nested within other <sgmltag>Remark</sgmltag>s. |
| 49 | Because DocBook is harmonizing towards &XML;, this restriction cannot be |
| 50 | enforced by the &DTD;. The processing of nested comments is undefined. |
| 51 | </para> |
| 52 | </refsect2> |
| 53 | |
| 54 | |
| 55 | &remark.parents.gen; |
| 56 | &remark.children.gen; |
| 57 | </refsect1> |
| 58 | <refsect1><title>Examples</title> |
| 59 | |
| 60 | <informalexample role="example-source"> |
| 61 | <programlisting>&remark.example.1.txt;</programlisting> |
| 62 | </informalexample> |
| 63 | |
| 64 | <anchor id="ex.os.remark.1" role="HACK-ex.out.start"/> |
| 65 | &remark.example.1.gen; |
| 66 | <anchor id="ex.oe.remark.1" role="HACK-ex.out.end"/> |
| 67 | |
| 68 | &remark.example.seealso.gen; |
| 69 | </refsect1> |
| 70 | </refentry> |
| 71 |