Thread: Reformat docs for duplex printing
I've downloaded the PostgreSQL documentation from sourceforge. In particular, the admin.ps.gz, programmer.ps.gz, tutorial.ps.gz, and user.ps.gz. I then gunzip'ed these and did a "ps2pdf". The documents seem to be formatted for a letter printer in simplex (single sided) mode. I would like to print these documents on my duplex (doubled sided) laser. Granted, I can do this from the simplex formatted versions. But it doesn't look as nice. I was wondering if there is a way that I can get the source for the documents so that I can format it "properly". What this means, to me. Is that the page numbers are always on the "outside", the margins are mirrored so that the "inside" margin is slightly greater than the "outside" margin (for binding), and the chapters all start on a "front" page. Any help? Oh, I have downloaded the PostgreSQL source and see a bunch of "htm" files in the /doc subdirectory, but I can't figure out how to create the Postscript output from these (if, indeed, I can). John McKown
> I've downloaded the PostgreSQL documentation from sourceforge... Not sure what they have grabbed, but we'll assume that it is a recent version? Perhaps you can fill us in on what is there since we are not a sourceforge-based project. > ... (is) formatted for a letter printer in simplex (single sided) mode. Yes. I suggest reading the docs (the html version ;), looking in the appendix which discusses the doc building procedure. I have the hardcopy in ApplixWare for final formatting, and presumably could talk Applix into coughing up double-sided stuff. Do you have that tool? If so I could send you the intermediate .aw files. > Oh, I have downloaded the PostgreSQL source and see a bunch of "htm" files > in the /doc subdirectory, but I can't figure out how to create the > Postscript output from these (if, indeed, I can). Nope. Docs start in DocBook sgml, not html. - Thomas
On Sat, 12 Aug 2000, Thomas Lockhart wrote: > > I've downloaded the PostgreSQL documentation from sourceforge... > > Not sure what they have grabbed, but we'll assume that it is a recent > version? Perhaps you can fill us in on what is there since we are not a > sourceforge-based project. sourceforge was listed somewhere as a mirror, so I went there. I usually get good download speeds from their server. > > > ... (is) formatted for a letter printer in simplex (single sided) mode. > > Yes. I suggest reading the docs (the html version ;), looking in the > appendix which discusses the doc building procedure. Thanks, I'll see if I can understand the doc building procedure. > > I have the hardcopy in ApplixWare for final formatting, and presumably > could talk Applix into coughing up double-sided stuff. Do you have that > tool? If so I could send you the intermediate .aw files. I do have ApplixWare. However, ever since I upgraded my glibc, it simply does a segfault. So I can't use it anymore. I'll probably be sticking with OpenSource software to the best that I can any more! > > > Oh, I have downloaded the PostgreSQL source and see a bunch of "htm" files > > in the /doc subdirectory, but I can't figure out how to create the > > Postscript output from these (if, indeed, I can). > > Nope. Docs start in DocBook sgml, not html. > > - Thomas > Thanks a lot for the pointers. I'll sure give it a try. I sure wish that some book company would do a professional printing on them. Even with my nice new laser, I prefer professional printing. They last longer. Oh well, there probably wouldn't be enough profit in it for them. John McKown