Changeset 3282 for trunk/doc/src/docbook/developerdoc/write_docbook_doc.xml
- Timestamp:
- Apr 27, 2007, 2:58:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/src/docbook/developerdoc/write_docbook_doc.xml
r3280 r3282 1062 1062 </example> 1063 1063 </sect2> 1064 1065 <sect2 id="write_docbook_doc.usedtags.links"> 1066 <title>Link elements</title> 1067 <para></para> 1068 <informaltable frame="none"> 1069 <tgroup cols="3" rowsep="1" colsep="1"> 1070 <colspec align="left" /> 1071 <colspec align="center" /> 1072 <colspec align="left" /> 1073 <thead> 1074 <row> 1075 <entry>Define</entry> 1076 <entry>Element</entry> 1077 <entry>Comment</entry> 1078 </row> 1079 </thead> 1080 <tbody> 1081 <row> 1082 <entry>Cross reference</entry> 1083 <entry> 1084 <sgmltag class="starttag">xref linkend=""</sgmltag> 1085 </entry> 1086 <entry>Use this to linke to other parts of the document.</entry> 1087 </row> 1088 <row> 1089 <entry>Cross reference with own text</entry> 1090 <entry> 1091 <sgmltag class="starttag">link</sgmltag> 1092 </entry> 1093 <entry> 1094 Can be used as an alternative to 1095 <sgmltag>xref</sgmltag> 1096 </entry> 1097 </row> 1098 <row> 1099 <entry>External URLs</entry> 1100 <entry> 1101 <sgmltag class="starttag">ulink url=""</sgmltag> 1102 </entry> 1103 <entry></entry> 1104 </row> 1105 </tbody> 1106 </tgroup> 1107 </informaltable> 1108 <example id="write_docbook_doc.examples.links"> 1109 <title>Links</title> 1110 <programlisting> 1111 … 1112 <xref linkend="write_docbook_doc.usedtags.links" /> 1113 <link linkend="write_docbook_doc.usedtags.links">Link to this section</link> 1114 <ulink url="http://base.thep.lu.se">Base2's homepage</ulink> 1115 … 1116 </programlisting> 1117 <para> 1118 The first element will autogenerate the linked section's/chapter's title as a 1119 hyperlinked text. As an alternative to 1120 <sgmltag>xref</sgmltag> 1121 is 1122 <sgmltag>link</sgmltag> 1123 that lets you write your own hyperlinked text. The third and last one should be 1124 used to link to any URL outside the document. 1125 </para> 1126 </example> 1127 </sect2> 1064 1128 </sect1> 1065 1129 </chapter>
Note: See TracChangeset
for help on using the changeset viewer.