Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 15:27:06 -0800
From:      "Bruce A. Mah" <bmah@FreeBSD.ORG>
To:        "Matt G." <matt_g_@hotmail.com>
Cc:        freebsd-doc@FreeBSD.ORG
Subject:   Re: fix for bad margins in PDF files 
Message-ID:  <200202182327.g1INR6E93462@bmah.dyndns.org>
In-Reply-To: <F116R0pYzSBlV2lyVV000007bf6@hotmail.com> 
References:  <F116R0pYzSBlV2lyVV000007bf6@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202182327.g1INR6E93462>