| 1 | <refentry id="article.element"> |
| 2 | <?dbhtml filename="article.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>article</secondary></indexterm> |
| 11 | <refentrytitle>article</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>article</refname> |
| 16 | <refpurpose>&article.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &article.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | The <sgmltag>Article</sgmltag> element is a general-purpose container for |
| 24 | articles. The content model is both quite complex and rather loose in |
| 25 | order to accommodate the wide range of possible <sgmltag>Article</sgmltag> structures. Although |
| 26 | changes to the <sgmltag>Article</sgmltag> element have been discussed on several |
| 27 | occasions, no better model has been presented. |
| 28 | </para> |
| 29 | |
| 30 | <para> |
| 31 | An <sgmltag>Article</sgmltag> is composed of a header and a body. The body |
| 32 | may include a table of contents and multiple lists of tables, figures, |
| 33 | and so on, before the main text of the article and may include a number of |
| 34 | common end-matter components at the end. |
| 35 | </para> |
| 36 | |
| 37 | <refsect2><title>Processing expectations</title> |
| 38 | <para> |
| 39 | &format.block; Frequently causes a forced page break in print media. |
| 40 | May be numbered separately and presented in the table of contents. |
| 41 | </para> |
| 42 | </refsect2> |
| 43 | |
| 44 | <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 45 | <para> |
| 46 | <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary> |
| 47 | </indexterm> |
| 48 | The <sgmltag>ToC</sgmltag> element in the content model may be |
| 49 | replaced by <sgmltag>TocChap</sgmltag>. This change may be delayed if the |
| 50 | DocBook technical committee decides to review the whole |
| 51 | <sgmltag>ToC</sgmltag>/<sgmltag>LoT</sgmltag> apparatus. |
| 52 | </para> |
| 53 | </refsect2> |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | &article.parents.gen; |
| 59 | &article.children.gen; |
| 60 | </refsect1> |
| 61 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 62 | <variablelist> |
| 63 | <varlistentry><term>class</term> |
| 64 | <listitem> |
| 65 | <para> |
| 66 | <sgmltag class="attribute">Class</sgmltag> identifies the type of article. |
| 67 | </para> |
| 68 | </listitem> |
| 69 | </varlistentry> |
| 70 | <varlistentry><term>parentbook</term> |
| 71 | <listitem> |
| 72 | <para> |
| 73 | <sgmltag class="attribute">ParentBook</sgmltag> holds the &AT.ID; of an enclosing |
| 74 | <sgmltag>Book</sgmltag>, if applicable. |
| 75 | </para> |
| 76 | </listitem> |
| 77 | </varlistentry> |
| 78 | <varlistentry><term>status</term> |
| 79 | <listitem> |
| 80 | <para> |
| 81 | <sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication |
| 82 | status of the <sgmltag>Article</sgmltag>. |
| 83 | </para> |
| 84 | <para> |
| 85 | Publication status might be used to control formatting (for example, |
| 86 | printing a <quote>draft</quote> watermark on drafts) or processing (perhaps |
| 87 | a document with a status of <quote>final</quote> should not include any |
| 88 | components that are not final). |
| 89 | </para> |
| 90 | </listitem> |
| 91 | </varlistentry> |
| 92 | </variablelist> |
| 93 | </refsect1> |
| 94 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 95 | &article.seealso.gen; |
| 96 | </refsect1> |
| 97 | <refsect1><title>Examples</title> |
| 98 | |
| 99 | <informalexample role="example-source"> |
| 100 | <programlisting>&article.example.1.txt;</programlisting> |
| 101 | </informalexample> |
| 102 | |
| 103 | &article.example.seealso.gen; |
| 104 | </refsect1> |
| 105 | </refentry> |
| 106 |