| 1 | <refentry id="anchor.element"> |
| 2 | <?dbhtml filename="anchor.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>Elemente</primary> |
| 10 | <secondary>anchor</secondary></indexterm> |
| 11 | <refentrytitle>anchor</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>anchor</refname> |
| 16 | <refpurpose>&anchor.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &anchor.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Beschreibung</title> |
| 21 | |
| 22 | <para> |
| 23 | Ein Anker kennzeichnet eine einzelne Stelle innerhalb des Inhalts. Sie kann |
| 24 | zum Beispiel als Ziel eines Querverweises aus einem |
| 25 | <sgmltag>Link</sgmltag> heraus dienen. Das <sgmltag class='element'>Anchor</sgmltag>-Element darf fast |
| 26 | überall vorkommen. |
| 27 | </para> |
| 28 | |
| 29 | <para> |
| 30 | <sgmltag class='element'>Anchor</sgmltag> verfügt über das <sgmltag |
| 31 | class='attribute'>Role</sgmltag>-Attribut und alle weiteren <link |
| 32 | linkend="common.attributes">allgemein verwendeten Attribute</link> bis auf <sgmltag |
| 33 | class='attribute'>Lang</sgmltag>. |
| 34 | </para> |
| 35 | |
| 36 | <refsect2><title>Verarbeitungserwartungen</title> |
| 37 | <para> |
| 38 | <sgmltag class='element'>Anchor</sgmltag> enthält keinen Inhalt und erzeugt in allgemeinen |
| 39 | keine Ausgabge. Es dient als Ziel eines Verweises. |
| 40 | </para> |
| 41 | </refsect2> |
| 42 | |
| 43 | |
| 44 | &anchor.parents.gen; |
| 45 | </refsect1> |
| 46 | <refsect1 condition='ref.elem.attrdesc'><title>Attribute</title> |
| 47 | <variablelist> |
| 48 | <varlistentry><term>pagenum</term> |
| 49 | <listitem> |
| 50 | <para> |
| 51 | <sgmltag class="attribute">PageNum</sgmltag> |
| 52 | gibt die Seite an, auf der der Anker in einer gedruckten Version des |
| 53 | Dokuments vorkommt. |
| 54 | </para> |
| 55 | <para> |
| 56 | Das <sgmltag class="attribute">PageNum</sgmltag>-Attribut hat keine |
| 57 | Auswirkungen auf die Seitenaufteilung oder Nummerierung durch eine |
| 58 | &SGML;-Anwendung, die das Dokument verarbeitet. Es dient der Information, |
| 59 | nicht dazu eine Deklaration vorzunehmen. |
| 60 | </para> |
| 61 | </listitem> |
| 62 | </varlistentry> |
| 63 | </variablelist> |
| 64 | </refsect1> |
| 65 | <refsect1 condition='ref.elem.seealso'><title>Siehe auch</title> |
| 66 | &anchor.seealso.gen; |
| 67 | </refsect1> |
| 68 | <refsect1><title>Beispiele</title> |
| 69 | |
| 70 | <informalexample role="example-source"> |
| 71 | <programlisting>&anchor.example.1.txt;</programlisting> |
| 72 | </informalexample> |
| 73 | |
| 74 | <anchor id="ex.os.anchor.1" role="HACK-ex.out.start"/> |
| 75 | &anchor.example.1.gen; |
| 76 | <anchor id="ex.oe.anchor.1" role="HACK-ex.out.end"/> |
| 77 | |
| 78 | &anchor.example.seealso.gen; |
| 79 | </refsect1> |
| 80 | </refentry> |
| 81 |