Re: [DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Daniele Varrazzo
On Wed, Apr 13, 2011 at 7:34 PM, Peter Eisentraut wrote: > On ons, 2011-04-13 at 11:31 +0100, Daniele Varrazzo wrote: >> If there is, I think the rendering should be performed as a >> post-processing step on the html output and should be a totally >> optional phase: we may do it for the website bu

Re: [DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Peter Eisentraut
On ons, 2011-04-13 at 11:31 +0100, Daniele Varrazzo wrote: > If there is, I think the rendering should be performed as a > post-processing step on the html output and should be a totally > optional phase: we may do it for the website but have the docs > generation not to fail if the tools (python,

Re: [DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Thom Brown
On 13 April 2011 17:14, Kevin Grittner wrote: > Daniele Varrazzo wrote: > >> - http://pgmp.projects.postgresql.org/highlight/psql.html >> - http://pgmp.projects.postgresql.org/highlight/postgres.html >> >> Is there any interest in applying highlighted syntax to the html >> rendering of the manual

Re: [DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Kevin Grittner
Daniele Varrazzo wrote: > - http://pgmp.projects.postgresql.org/highlight/psql.html > - http://pgmp.projects.postgresql.org/highlight/postgres.html > > Is there any interest in applying highlighted syntax to the html > rendering of the manual? When using an editor I like some color highlighti

Re: [DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Susanne Ebrecht
On 13.04.2011 17:02, Tom Lane wrote: FWIW, there are very few things in the world that I hate more than randomly multicolored text. Almost always, some of it is unreadable in a particular viewing context because of poor contrast. And as often as not, the stuff that does stand out isn't the most

Re: [DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Tom Lane
Daniele Varrazzo writes: > when I wrote the docs for the GMP extension > (http://pgmp.projects.postgresql.org/) I started improving the syntax > highlight produced by pygments > (https://bitbucket.org/dvarrazzo/pygments-postgres) for the PostgreSQL > SQL dialect. I've also added specific lexers fo

[DOCS] Proposal: syntax highlight in html manual

2011-04-13 Thread Daniele Varrazzo
Hello, when I wrote the docs for the GMP extension (http://pgmp.projects.postgresql.org/) I started improving the syntax highlight produced by pygments (https://bitbucket.org/dvarrazzo/pygments-postgres) for the PostgreSQL SQL dialect. I've also added specific lexers for PL/pgSQL and interactive p

Re: [DOCS] CREATE EXTENSION: documenting prereqs

2011-04-13 Thread Tom Lane
Josh Kupershmidt writes: > Well, obviously I need to go into ./contrib/hstore/ and run make && > make install (or install the appropriate -contrib package if I were > using a packaged build of Postgres). I think it'd be nice to give > users some hint about this prerequisite. Appendix F [1] discuss