Thread: 8.2.0 pdf

8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hello,

I'm building 8.2.0 pdf now. It may take 3-4 days. I am writing this
e-mail to prevent duplicate work.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: [pgsql-www] 8.2.0 pdf

From
Oleg Bartunov
Date:
On Mon, 4 Dec 2006, Devrim GUNDUZ wrote:

> Hello,
>
> I'm building 8.2.0 pdf now. It may take 3-4 days. I am writing this
> e-mail to prevent duplicate work.

Good luck ! My attempts failed after 2-4 days running. What's the mess !

>
> Regards,
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

Re: [pgsql-www] 8.2.0 pdf

From
Iannsp
Date:
If you need some help like share te work...
I like to work with you on this.
ok.

Oleg Bartunov escreveu:
> On Mon, 4 Dec 2006, Devrim GUNDUZ wrote:
>
>> Hello,
>>
>> I'm building 8.2.0 pdf now. It may take 3-4 days. I am writing this
>> e-mail to prevent duplicate work.
>
> Good luck ! My attempts failed after 2-4 days running. What's the mess !
>
>>
>> Regards,
>>
>
>     Regards,
>         Oleg
> _____________________________________________________________
> Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
> Sternberg Astronomical Institute, Moscow University, Russia
> Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
> phone: +007(495)939-16-83, +007(495)939-23-83
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>


--
Ivo Nascimento
Iann tech - Desenvolvendo soluções com performance e segurança


Re: 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi,

On Mon, 2006-12-04 at 11:46 +0200, Devrim GUNDUZ wrote:
> I'm building 8.2.0 pdf now. It may take 3-4 days.

Ok, it is done. I'm now committing it to CVS. It will appear in web page
soon.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: 8.2.0 pdf

From
Michael Glaesemann
Date:
On Dec 7, 2006, at 15:16 , Devrim GUNDUZ wrote:

> Hi,
>
> On Mon, 2006-12-04 at 11:46 +0200, Devrim GUNDUZ wrote:
>> I'm building 8.2.0 pdf now. It may take 3-4 days.
>
> Ok, it is done. I'm now committing it to CVS. It will appear in web
> page
> soon.

Thanks, Devrim, for putting this together and your patience :). I'm
sure people will find it useful.

Michael Glaesemann
grzm seespotcode net



Re: 8.2.0 pdf

From
Oleg Bartunov
Date:
On Thu, 7 Dec 2006, Devrim GUNDUZ wrote:

> Hi,
>
> On Mon, 2006-12-04 at 11:46 +0200, Devrim GUNDUZ wrote:
>> I'm building 8.2.0 pdf now. It may take 3-4 days.
>
> Ok, it is done. I'm now committing it to CVS. It will appear in web page
> soon.

Devrim, could you share your texmf.cnf ? My pdf creation failed even if
I increased memory setting as it's recommended in jadetex installation.

>
> Regards,
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

Re: 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi Oleg,

On Thu, 2006-12-07 at 10:53 +0300, Oleg Bartunov wrote:
> Devrim, could you share your texmf.cnf ? My pdf creation failed even
> if I increased memory setting as it's recommended in jadetex
> installation.

I had to increase several settings in that file.

http://www.gunduz.org/postgresql/texmf.cnf

Cheers,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: 8.2.0 pdf

From
Kris Jurka
Date:
Devrim GUNDUZ wrote:
> Hi,
>
> On Mon, 2006-12-04 at 11:46 +0200, Devrim GUNDUZ wrote:
>> I'm building 8.2.0 pdf now. It may take 3-4 days.
>
> Ok, it is done. I'm now committing it to CVS. It will appear in web page
> soon.
>

The US version does not have bookmarks and doesn't seem to have any
links internally.  Neither version has an index, you must build the HTML
docs prior to the PDFs to get the indexes.

Kris Jurka

Re: 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi,

On Thu, 2006-12-07 at 03:42 -0700, Kris Jurka wrote:
> The US version does not have bookmarks and doesn't seem to have any
> links internally.  Neither version has an index, you must build the
> HTML docs prior to the PDFs to get the indexes.

Hmm. That makes sense. Per above, I now first ran "make html", and then
"make postgres.pdf". Here is the initial output:

------
LC_ALL=C "/usr/bin/perl" /usr/bin/collateindex.pl -f -g -i 'bookindex'
-o bookindex.sgml HTML.index
Processing HTML.index...
1555 entries loaded...
0 entries ignored...
...
-------

BTW, I first built A4 pdf by running "make postgres.pdf" . Then per a
suggestion at #postgresql, I converted it to ps by ps2pdf. Then, I ran:

