pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: fix remaining over-length entries in SQL keywords table.
Date: Tue, 12 May 2020 00:04:32 +0000
Message-ID: <E1jYIPQ-0004ku-BS@gemulon.postgresql.org> (raw)

Doc: fix remaining over-length entries in SQL keywords table.

Even after the tweaking I did in commit 5545b69ae, some of the
longer keywords mentioned in the SQL standard don't fit the
available space in PDF output.

I experimented with various solutions like putting such keywords
on their own table lines, but everything looked ugly or confusing
or both; worse, the weirdness also appeared in the HTML version,
which (normally) doesn't need it.

The best answer seems to be to insert &zwsp; into long keywords
so that they can be broken into two lines when, and only when,
needed.  It doesn't look too awful if the break happens after
an underscore --- and fortunately, all the problematic keywords
have underscores.

Discussion: https://postgr.es/m/6916.1589146280@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4d1563717fb1860168a40b852e1d61a33ecdd62f

Modified Files
--------------
doc/src/sgml/generate-keywords-table.pl | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)



Message-ID: <E1jYIPQ-0004ku-BS@gemulon.postgresql.org>
Permalink:  ../E1jYIPQ-0004ku-BS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jYIPQ-0004ku-BS@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: fix remaining over-length entries in SQL keywords table.
  In-Reply-To: <E1jYIPQ-0004ku-BS@gemulon.postgresql.org>
  References: <E1jYIPQ-0004ku-BS@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox