Re: First SVG graphic

2019-03-28 Thread Alvaro Herrera
I think we should first exhaust all options to use the currently supported formats, before adding a new controversial one. You can use the {s} qualifier for a box in ditaa and it'll show a disk; this ascii diagram produces a "similar enough" image to your diagram, for example: ++

Re: First SVG graphic

2019-03-28 Thread Neil
> On Mar 28, 2019, at 1:08 PM, Peter Eisentraut > wrote: > > On 2019-03-28 12:24, Jürgen Purtz wrote: >> Because many of the prospective authors voted for Inkscape in the course >> of this discussion, there shall be at least one example in Inkscape format. > > Well, my vote is against doing a

Re: First SVG graphic

2019-03-28 Thread Peter Eisentraut
On 2019-03-28 12:24, Jürgen Purtz wrote: > Because many of the prospective authors voted for Inkscape in the course > of this discussion, there shall be at least one example in Inkscape format. Well, my vote is against doing anything with Inkscape, at least until other possibilities are exhausted

Re: First SVG graphic

2019-03-28 Thread Peter Eisentraut
On 2019-03-28 11:04, Magnus Hagander wrote: > See > > > for how to fix that build issue. > > > Ugh. If I understand it right, that's something that will happen to > anybody who tries

Re: First SVG graphic

2019-03-28 Thread Jürgen Purtz
On 28.03.19 09:52, Peter Eisentraut wrote: On 2019-03-28 09:03, Tatsuo Ishii wrote: This has been committed. The SVG images are committed as well, so no new tools are required. What is the policy of adding graphics to PostgreSQL 12? Is it encouraged to add more graphics to 12 docs? Or do we wa

Re: First SVG graphic

2019-03-28 Thread Magnus Hagander
On Thu, Mar 28, 2019 at 9:59 AM Magnus Hagander wrote: > > > On Thu, Mar 28, 2019 at 8:50 AM Peter Eisentraut < > peter.eisentr...@2ndquadrant.com> wrote: > >> On 2019-03-28 01:50, Tom Lane wrote: >> > Peter Eisentraut writes: >> >> This has been committed. The SVG images are committed as well,

Re: First SVG graphic

2019-03-28 Thread Magnus Hagander
On Thu, Mar 28, 2019 at 8:50 AM Peter Eisentraut < peter.eisentr...@2ndquadrant.com> wrote: > On 2019-03-28 01:50, Tom Lane wrote: > > Peter Eisentraut writes: > >> This has been committed. The SVG images are committed as well, so no > >> new tools are required. > > > > Buildfarm member alabio s

Re: First SVG graphic

2019-03-28 Thread Peter Eisentraut
On 2019-03-28 09:03, Tatsuo Ishii wrote: >> This has been committed. The SVG images are committed as well, so no >> new tools are required. > > What is the policy of adding graphics to PostgreSQL 12? Is it > encouraged to add more graphics to 12 docs? Or do we want to prohibit > it? I have nothi

Re: First SVG graphic

2019-03-28 Thread Tatsuo Ishii
> This has been committed. The SVG images are committed as well, so no > new tools are required. What is the policy of adding graphics to PostgreSQL 12? Is it encouraged to add more graphics to 12 docs? Or do we want to prohibit it? Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http

Re: First SVG graphic

2019-03-28 Thread Peter Eisentraut
On 2019-03-28 01:50, Tom Lane wrote: > Peter Eisentraut writes: >> This has been committed. The SVG images are committed as well, so no >> new tools are required. > > Buildfarm member alabio seems less than pleased. See

Re: First SVG graphic

2019-03-28 Thread Jürgen Purtz
On 28.03.19 00:41, Tatsuo Ishii wrote: Is it possible to generate figure indexes? This is an additional topic and there was a brief discussion on 7 February (and in older conversations) regarding this. It concerns list of figures, tables, and examples. I intend to make a proposal around May

Re: First SVG graphic

2019-03-27 Thread Tom Lane
Peter Eisentraut writes: > This has been committed. The SVG images are committed as well, so no > new tools are required. Buildfarm member alabio seems less than pleased. regards, tom lane

Re: First SVG graphic

2019-03-27 Thread Tatsuo Ishii
> This has been committed. The SVG images are committed as well, so no > new tools are required. Is it possible to generate figure indexes? Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: First SVG graphic

2019-03-27 Thread Peter Geoghegan
On Wed, Mar 27, 2019 at 3:17 PM Peter Eisentraut wrote: > This has been committed. The SVG images are committed as well, so no > new tools are required. Apparently it's possible to run Ditaa over the web. Perhaps we'll figure out a way to have contributors validate their changes through a browse

Re: First SVG graphic

2019-03-27 Thread Peter Eisentraut
This has been committed. The SVG images are committed as well, so no new tools are required. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Re: First SVG graphic

2019-03-14 Thread Peter Eisentraut
On 2019-03-14 14:10, Tom Lane wrote: >> The portability is not something I'm concerned about, but Ditaa requires >> Java, so that might annoy some people. > Portability is something you *should* be concerned about. We want > all patch submitters to be able to build the docs, else we'll forever > b

Re: First SVG graphic

2019-03-14 Thread Tom Lane
Peter Eisentraut writes: > On 2019-03-11 15:50, Tom Lane wrote: >> Ideally, we'd treat them much as we do for bison output files: >> we'll supply them in tarballs but you'd better have the relevant >> tools if you want to build docs from a git pull. However, that >> may be assuming too much about

Re: First SVG graphic

2019-03-14 Thread Peter Eisentraut
On 2019-03-11 15:50, Tom Lane wrote: > Ideally, we'd treat them much as we do for bison output files: > we'll supply them in tarballs but you'd better have the relevant > tools if you want to build docs from a git pull. However, that > may be assuming too much about the portability of the tools ..

Re: First SVG graphic

2019-03-11 Thread Jürgen Purtz
On 11.03.19 12:13, Peter Eisentraut wrote: I played with this further. My conclusion is that SVG as a source format is not workable. Aside from the tooling issues that are being discussed, which might be solvable, I think it's not the right level of abstraction. The problem is that it is a *ve

Re: First SVG graphic

2019-03-11 Thread Tom Lane
Peter Eisentraut writes: > I played with this further. My conclusion is that SVG as a source > format is not workable. Aside from the tooling issues that are being > discussed, which might be solvable, I think it's not the right level of > abstraction. It does seem like using SVG as an intermed

Re: First SVG graphic

2019-03-11 Thread Peter Eisentraut
I played with this further. My conclusion is that SVG as a source format is not workable. Aside from the tooling issues that are being discussed, which might be solvable, I think it's not the right level of abstraction. The problem is that it is a *vector* format, but not a *graph* or *chart* fo

Re: First SVG graphic

2019-03-10 Thread Jürgen Purtz
Please forget the term "plain SVG". What we are speaking about is: (1) "Inkscape-original" format (2) "Optimized SVG" format (3) No. (2) plus"Manually modifications". Obviously this is too complicate to handle. Therefore we shall also forget no. (3). I made a small modification to the gener

Re: First SVG graphic

2019-03-09 Thread Bruce Momjian
On Sat, Mar 9, 2019 at 11:49:31AM -0500, Tom Lane wrote: > Bruce Momjian writes: > > On Sat, Mar 9, 2019 at 02:17:33PM +0300, Jürgen Purtz wrote: > >> What is your opinion? Should we renounce the additional manual step and use > >> only the pure "Optimized SVG" format? This will increase the > >

Re: First SVG graphic

2019-03-09 Thread Tom Lane
Bruce Momjian writes: > On Sat, Mar 9, 2019 at 02:17:33PM +0300, Jürgen Purtz wrote: >> What is your opinion? Should we renounce the additional manual step and use >> only the pure "Optimized SVG" format? This will increase the >> 'diff-ablility', which may be valuable in the long term. But direc

Re: First SVG graphic

2019-03-09 Thread Bruce Momjian
On Sat, Mar 9, 2019 at 02:17:33PM +0300, Jürgen Purtz wrote: > As an example of such differences I append two files: gin.svg ("Optimized > SVG" plus my manually optimizations; the originally uploaded file) and > gin_pure_opt.svg (pure "Optimized SVG"). > > What is your opinion? Should we renounce

Re: First SVG graphic

2019-03-09 Thread Jürgen Purtz
On 08.03.19 18:55, Peter Eisentraut wrote: How do you get from the Inkscape SVG files to the what you call "optimized SVG" files? I loaded the gin_inkscape.svg file into Inkscape, saved it back out as "Plain SVG", but the resultant file did not look at all similar to the existing gin.svg. Inksc

Re: First SVG graphic

2019-03-08 Thread Peter Eisentraut
How do you get from the Inkscape SVG files to the what you call "optimized SVG" files? I loaded the gin_inkscape.svg file into Inkscape, saved it back out as "Plain SVG", but the resultant file did not look at all similar to the existing gin.svg. -- Peter Eisentraut http://www.2ndQu

