minor doc improvements

Started by Neil Conwayover 22 years ago4 messagespatches
Jump to latest
#1Neil Conway
neilc@samurai.com

I've applied the attached patch to HEAD. It does the following:

Add a few more cross-references where appropriate, add more text about
the FROM clause and an example to the UPDATE reference page, and make
a few other SGML tweaks.

Suggestions for further improvement (for example, to the UPDATE ref
page) are welcome.

-Neil

Attachments:

update_docs-3.patchtext/x-patch; name=update_docs-3.patchDownload+84-59
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Neil Conway (#1)
Re: minor doc improvements

Neil Conway wrote:

I've applied the attached patch to HEAD. It does the following:

Add a few more cross-references where appropriate, add more text
about the FROM clause and an example to the UPDATE reference page,
and make a few other SGML tweaks.

Suggestions for further improvement (for example, to the UPDATE ref
page) are welcome.

ISTM that the linking changes you propose are stretching the semantics
of DocBook. If you want to link, why not just use <link>. By using
<xref> plus endterm you're doing the same thing indirectly and you rely
on the remote endterm having a sensible grammatical structure that fits
into the local sentence.

#3Neil Conway
neilc@samurai.com
In reply to: Peter Eisentraut (#2)
Re: minor doc improvements

Peter Eisentraut wrote:

ISTM that the linking changes you propose are stretching the semantics
of DocBook. If you want to link, why not just use <link>. By using
<xref> plus endterm you're doing the same thing indirectly and you rely
on the remote endterm having a sensible grammatical structure that fits
into the local sentence.

I didn't know about the <link> tag, thanks for the suggestion. (I
won't claim to be a DocBook expert.)

Can you suggest when <xref> should be used, and when <link> is the
right tag to use?

(The fact that the endterm of the xref must fit into the grammatical
structure of the local sentence doesn't seem like a major problem to
me. If we change the endterm of *any* xref, couldn't that disturb the
xref's local sentence? i.e. don't the existing uses of <xref> in the
docs suffer from the same problem?)

-Neil

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#2)
Re: minor doc improvements

Peter Eisentraut <peter_e@gmx.net> writes:

ISTM that the linking changes you propose are stretching the semantics
of DocBook. If you want to link, why not just use <link>. By using
<xref> plus endterm you're doing the same thing indirectly and you rely
on the remote endterm having a sensible grammatical structure that fits
into the local sentence.

I believe Neil was just copying the existing examples in our docs.
What's this <link> and how would you use it, exactly?

regards, tom lane