From owner-freebsd-doc Tue Sep 4 3:20:19 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 47ED737B408 for ; Tue, 4 Sep 2001 03:20:01 -0700 (PDT) Received: by mao.stokely.org (Postfix, from userid 2074) id C1D444B65E; Tue, 4 Sep 2001 03:25:32 -0700 (PDT) Date: Tue, 4 Sep 2001 03:25:32 -0700 From: murray@stokely.org To: freebsd-doc@FreeBSD.org Subject: TeX experts on this list? Message-ID: <20010904032532.C8581@windriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D 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 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. These can be loaded through jadetex.cnf or some similar mechanism and then our DSSSL stylesheets can be modified with something similar to : (a patch found on the docbook sourceforge site) : (if (equal? tex-backend #t) ((define ($url$ url) (make formatting-instruction data: (string-append "(\\url{" url "})"))) (define ($filename$ file) (make formatting-instruction data: (string-append "\\file{" file "}"))) )) This will make the URLs look something like \url{http://www.FreeBSD.org} where presumably they are handled much better in some way. The problem is that I'm not very TeX literate. Has anyone worked with these packages before? JadeTeX doesn't even seem to be looking at my jadetex.cnf file and if it does then I've probably used the wrong syntax for loading packages. I've written up some equations in LaTeX but I don't have the necessary low level TeX-foo to finish up this support without spending a huge amount of time in the process. Is anyone familiar with TeX enough to look into this? - Murray (In the mean time I'm reading a couple of long online TeX references and waiting for my copy of the TeXbook to arrive) --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE7lKwbtNcQog5FH30RApFyAJwMmEuYLmTyR6H60gqHjUur2OBJRgCgtJYe HTqW/PCrB7BiCab2wCCm+wE= =NnYL -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message