From owner-freebsd-doc Tue Sep 4 4:10:23 2001 Delivered-To: freebsd-doc@freebsd.org Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by hub.freebsd.org (Postfix) with ESMTP id 5265037B407 for ; Tue, 4 Sep 2001 04:10:21 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-5-47-29.dial.proxad.net [212.27.47.29]) by postfix2-1.free.fr (Postfix) with ESMTP id D458011D for ; Tue, 4 Sep 2001 13:10:02 +0200 (CEST) Received: (qmail 994 invoked by uid 1001); 4 Sep 2001 11:08:33 -0000 Date: Tue, 4 Sep 2001 13:08:33 +0200 From: Rahul Siddharthan To: murray@stokely.org Cc: freebsd-doc@FreeBSD.ORG Subject: Re: TeX experts on this list? Message-ID: <20010904130832.A480@lpt.ens.fr> References: <20010904032532.C8581@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010904032532.C8581@windriver.com>; from murray@stokely.org on Tue, Sep 04, 2001 at 03:25:32AM -0700 X-Operating-System: FreeBSD 4.4-PRERELEASE i386 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 I use LaTeX a lot, but I'm not really an expert on TeX. That said, > For anyone who has played with the print output recently, you may > have noticed that we experimented briefly with turning on > justification and hyphenation by default. This makes the output look > much better but unfortunately TeX doesn't know how to hyphenate the > weird words that make up pathnames or URLs so these can occasionally > overflow into the right margin looking very bad. > > There is a solution to this problem, with the url and path TeX > packages. The only thing I can find in my teTeX installation is a url.sty which is a LaTeX package, which doesn't seem to work with plain TeX, which is what jade (in the doc makefiles, anyway) generates (it seems to me). It seems to be possible to generate LaTeX with some versions of jade. I don't know whether that is desirable... It may also be possible to port this url.sty to plain TeX, but that's probably way beyond my expertise. Alternatively, one can set a large \tolerance in TeX so that rather than overflowing the margin, a long URL (or other long unit) moves to the next line; the downside to that is that the previous line may get right-justified with lots of whitespace inserted between the words, which looks ugly too. In practice, even if you solve this particular URL problem, it's impossible to ensure consistent production-quality output in a large book in a fully automated manner... even with TeX, some handtuning will almost certainly needed at the final stages. - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message