Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eq2ec-0002Yh-Vj for pgsql-docs@arkaria.postgresql.org; Sun, 25 Feb 2018 20:12:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eq2eb-0001b2-Kh for pgsql-docs@arkaria.postgresql.org; Sun, 25 Feb 2018 20:12:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eq2eb-0001al-E4 for pgsql-docs@lists.postgresql.org; Sun, 25 Feb 2018 20:12:13 +0000 Received: from mail.wordtothewise.com ([2001:470:1:6d::9a]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eq2eW-0004fv-0A for pgsql-docs@lists.postgresql.org; Sun, 25 Feb 2018 20:12:12 +0000 Received: from satsuke.wordtothewise.com (204.11.227.194.static.etheric.net [204.11.227.194]) by mail.wordtothewise.com (Postfix) with ESMTPSA id 5B89123379 for ; Sun, 25 Feb 2018 12:12:54 -0800 (PST) From: Steve Atkins Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Images in the official documentation Date: Sun, 25 Feb 2018 12:12:02 -0800 References: <1914747379.117313.1519402446241.JavaMail.zimbra@dbi-services.com> To: pgsql-docs@lists.postgresql.org In-Reply-To: Message-Id: <08B83F11-EB17-4436-B73A-1857898B6B9B@blighty.com> X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Feb 25, 2018, at 4:00 AM, J=C3=BCrgen Purtz = wrote: >=20 > As an addition to my mail from January 2016 concerning graphics = (https://www.postgresql.org/message-id/568A9148.30303%40purtz.de) I = propose to use SVG (after switching to XML) - but not an SVG which is = generated by Inkscape or similar tools. Those editors generate very ugly = and chatty commands. This form is not easy to read or understand. = Therefore we shall use nothing but a simple text editor and write every = line by our self. The process is divided into two parts: > As a basis we shall develop an SVG library containing a bunch of = "atomic" symbols of simple graphical elements (rectangle, arrow, ...) up = to complex elements (magnetic disc, laptop, cloud, UML-elements, ...). = The SVG routines creating those symbols shall accept parameters for = position, size, rotation, colour, ... . This library shortens the = individual SVG files, it ensures a consistent rendering of common = graphical elements, it is diff-able, and it will reach a stable state - = some day. >=20 > The real graphics shall use the elements of the library and add = individual SVG elements. The rules for this part are the same as above: = create SVG commands with vi (or similar), store it in git. > If such an approach works (we must distribute the docs across a wide = range of different systems, a proof-of-system is necessary) and the = community accepts my proposal, I would like to work on the library-part = - starting after finishing my actual project in about 6 weeks from now. = The attached file contains a very first draft as of Jan. 2016. Writing SVG by hand maybe doesn't seem the best idea. I understand the attraction to people who want to store everything as = diffable text, but images of this sort are unlikely to get updated by = others, which means they're unlikely to be maintained as the things = they're intended to document change. It also means that the people best = suited to generating diagrams are the least likely to do so, and = vice-versa. Cheers, Steve=