| 1 |
<refentry id="lineannotation.element"> |
| 2 |
<?dbhtml filename="lineannotation.html"?> |
| 3 |
<refentryinfo> |
| 4 |
<pubdate>$Date$</pubdate> |
| 5 |
<releaseinfo>$Revision$</releaseinfo> |
| 6 |
</refentryinfo> |
| 7 |
|
| 8 |
<refmeta> |
| 9 |
<indexterm><primary>elements</primary> |
| 10 |
<secondary>lineannotation</secondary></indexterm> |
| 11 |
<refentrytitle>lineannotation</refentrytitle> |
| 12 |
<refmiscinfo>Element</refmiscinfo> |
| 13 |
</refmeta> |
| 14 |
<refnamediv> |
| 15 |
<refname>lineannotation</refname> |
| 16 |
<refpurpose>&lineannotation.purpose;</refpurpose> |
| 17 |
</refnamediv> |
| 18 |
|
| 19 |
&lineannotation.synopsis.gen; |
| 20 |
<refsect1 condition='ref.description'><title>Description</title> |
| 21 |
|
| 22 |
<para> |
| 23 |
A <sgmltag>LineAnnotation</sgmltag> is an author or editor's comment on a line |
| 24 |
in one of the verbatim environments. These are annotations added by |
| 25 |
the documentor, not part of the original listing. |
| 26 |
</para> |
| 27 |
|
| 28 |
<refsect2><title>Processing expectations</title> |
| 29 |
<para> |
| 30 |
&format.inline; In verbatim environments like <sgmltag>ProgramListing</sgmltag>, |
| 31 |
which are often presented in a fixed width font, they may get special |
| 32 |
typographic treatment, such as italics. |
| 33 |
</para> |
| 34 |
<para> |
| 35 |
If several <sgmltag>LineAnnotations</sgmltag> occur in the same listing, they |
| 36 |
may be aligned horizontally. |
| 37 |
</para> |
| 38 |
</refsect2> |
| 39 |
|
| 40 |
<refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 41 |
<para> |
| 42 |
|
| 43 |
&fu.interfacedefinition; |
| 44 |
</para> |
| 45 |
</refsect2> |
| 46 |
|
| 47 |
|
| 48 |
&lineannotation.parents.gen; |
| 49 |
&lineannotation.children.gen; |
| 50 |
</refsect1> |
| 51 |
<refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 52 |
&lineannotation.seealso.gen; |
| 53 |
</refsect1> |
| 54 |
<refsect1><title>Examples</title> |
| 55 |
|
| 56 |
<para> |
| 57 |
The following example, from the description of <sgmltag>Entry</sgmltag>, shows |
| 58 |
how <sgmltag>LineAnnotation</sgmltag> can be used to annotate a |
| 59 |
<sgmltag>Screen</sgmltag> listing: |
| 60 |
</para> |
| 61 |
|
| 62 |
<informalexample role="example-source"> |
| 63 |
<programlisting>&lineannotation.example.1.txt;</programlisting> |
| 64 |
</informalexample> |
| 65 |
|
| 66 |
<anchor id="ex.os.lineannotation.1" role="HACK-ex.out.start"/> |
| 67 |
&lineannotation.example.1.gen; |
| 68 |
<anchor id="ex.oe.lineannotation.1" role="HACK-ex.out.end"/> |
| 69 |
|
| 70 |
&lineannotation.example.seealso.gen; |
| 71 |
</refsect1> |
| 72 |
</refentry> |
| 73 |
|