From owner-freebsd-doc Tue Sep 4 8:21:25 2001 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 6C0BF37B405 for ; Tue, 4 Sep 2001 08:21:16 -0700 (PDT) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.3/8.11.3) id f84EtiP39126; Tue, 4 Sep 2001 15:55:44 +0100 (BST) (envelope-from nik) Date: Tue, 4 Sep 2001 15:55:44 +0100 From: Nik Clayton To: murray@stokely.org Cc: freebsd-doc@FreeBSD.org Subject: Re: TeX experts on this list? Message-ID: <20010904155544.G46201@clan.nothing-going-on.org> References: <20010904032532.C8581@windriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="hZNcg5Zgu0ROmvXA" 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 Organization: FreeBSD Project 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 --hZNcg5Zgu0ROmvXA Content-Type: multipart/mixed; boundary="zsrtqxSV3n+NPNGz" Content-Disposition: inline --zsrtqxSV3n+NPNGz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 04, 2001 at 03:25:32AM -0700, murray@stokely.org wrote: > 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. >=20 > There is a solution to this problem, with the url and path TeX > packages. These can be loaded through jadetex.cnf or some similar No clue about jadetex.cnf, but you can patch jadetex.dtx in the jadetex port to include url.sty very easily (that's one of the attached patches). Then you have to change the definition of ulink in our stylesheets, which is another attached patch. You also probably need to change the definition of filename as well. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ FreeBSD Documentation Project http://www.freebsd.org/docproj/ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- --zsrtqxSV3n+NPNGz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="jadetex.diff" --- jadetex.dtx.org Tue Sep 4 15:18:50 2001 +++ jadetex.dtx Tue Sep 4 15:19:27 2001 @@ -109,6 +109,7 @@ {\newenvironment{multicols}[1]% {\typeout{Warning, at line \the\inputlineno, multicol package not available}}{}% } +\RequirePackage{url} \RequirePackage[normalem]{ulem} \RequirePackage{fancyhdr}[2000/10/10]% version 2.0 \makeatletter --zsrtqxSV3n+NPNGz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="freebsd.dsl.diff" Content-Transfer-Encoding: quoted-printable Index: freebsd.dsl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/doc/share/sgml/freebsd.dsl,v retrieving revision 1.50 diff -u -r1.50 freebsd.dsl --- freebsd.dsl 2001/08/27 04:01:40 1.50 +++ freebsd.dsl 2001/09/04 14:40:16 @@ -236,7 +256,11 @@ (data-of (current-node))))) (make sequence (literal " (") - (literal (fix-url (attribute-string (normalize "url")))) + (make formatting-instruction data: + (string-append "\\url{" + (fix-url (attribute-string (norma= lize "url"))) + + "}")) (literal ")")) (empty-sosofo))))))) =20 --zsrtqxSV3n+NPNGz-- --hZNcg5Zgu0ROmvXA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjuU628ACgkQk6gHZCw343XNzwCeJiRdBCcf2nK5BxQkXVtZgh+N xOwAnROpxogshB3+CiA1C72angG3COTR =0D+K -----END PGP SIGNATURE----- --hZNcg5Zgu0ROmvXA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message