ps2pdf -paper letter postgres.ps

to convert it to US format. Is it the right way to do that?

Anyway, the process will again take 2-3 days.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: [pgsql-www] 8.2.0 pdf

From
Kris Jurka
Date:

On Thu, 7 Dec 2006, Devrim GUNDUZ wrote:

> BTW, I first built A4 pdf by running "make postgres.pdf" . Then per a
> suggestion at #postgresql, I converted it to ps by ps2pdf. Then, I ran:
>
> ps2pdf -paper letter postgres.ps
>
> to convert it to US format. Is it the right way to do that?
>

No, converting to postscript loses all the PDF formatting goodness that
makes it readable instead of just printable.

I edited
/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/dbparam.dsl and
changed

(define %paper-type% "A4")

to

(define %paper-type% "USletter")

and rerunning the entire multi-day generation.

Surely this isn't ideal and the correct way to do this is to set it in a
stylesheet or pass it in some other way, but this worked for me.

Kris Jurka

Re: 8.2.0 pdf

From
Javier Molina
Date:
Page numbers do not appear in the table of contents (they show as ??)
starting from ALTER TABLESPACE (page xix), they were fine in 8.1.

Also, the last page of the document is titled "Index" but is otherwise
empty (this was the case too in 8.1, is this expected?)

Devrim GUNDUZ escribió:
> Hi,
>
> On Mon, 2006-12-04 at 11:46 +0200, Devrim GUNDUZ wrote:
>> I'm building 8.2.0 pdf now. It may take 3-4 days.
>
> Ok, it is done. I'm now committing it to CVS. It will appear in web page
> soon.
>
> Regards,

Re: 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi,

On Thu, 2006-12-07 at 14:39 +0100, Javier Molina wrote:
> Page numbers do not appear in the table of contents (they show as ??)
> starting from ALTER TABLESPACE (page xix), they were fine in 8.1.

Yes, this was reported this morning -- I started to rebuild the pdf.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: [pgsql-www] 8.2.0 pdf

From
Jim Nasby
Date:
On Dec 7, 2006, at 12:03 AM, Devrim GUNDUZ wrote:
>> Devrim, could you share your texmf.cnf ? My pdf creation failed even
>> if I increased memory setting as it's recommended in jadetex
>> installation.
>
> I had to increase several settings in that file.
>
> http://www.gunduz.org/postgresql/texmf.cnf

ISTM that info should be in CVS, maybe in the README.

Also, if PDF indexes depend on HTML, perhaps HTML should be a
dependency of PDF in the Makefile.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



Re: [pgsql-www] 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi Jim,

On Fri, 2006-12-08 at 18:07 -0800, Jim Nasby wrote:
> > http://www.gunduz.org/postgresql/texmf.cnf
>
> ISTM that info should be in CVS, maybe in the README.

I was thinking something same. But I'd like to wait until I build a fine
PDF.

> Also, if PDF indexes depend on HTML, perhaps HTML should be a
> dependency of PDF in the Makefile.

Agreed...

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: [pgsql-www] 8.2.0 pdf

From
Peter Eisentraut
Date:
Jim Nasby wrote:
> Also, if PDF indexes depend on HTML, perhaps HTML should be a
> dependency of PDF in the Makefile.

By that logic, HTML should also depend on HTML.  I don't know how people
would like that.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: [pgsql-www] 8.2.0 pdf

From
Tom Lane
Date:
Peter Eisentraut <peter_e@gmx.net> writes:
> Jim Nasby wrote:
>> Also, if PDF indexes depend on HTML, perhaps HTML should be a
>> dependency of PDF in the Makefile.

> By that logic, HTML should also depend on HTML.  I don't know how people
> would like that.

The real point is that the "jade" step needs to be done twice to have
up-to-date indexes.  It makes sense not to force that for html, because
we use html for proofing.  But perhaps we ought to run jade twice in the
Makefile rule for producing pdftex output?  I see that the Makefile
forces three runs of TeX for similar reasons (which is probably way more
time than the jade part anyway).

            regards, tom lane

Re: 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi,

On Thu, 2006-12-07 at 18:32 +0200, Devrim GUNDUZ wrote:

> On Thu, 2006-12-07 at 14:39 +0100, Javier Molina wrote:
> > Page numbers do not appear in the table of contents (they show
> as ??)
> > starting from ALTER TABLESPACE (page xix), they were fine in 8.1.
>
> Yes, this was reported this morning -- I started to rebuild the pdf.

I committed the new 8.2-A4 pdf to CVS -- it will hit the mirrors soon.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: [pgsql-www] 8.2.0 pdf