Re: First SVG graphic

2019-02-23 Thread Jürgen Purtz
On 20.02.19 17:28, Peter Eisentraut wrote: On 2019-02-15 11:58, Jürgen Purtz wrote: The graphic for dump/restore is transferred from 'pg_dump utility' chapter to the 'backup and restore' chapter in sgml/backup.sgml. In this chapter I made a lot of textual changes to explain the relation between

Re: First SVG graphic

2019-02-20 Thread Peter Eisentraut
On 2019-02-15 11:58, Jürgen Purtz wrote: > The graphic for dump/restore is transferred from 'pg_dump utility' > chapter to the 'backup and restore' chapter in sgml/backup.sgml. In this > chapter I made a lot of textual changes to explain the relation between > pg_dump, pg_restore and psql in mor

Re: First SVG graphic

2019-02-15 Thread Jürgen Purtz
The graphic for dump/restore is transferred from 'pg_dump utility' chapter to the 'backup and restore' chapter in sgml/backup.sgml. In this chapter I made a lot of textual changes to explain the relation between pg_dump, pg_restore and psql in more detail. Especially I tried to introduce a more

Re: First SVG graphic

2019-02-08 Thread Peter Eisentraut
On 07/02/2019 18:11, Jürgen Purtz wrote: >>> @@ -152,15 +156,15 @@ postgres.txt: postgres.html >>> postgres.pdf: >>> $(error Invalid target; use postgres-A4.pdf or postgres-US.pdf as >>> targets) >>> >>> -%-A4.fo: stylesheet-fo.xsl %.sgml $(ALLSGML) >>> +%-A4.fo: stylesheet-fo.xsl %.sgml >>>

Re: First SVG graphic

2019-02-07 Thread Jürgen Purtz
On 07.02.19 12:06, Peter Eisentraut wrote: First, let's fix some of these whitespace errors: firstSvg_2.patch:677: trailing whitespace. Done. Let's not use mixed-case file names: Inkscape/ PageLayout.svg gin.svg pgDump.svg Done. @@ -152,15 +156,15 @@ postgres.txt: postgres.html post

Re: First SVG graphic

2019-02-07 Thread Peter Eisentraut
First, let's fix some of these whitespace errors: firstSvg_2.patch:677: trailing whitespace. @@ -152,15 +156,15 @@ postgres.txt: postgres.html > postgres.pdf: > $(error Invalid target; use postgres-A4.pdf or postgres-US.pdf as targets) > > -%-A4.fo: stylesheet-fo.xsl %.sgml $(ALLSGML) > +%-

Re: First SVG graphic

2019-02-05 Thread Jürgen Purtz
On 25.01.19 10:39, Peter Eisentraut wrote: On 24/01/2019 00:53, Bruce Momjian wrote: This is a pretty complicated issue with a lot of back-story. I am thinking Tatsuo or me will probably commit it before March. Isn't that all the more reason to add it to the commitfest? I added it to commit

Re: First SVG graphic

2019-01-25 Thread Tatsuo Ishii
> On 24/01/2019 00:53, Bruce Momjian wrote: >> This is a pretty complicated issue with a lot of back-story. I am >> thinking Tatsuo or me will probably commit it before March. > > Isn't that all the more reason to add it to the commitfest? +1. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://

Re: First SVG graphic

2019-01-25 Thread Bruce Momjian
On Fri, Jan 25, 2019 at 10:39:28AM +0100, Peter Eisentraut wrote: > On 24/01/2019 00:53, Bruce Momjian wrote: > > This is a pretty complicated issue with a lot of back-story. I am > > thinking Tatsuo or me will probably commit it before March. > > Isn't that all the more reason to add it to the c

Re: First SVG graphic

2019-01-25 Thread Peter Eisentraut
On 24/01/2019 00:53, Bruce Momjian wrote: > This is a pretty complicated issue with a lot of back-story. I am > thinking Tatsuo or me will probably commit it before March. Isn't that all the more reason to add it to the commitfest? -- Peter Eisentraut http://www.2ndQuadrant.com/ Po

Re: First SVG graphic

2019-01-23 Thread Tatsuo Ishii
> On Mon, Jan 21, 2019 at 03:02:43PM +0100, Jürgen Purtz wrote: >> The attached patch contains all necessary changes to the sgml, svg, and >> Makefile. (Possibly we need some more changes regarding the 'install*' tasks >> of Makefile.) How to go on? Shall I send the patch to a different list or to

Re: First SVG graphic

