Add file to explain SGML linking options, for use by SGML document
authorBruce Momjian <bruce@momjian.us>
Sat, 10 Jan 2009 04:40:08 +0000 (04:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 10 Jan 2009 04:40:08 +0000 (04:40 +0000)
writers.

doc/src/sgml/README.links [new file with mode: 0644]

diff --git a/doc/src/sgml/README.links b/doc/src/sgml/README.links
new file mode 100644 (file)
index 0000000..961f86e
--- /dev/null
@@ -0,0 +1,34 @@
+<!-- $PostgreSQL: pgsql/doc/src/sgml/README.links,v 1.1 2009/01/10 04:40:08 momjian Exp $ -->
+
+Linking within SGML documents can be confusing, so here is a summary:
+
+
+Intra-document Linking
+----------------------
+<xref>
+   used to link to a section without supplying text for the link;
+   text comes from the link target;  has no close tag
+   http://www.oasis-open.org/docbook/documentation/reference/html/xref.html
+
+<link>
+   allows link text to be supplied, requires </link>
+   http://www.oasis-open.org/docbook/documentation/reference/html/link.html
+
+
+linkend=
+   controls the target of the link/xref
+
+endterm=
+        allows the text of the link/xref to be taken from a different 
+   link target; endterm in a <link> overrides the supplied text
+
+
+External Linking
+----------------
+<ulink>
+   like <link>, but uses a URL (not a document target);  requires
+   </ulink>; if no text is specified, the URL appears as the link text
+   http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html
+
+url=
+   used by <ulink> to specify the URL