| 1 | <refentry id="tip.element"> |
| 2 | <?dbhtml filename="tip.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>tip</secondary></indexterm> |
| 11 | <refentrytitle>tip</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>tip</refname> |
| 16 | <refpurpose>&tip.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &tip.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>Tip</sgmltag> is an admonition set off |
| 24 | from the main text. |
| 25 | </para> |
| 26 | |
| 27 | <para> |
| 28 | In some types of documentation, the semantics of admonitions are clearly |
| 29 | defined (<sgmltag>Caution</sgmltag> might imply the possibility of harm to |
| 30 | equipment whereas <sgmltag>Warning</sgmltag> might imply harm to a person), |
| 31 | but DocBook makes no such assertions. |
| 32 | </para> |
| 33 | |
| 34 | <refsect2><title>Processing expectations</title> |
| 35 | <para> |
| 36 | &format.block; Often outputs the generated text <quote>Tip</quote> |
| 37 | or some other visible indication of the type of admonition, |
| 38 | especially if a <sgmltag>Title</sgmltag> is not present. Sometimes |
| 39 | outputs a graphical icon or other symbol as well. |
| 40 | </para> |
| 41 | </refsect2> |
| 42 | |
| 43 | |
| 44 | &tip.parents.gen; |
| 45 | &tip.children.gen; |
| 46 | </refsect1> |
| 47 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 48 | &tip.seealso.gen; |
| 49 | </refsect1> |
| 50 | <refsect1><title>Examples</title> |
| 51 | |
| 52 | <informalexample role="example-source"> |
| 53 | <programlisting>&tip.example.1.txt;</programlisting> |
| 54 | </informalexample> |
| 55 | |
| 56 | <anchor id="ex.os.tip.1" role="HACK-ex.out.start"/> |
| 57 | &tip.example.1.gen; |
| 58 | <anchor id="ex.oe.tip.1" role="HACK-ex.out.end"/> |
| 59 | |
| 60 | &tip.example.seealso.gen; |
| 61 | </refsect1> |
| 62 | </refentry> |
| 63 |