2019-01-23 Thread Bruce Momjian
On Mon, Jan 21, 2019 at 03:02:43PM +0100, Jürgen Purtz wrote: > The attached patch contains all necessary changes to the sgml, svg, and > Makefile. (Possibly we need some more changes regarding the 'install*' tasks > of Makefile.) How to go on? Shall I send the patch to a different list or to > Com

Re: First SVG graphic

2019-01-21 Thread Jürgen Purtz
The attached patch contains all necessary changes to the sgml, svg, and Makefile. (Possibly we need some more changes regarding the 'install*' tasks of Makefile.) How to go on? Shall I send the patch to a different list or to Commitfest 2019-03? Kind regards Jürgen Purtz On 17.01.19 23:43,

Re: First SVG graphic

2019-01-17 Thread Tatsuo Ishii
>> Thanks to an additional template created by Alexander Lakhin, which extends >> the >> 'nochunk' stylesheet for SVG and MathML processing, it is now possible to >> create the "single HTML file" of our documentation including SVG. For me this >> is a working solution as long as we use Docbook 4.

Re: First SVG graphic

2019-01-17 Thread Bruce Momjian
On Thu, Jan 17, 2019 at 02:49:48PM -0300, Alvaro Herrera wrote: > On 2018-Dec-23, Jürgen Purtz wrote: > > > b) Is it worth to visualize PG's tree-implementation in a separate graphic - > > or is it the same as in every other tree-implementation that you have > > learned in your academic studies? I

Re: First SVG graphic

2019-01-17 Thread Alvaro Herrera
On 2018-Dec-23, Jürgen Purtz wrote: > b) Is it worth to visualize PG's tree-implementation in a separate graphic - > or is it the same as in every other tree-implementation that you have > learned in your academic studies? If yes: in which chapter? Who's to say that every single reader of the PG

Re: First SVG graphic

2019-01-17 Thread Bruce Momjian
On Mon, Jan 7, 2019 at 05:44:07PM +, Jürgen Purtz wrote: > My questions to the community are: > > □ Does anyone has an idea how to generate single HTML file in the actual > situation? > > > Thanks to an additional template created by Alexander Lakhin, which extends > the

Re: First SVG graphic

2019-01-17 Thread Bruce Momjian
On Sun, Dec 23, 2018 at 04:10:30PM +0100, Jürgen Purtz wrote: > a) The "Entry tree" and the "Posting trees" of the graphic "gin.svg" shows > links not only from one tree-level to the next but also within each level > from node to node. Is that correct? > > b) Is it worth to visualize PG's tree-imp

Re: First SVG graphic

2019-01-07 Thread Jürgen Purtz
My questions to the community are: * Does anyone has an idea how to generate single HTML file in the actual situation? Thanks to an additional template created by Alexander Lakhin, which extends the 'nochunk' stylesheet for SVG and MathML processing, it is now possible to create the "s

Re: First SVG graphic

2018-12-28 Thread Jürgen Purtz
I failed to generate the "single HTML file". The default Makefile task, which creates multiple HTML files, works properly, because it confines itself to create links to SVG files. The SVG structure keeps hidden to the Docbook validation and processing - Docbook recognises only some additional

Re: First SVG graphic

2018-12-23 Thread Jürgen Purtz
a) The "Entry tree" and the "Posting trees" of the graphic "gin.svg" shows links not only from one tree-level to the next but also within each level from node to node. Is that correct? b) Is it worth to visualize PG's tree-implementation in a separate graphic - or is it the same as in every ot

Re: First SVG graphic

2018-12-18 Thread Jürgen Purtz
There are three wiki pages describing the procedure: general description, Inkscape specifics, colors. You can find them in the category SVG. This mail has 3 SVG graphics attached, each in pure SVG and in Inksape SVG format. Furthermore there is a patch for the Makefile and the modifications t

Re: First SVG graphic

2018-12-03 Thread Jürgen Purtz
I will create one or more wiki pages where the procedure is described. Everybody can extend this pages or contribute to their discussion sites. The pages will be found in the category 'Documentation' and its subcategory 'SVG' (to be created). The wiki pages are online: https://wiki.postgre

Re: First SVG graphic

2018-11-30 Thread Bruce Momjian
On Fri, Nov 30, 2018 at 06:04:06PM +0100, Jürgen Purtz wrote: > I take the reactions of the last days as a strong consent to go on with the > effort to integrate graphics into the documentation and use SVG as the > language > which creates such graphics. Also the proposed parallel handling of two

Re: First SVG graphic

