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: introduce and document "&zwsp;" for allowing optional line
Date: Sun, 12 Apr 2020 18:03:30 +0000
Message-ID: <E1jNgx8-0000qQ-Ub@gemulon.postgresql.org> (raw)

Doc: introduce and document "&zwsp;" for allowing optional line breaks.

We already had a couple of places using zero-width spaces for formatting
hackery, and we're going to need more if we ever want the PDF manuals to
look decent.  But please let's not write hard-coded Unicode escapes.
We can avoid that by using a custom entity, which also provides a place
to put a teeny bit of documentation about what it is and how to use it.

I'd previously posted a patch using "&break;" for this, but on reflection
that would be horrible to grep for.  Instead let's use "&zwsp;", based
on the name of the Unicode symbol ("zero width space").

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/88d934f0387a66ba372643913f99e845d0ea144a

Modified Files
--------------
doc/src/sgml/func.sgml     | 10 +++++-----
doc/src/sgml/postgres.sgml |  7 +++++++
2 files changed, 12 insertions(+), 5 deletions(-)



Message-ID: <E1jNgx8-0000qQ-Ub@gemulon.postgresql.org>
Permalink:  ../E1jNgx8-0000qQ-Ub@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jNgx8-0000qQ-Ub@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: introduce and document "&zwsp;" for allowing optional line
  In-Reply-To: <E1jNgx8-0000qQ-Ub@gemulon.postgresql.org>
  References: <E1jNgx8-0000qQ-Ub@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