| 1 | <refentry id="revhistory.element"> |
| 2 | <?dbhtml filename="revhistory.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>revhistory</secondary></indexterm> |
| 11 | <refentrytitle>revhistory</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>revhistory</refname> |
| 16 | <refpurpose>&revhistory.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &revhistory.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para><sgmltag>RevHistory</sgmltag> is a structure for documenting a |
| 23 | history of changes, specifically, a history of changes to the document |
| 24 | or section in which it occurs. |
| 25 | </para> |
| 26 | |
| 27 | <para>DocBook does not mandate an order for <sgmltag>revision</sgmltag>s: |
| 28 | ascending order by date, descending order by date, and orders based on |
| 29 | some other criteria are all equally acceptable.</para> |
| 30 | |
| 31 | <refsect2><title>Processing expectations</title> |
| 32 | <para>&format.block; A tabular or list presentation is most common. |
| 33 | </para> |
| 34 | |
| 35 | <para>The order of <sgmltag>revision</sgmltag>s within a |
| 36 | <sgmltag>revhistory</sgmltag> (ascending or descending date order, for example) |
| 37 | is not mandated by DocBook</para> |
| 38 | </refsect2> |
| 39 | |
| 40 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 41 | |
| 42 | <para>Due to a parameterization oversight in the &DTD;, |
| 43 | <sgmltag>RevHistory</sgmltag> is allowed in some outlandish places. |
| 44 | Still, it is not an inline, so it should not be used inside |
| 45 | <sgmltag>LineAnnotation</sgmltag>s, <sgmltag>Link</sgmltag>s, or |
| 46 | <sgmltag>Quote</sgmltag>s. (Not to mention the truly outlandish places |
| 47 | like <sgmltag>Title</sgmltag> and <sgmltag>SeeAlso</sgmltag>!) |
| 48 | </para> |
| 49 | <para>In a future version of DocBook, <sgmltag>RevHistory</sgmltag> |
| 50 | will be removed from these inline contexts. |
| 51 | </para> |
| 52 | <para> |
| 53 | The original intent for <sgmltag>RevHistory</sgmltag> was simply to |
| 54 | document the history of changes to the document that contains it. In |
| 55 | keeping with this meaning, you are advised to limit its use to places |
| 56 | where bibliographic meta-information is allowed (the |
| 57 | <quote>info</quote> elements). |
| 58 | </para> |
| 59 | <para> |
| 60 | One can argue that <sgmltag>RevHistory</sgmltag> has broader |
| 61 | applicability for documenting changes to other systems as well, and in |
| 62 | light of this, it may become available in more contexts, but that has |
| 63 | not yet been decided. |
| 64 | </para> |
| 65 | </refsect2> |
| 66 | |
| 67 | &revhistory.parents.gen; |
| 68 | &revhistory.children.gen; |
| 69 | </refsect1> |
| 70 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 71 | &revhistory.seealso.gen; |
| 72 | </refsect1> |
| 73 | <refsect1><title>Examples</title> |
| 74 | |
| 75 | <informalexample role="example-source"> |
| 76 | <programlisting>&revhistory.example.1.txt;</programlisting> |
| 77 | </informalexample> |
| 78 | |
| 79 | &revhistory.example.seealso.gen; |
| 80 | </refsect1> |
| 81 | </refentry> |
| 82 |