2018-11-30 Thread Jürgen Purtz
I take the reactions of the last days as a strong consent to go on with the effort to integrate graphics into the documentation and use SVG as the language which creates such graphics. Also the proposed parallel handling of two SVG files - a rich but tool-specific version (optional and not norm

Re: First SVG graphic

2018-11-29 Thread Oleg Bartunov
On Wed, Nov 28, 2018 at 8:33 PM Jürgen Purtz wrote: > > After one week no response at all? Neither positive nor negative. It seems > that the community has little interest in the SVG issue. Or in my suggestion? First of all, I am BIG + for having diagrams in our documentation. I once estimated

Re: First SVG graphic

2018-11-28 Thread Craig Ringer
On Thu, 29 Nov 2018 at 01:33, Jürgen Purtz wrote: > After one week no response at all? Neither positive nor negative. It > seems that the community has little interest in the SVG issue. Or in my > suggestion? > I'm excited you're doing it. I thought it was part of an existing/ongoing discussion

Re: First SVG graphic

2018-11-28 Thread Tatsuo Ishii
> On Wed, Nov 28, 2018 at 8:53 PM Alvaro Herrera > wrote: > >> On 2018-Nov-28, Bruce Momjian wrote: >> >> > On Wed, Nov 28, 2018 at 11:46:33AM -0800, Andres Freund wrote: >> > > Hi, >> > > >> > > On 2018-11-28 18:34:26 +0100, Jürgen Purtz wrote: >> > > > After one week no response at all? Neither

Re: First SVG graphic

2018-11-28 Thread Magnus Hagander
On Wed, Nov 28, 2018 at 8:53 PM Alvaro Herrera wrote: > On 2018-Nov-28, Bruce Momjian wrote: > > > On Wed, Nov 28, 2018 at 11:46:33AM -0800, Andres Freund wrote: > > > Hi, > > > > > > On 2018-11-28 18:34:26 +0100, Jürgen Purtz wrote: > > > > After one week no response at all? Neither positive nor

Re: First SVG graphic

2018-11-28 Thread Alvaro Herrera
On 2018-Nov-28, Bruce Momjian wrote: > On Wed, Nov 28, 2018 at 11:46:33AM -0800, Andres Freund wrote: > > Hi, > > > > On 2018-11-28 18:34:26 +0100, Jürgen Purtz wrote: > > > After one week no response at all? Neither positive nor negative. It seems > > > that the community has little interest in

Re: First SVG graphic

2018-11-28 Thread Andres Freund
Hi, On 2018-11-28 14:49:10 -0500, Bruce Momjian wrote: > On Wed, Nov 28, 2018 at 11:46:33AM -0800, Andres Freund wrote: > > Hi, > > > > On 2018-11-28 18:34:26 +0100, Jürgen Purtz wrote: > > > After one week no response at all? Neither positive nor negative. It seems > > > that the community has l

Re: First SVG graphic

2018-11-28 Thread Bruce Momjian
On Wed, Nov 28, 2018 at 11:46:33AM -0800, Andres Freund wrote: > Hi, > > On 2018-11-28 18:34:26 +0100, Jürgen Purtz wrote: > > After one week no response at all? Neither positive nor negative. It seems > > that the community has little interest in the SVG issue. Or in my > > suggestion? > > I'd s

Re: First SVG graphic

2018-11-28 Thread Andres Freund
Hi, On 2018-11-28 18:34:26 +0100, Jürgen Purtz wrote: > After one week no response at all? Neither positive nor negative. It seems > that the community has little interest in the SVG issue. Or in my > suggestion? I'd suggest describing your proposed workflow in sgml, not a pdf file. Greetings,

Re: First SVG graphic

2018-11-28 Thread Bruce Momjian
On Wed, Nov 28, 2018 at 01:05:28PM -0500, Bruce Momjian wrote: > On Wed, Nov 28, 2018 at 06:34:26PM +0100, Jürgen Purtz wrote: > > After one week no response at all? Neither positive nor negative. It seems > > that > > the community has little interest in the SVG issue. Or in my suggestion? > > I

Re: First SVG graphic

2018-11-28 Thread Bruce Momjian
On Wed, Nov 28, 2018 at 06:34:26PM +0100, Jürgen Purtz wrote: > After one week no response at all? Neither positive nor negative. It seems > that > the community has little interest in the SVG issue. Or in my suggestion? I have been waiting for someone to take leadership on this important topic,

Re: First SVG graphic

2018-11-28 Thread Jürgen Purtz
After one week no response at all? Neither positive nor negative. It seems that the community has little interest in the SVG issue. Or in my suggestion? Jürgen Purtz