From owner-freebsd-doc Mon Feb 18 15:27:12 2002 Delivered-To: freebsd-doc@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 42EB037B404 for ; Mon, 18 Feb 2002 15:27:07 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020218232707.MAEN1214.rwcrmhc54.attbi.com@bmah.dyndns.org>; Mon, 18 Feb 2002 23:27:07 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id g1INR6E93462; Mon, 18 Feb 2002 15:27:06 -0800 (PST) (envelope-from bmah) Message-Id: <200202182327.g1INR6E93462@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Matt G." Cc: freebsd-doc@FreeBSD.ORG Subject: Re: fix for bad margins in PDF files In-reply-to: References: Comments: In-reply-to "Matt G." message dated "Thu, 14 Feb 2002 08:57:02." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 Feb 2002 15:27:06 -0800 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If memory serves me right, "Matt G." wrote: > I just grabbed a copy of the FreeBSD PDF from: > ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/en/books/handbook/ > > It has a copyright date of 2002, in the front matter, so I assume it's > fairly recent. You can look at the timestamp on the file on the FTP site to see when it was last built. > I wanted to report a problem with the top margins (the header is almost off > the page). I believe this to be an issue that jadetex has, in producing > .dvi files. I have discovered two approaches to rectifying the issue: > * use pdfjadetex to create the PDF files, directly. This has > the advantage that the structure of the document doesn't > get flattened (such as with xrefs) and you get "bookmarks", > which is the navigation bar with a clickable outline of the > the document. If you look at doc/en*/books/handbook/Makefile, you'll see that for the Handbook, this isn't an option due to the size of the document. (Apparently, tweaking texmf.cfg can't fix the problem either.) murray knows more about this. I just ran into this problem with the French translation of the Handbook. As far as I know, no other document is large enough to require this fix. > * use the -O "0.0in,0.75in" flag, with dvips/dvipdf. Well, I just checked the PostScript rendering I built locally yesterday, and its top margin looks fine (although I see the same problem with the PDF file that you saw). I wonder if the ps2pdf script (or something that it relies on) that's used to produce the PDF file could be at fault? Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message