From
Peter Eisentraut
Date:
Kris Jurka wrote:
> I edited
> /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/dbparam.dsl
> and changed
>
> (define %paper-type% "A4")
>
> to
>
> (define %paper-type% "USletter")

I have changed this now so that there are separate targets
postgres-A4.pdf and postgres-US.pdf, so there shouldn't be any
confusion anymore in the future.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: [pgsql-www] 8.2.0 pdf

From
Tom Lane
Date:
Peter Eisentraut <peter_e@gmx.net> writes:
> I have changed this now so that there are separate targets
> postgres-A4.pdf and postgres-US.pdf, so there shouldn't be any
> confusion anymore in the future.

Could we get all these recent fixes back-ported into the 8.2 CVS branch?
Some of us still need to build .pdfs for 8.2 ...

            regards, tom lane

Re: [pgsql-www] 8.2.0 pdf

From
Devrim GUNDUZ
Date:
Hi,

On Sun, 2006-12-10 at 17:18 -0500, Tom Lane wrote:
> Could we get all these recent fixes back-ported into the 8.2 CVS
> branch?
> Some of us still need to build .pdfs for 8.2 ...

...and for 8.1, too? I would like to update 8.1 docs to 8.1.5.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: 8.2.0 pdf

From
Javier Molina
Date:
Devrim GUNDUZ escribió:
> Hi,
>
> On Thu, 2006-12-07 at 18:32 +0200, Devrim GUNDUZ wrote:
>
>> On Thu, 2006-12-07 at 14:39 +0100, Javier Molina wrote:
>>> Page numbers do not appear in the table of contents (they show
>> as ??)
>>> starting from ALTER TABLESPACE (page xix), they were fine in 8.1.
>> Yes, this was reported this morning -- I started to rebuild the pdf.
>
> I committed the new 8.2-A4 pdf to CVS -- it will hit the mirrors soon.
>
> Regards,

Great, now I will be able to print it. Thanks!

Re: [pgsql-www] 8.2.0 pdf

From
Bruce Momjian
Date:
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Jim Nasby wrote:
> >> Also, if PDF indexes depend on HTML, perhaps HTML should be a
> >> dependency of PDF in the Makefile.
>
> > By that logic, HTML should also depend on HTML.  I don't know how people
> > would like that.
>
> The real point is that the "jade" step needs to be done twice to have
> up-to-date indexes.  It makes sense not to force that for html, because
> we use html for proofing.  But perhaps we ought to run jade twice in the
> Makefile rule for producing pdftex output?  I see that the Makefile
> forces three runs of TeX for similar reasons (which is probably way more
> time than the jade part anyway).

I have modified the sgml Makefile to run jade twice for PDF and PS
output;  patch attached and applied to HEAD and 8.2.X.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/Makefile
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/Makefile,v
retrieving revision 1.84
diff -c -c -r1.84 Makefile
*** doc/src/sgml/Makefile    10 Dec 2006 20:46:03 -0000    1.84
--- doc/src/sgml/Makefile    15 Dec 2006 00:18:52 -0000
***************
*** 137,155 ****
--- 137,164 ----
  JADE.tex.call = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d $(srcdir)/stylesheet.dsl -t tex -V tex-backend -i
output-print

  %-A4.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl
+     # multiple runs are necessary to create proper index entries
+     $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
      $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<

  %-US.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl
+     # multiple runs are necessary to create proper index entries
+     $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=USletter -o $@ $<
      $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=USletter -o $@ $<

  %-A4.tex-pdf: %.sgml $(ALLSGML) stylesheet.dsl
+     # multiple runs are necessary to create proper index entries
+     $(JADE.tex.call) -V texpdf-output -V '%paper-type%'=A4 -o $@ $<
      $(JADE.tex.call) -V texpdf-output -V '%paper-type%'=A4 -o $@ $<

  %-US.tex-pdf: %.sgml $(ALLSGML) stylesheet.dsl
+     # multiple runs are necessary to create proper index entries
+     $(JADE.tex.call) -V texpdf-output -V '%paper-type%'=USletter -o $@ $<
      $(JADE.tex.call) -V texpdf-output -V '%paper-type%'=USletter -o $@ $<

  %.dvi: %.tex-ps
      @rm -f $*.aux $*.log
+     # multiple runs are necessary to create proper index entries
      jadetex $<
      jadetex $<
      jadetex $<
***************
*** 160,165 ****
--- 169,175 ----

  %.pdf: %.tex-pdf
      @rm -f $*.aux $*.log $*.out
+     # multiple runs are necessary to create proper index entries
      pdfjadetex $<
      pdfjadetex $<
      pdfjadetex $<