Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 15:55:44 +0100
From:      Nik Clayton <nik@freebsd.org>
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>
In-Reply-To: <20010904032532.C8581@windriver.com>; from murray@stokely.org on Tue, Sep 04, 2001 at 03:25:32AM -0700
References:  <20010904032532.C8581@windriver.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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