| 1 |
<refentry id="bibliography.element"> |
| 2 |
<?dbhtml filename="bibliography.html"?> |
| 3 |
<refentryinfo> |
| 4 |
<pubdate>$Date$</pubdate> |
| 5 |
<releaseinfo>$Revision$</releaseinfo> |
| 6 |
</refentryinfo> |
| 7 |
|
| 8 |
<refmeta> |
| 9 |
<indexterm><primary>elements</primary> |
| 10 |
<secondary>bibliography</secondary></indexterm> |
| 11 |
<refentrytitle>bibliography</refentrytitle> |
| 12 |
<refmiscinfo>Element</refmiscinfo> |
| 13 |
</refmeta> |
| 14 |
<refnamediv> |
| 15 |
<refname>bibliography</refname> |
| 16 |
<refpurpose>&bibliography.purpose;</refpurpose> |
| 17 |
</refnamediv> |
| 18 |
|
| 19 |
&bibliography.synopsis.gen; |
| 20 |
<refsect1 condition='ref.description'><title>Description</title> |
| 21 |
|
| 22 |
<para> |
| 23 |
A bibliography. A DocBook bibliography may contain some preferatory matter, |
| 24 |
but its main content is a set of bibliography entries (either |
| 25 |
<sgmltag>BiblioEntry</sgmltag> or <sgmltag>BiblioMixed</sgmltag>). These may occur |
| 26 |
inside <sgmltag>BiblioDiv</sgmltag>s, instead of appearing directly in the |
| 27 |
<sgmltag>Bibliograpy</sgmltag>. |
| 28 |
</para> |
| 29 |
|
| 30 |
<refsect2><title>Processing expectations</title> |
| 31 |
<para> |
| 32 |
&format.block; A <sgmltag>Bibliography</sgmltag> in a <sgmltag>Book</sgmltag> |
| 33 |
frequently causes a forced page break in print media. |
| 34 |
</para> |
| 35 |
<para> |
| 36 |
Some systems may display only those entries within a |
| 37 |
<sgmltag>Bibliography</sgmltag> that are cited in the containing document. |
| 38 |
This may be an interchange issue. See <xref linkend="app-interchange"/>. |
| 39 |
</para> |
| 40 |
<para> |
| 41 |
The two styles of bibliography entry have quite different processing |
| 42 |
expectations. <sgmltag>BiblioEntry</sgmltag>s are <quote>raw;</quote> they contain |
| 43 |
a database-like collection of named fields. <sgmltag>BiblioMixed</sgmltag> |
| 44 |
entries are <quote>cooked;</quote> the fields occur in the order in which |
| 45 |
they will be presented and additional punctuation may be sprinkled |
| 46 |
between the fields. |
| 47 |
</para> |
| 48 |
<para> |
| 49 |
See |
| 50 |
<sgmltag>BiblioEntry</sgmltag> and <sgmltag>BiblioMixed</sgmltag> for further discussion. |
| 51 |
</para> |
| 52 |
</refsect2> |
| 53 |
|
| 54 |
|
| 55 |
&bibliography.parents.gen; |
| 56 |
&bibliography.children.gen; |
| 57 |
</refsect1> |
| 58 |
<refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 59 |
<variablelist> |
| 60 |
<varlistentry><term>status</term> |
| 61 |
<listitem> |
| 62 |
<para> |
| 63 |
<sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication |
| 64 |
status of the <sgmltag>Bibliography</sgmltag>. |
| 65 |
</para> |
| 66 |
<para> |
| 67 |
Publication status might be used to control formatting (for example, |
| 68 |
printing a <quote>draft</quote> watermark on drafts) or processing (perhaps |
| 69 |
a document with a status of <quote>final</quote> should not include any |
| 70 |
components that are not final). |
| 71 |
</para> |
| 72 |
</listitem> |
| 73 |
</varlistentry> |
| 74 |
</variablelist> |
| 75 |
</refsect1> |
| 76 |
<refsect1><title>Examples</title> |
| 77 |
|
| 78 |
<para> |
| 79 |
The entries in a <sgmltag>Bibliography</sgmltag> come in two |
| 80 |
general forms, “raw” and “cooked”. A |
| 81 |
raw entry is a database-like collection of named fields: |
| 82 |
</para> |
| 83 |
|
| 84 |
<informalexample role="example-source"> |
| 85 |
<programlisting>&bibliography.example.1.txt;</programlisting> |
| 86 |
</informalexample> |
| 87 |
|
| 88 |
<para> |
| 89 |
A cooked entry is formatted, including additional |
| 90 |
<glossterm>&PCDATA;</glossterm>, so that it is easy to render. |
| 91 |
</para> |
| 92 |
|
| 93 |
<informalexample role="example-source"> |
| 94 |
<programlisting>&bibliography.example.2.txt;</programlisting> |
| 95 |
</informalexample> |
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
&bibliography.example.seealso.gen; |
| 101 |
</refsect1> |
| 102 |
</refentry> |
| 103 |
|