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 1epuyL-0006Y5-7K for pgsql-docs@arkaria.postgresql.org; Sun, 25 Feb 2018 12:00:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epuyI-0000TY-R2 for pgsql-docs@arkaria.postgresql.org; Sun, 25 Feb 2018 12:00:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1epuyI-0000TE-CO for pgsql-docs@lists.postgresql.org; Sun, 25 Feb 2018 12:00:02 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1epuyF-0008NB-0r for pgsql-docs@lists.postgresql.org; Sun, 25 Feb 2018 12:00:00 +0000 Received: from [192.168.1.100] ([178.91.170.143]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M8WFH-1eTavP0I2F-00wEwk for ; Sun, 25 Feb 2018 12:59:56 +0100 From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Subject: Re: Images in the official documentation To: pgsql-docs@lists.postgresql.org References: <1914747379.117313.1519402446241.JavaMail.zimbra@dbi-services.com> Message-ID: Date: Sun, 25 Feb 2018 18:00:30 +0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1914747379.117313.1519402446241.JavaMail.zimbra@dbi-services.com> Content-Type: multipart/mixed; boundary="------------114CCCA48262D369C770884E" Content-Language: en-GB X-Provags-ID: V03:K0:9JYQuth/4VVn13GPlzc06xPSvseiV0NSfvv2uU7wucDQAOub824 SE+qLb3CWNlAoVG4vvYm9A2ZKRdJmI/tGc+wdKcvdsPNaT7OTiYN3GACsAOdkCR/C6UdevJ sPtPok/vFleaTcflGHFwilYI26C7p5+mSl4IW6ShzjhxD02fS8+YGsPgUffH/lRzmFFQET5 dJXA5bL43RfrZSgRZncDg== X-UI-Out-Filterresults: notjunk:1;V01:K0:QVCZmDhAfmo=:lgFyjPZLucqytls0tPJTJF iPR5e5ZSdhbZAwZiYXQww+lIAayV2/MOvlGbkzhxEO62nu6zQeuDgXNar3I5cONsyWu0onXtq qe6Savkd6x7NwF2BTm4YC4FdBuSlpebyznOQ3Ye6QDSf94wkI5RemCVnKhbZjgP3Eb9oepPBE SC1B5S61qlepiHjk+pGynqcA6BYeV0ItbiLT3w8OdZ2D2w65gEuXcubYlPtZIrzAgTh52OZ8b C3QpPhRfx/N0iHkZHJRa4bKLUJbTNQu5HkWvJOtsRzdVw45RO8CEIJxV+u7GuqFGIERC9tRIq iQG5JVIR5Qhhge0APag2NBujqHC2ep/hbY9z38ZviTzMB8XytJSyFRYz03IJtVE6RXg2mzCEc rvEExSs1k3ghs2B7u/ji/RVI9E4alEmgJoxywnUCZlptGNyX8Hs7WRTdIclR5Jk4eQuUZGECV WyAzLJV6IVobpFFKCXucBqcc9Saa9VlXP6qSjQaYPR0Pj6Ygfkv/rNz9HjtP4+k+puM67cAa2 IDVNxu7Ql+HIKF5qgJcN0UkjTrkURUJMZ1CeJQ9rHnm5mxIoPykLF9OIwDQxmO8/iDfrOwVlq rXrj7KLBtyptAYaKsI8lcAQ8JDz3NIhfiZMuewU909GAxngzG1VxCyJo7u/L1tMqYjpFG+pXA lXRN/Wr0VGG8yaQhKHxTZeFLusPRvzhtXLe5+M8tZOei4jVEKGLVXVd0aXt3O45xainnU0l/J SyCwv48aEzzj66YM9wl0haiMe/dixTBWQUnuBw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------114CCCA48262D369C770884E Content-Type: multipart/alternative; boundary="------------8F8DF816E96B1CB80B05E37B" --------------8F8DF816E96B1CB80B05E37B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. 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. Kind regards Jürgen Purtz On 23.02.2018 22:14, Daniel Westermann wrote: > Hi %, > > I am working with PostgreSQL documentation quite a few years now and I > am almost happy. What I think is completely missing (especially if you > compare to commercial product documentation) are pictures that > illustrate a topic, e.g. the relation of > instance->database->user/role->schema->objects. > > Is there an agreement not to include that pictures for any reason? I > can not promise that I find time for that in the near future but if > that will be appreciated I am willing to spend time on that to make > the documentation even better. > > Regards > Daniel --------------8F8DF816E96B1CB80B05E37B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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.

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.

Kind regards
Jürgen Purtz



On 23.02.2018 22:14, Daniel Westermann wrote:
Hi %,

I am working with PostgreSQL documentation quite a few years now and I am almost happy. What I think is completely missing (especially if you compare to commercial product documentation) are pictures that illustrate a topic, e.g. the relation of instance->database->user/role->schema->objects.

Is there an agreement not to include that pictures for any reason? I can not promise that I find time for that in the near future but if that will be appreciated I am willing to spend time on that to make the documentation even better.

Regards
Daniel

--------------8F8DF816E96B1CB80B05E37B-- --------------114CCCA48262D369C770884E Content-Type: image/svg+xml; name="pg_lib_basic_objects.svg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pg_lib_basic_objects.svg" PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+ CjxzdmcKIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKIHhtbG5zOnhsaW5r PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogdmVyc2lvbj0iMS4xIgo+CgogPGRl c2M+CgogIEJhc2ljIFNWRyBlbGVtZW50cyBmb3IgdXNlIGluIGdyYXBoaWNzIG9mIFBvc3Rn cmVTUUwgZG9jdW1lbnRhdGlvbi4KCiAgVGhlIGZpbGUgd2lsbCByZW5kZXIgdG8gYW4gZW1w dHkgc2NyZWVuIGFz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