This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Revisited JadeTeX problem: ULINKs extend out of the page margins
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Revisited JadeTeX problem: ULINKs extend out of the page margins
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Thu, 9 Mar 2000 22:44:07 +0000 (GMT)
- References: <Pine.LNX.4.21.0003091645390.24634-101000@pc96.ma.rhbnc.ac.uk>
- Reply-To: docbook at lists dot oasis-open dot org
Simos Xenitellis writes:
> This is a very nice and long URL that does not respect margins. It's
> <ULINK URL="http://www.myverybigdomain.co.uk/sites/ftp.mydomain2.com/more/and/more">here to stay</ULINK>.
> </PARA>
> --------- end of test.sgml -----
>
> when passed through db2dvi it generates the attached .dvi file.
> The URL points way out of the margins.
The trouble is that I have no way of knowing that your URL is a URL,
when it reaches TeX. And TeX, normally, does know how to
hyphenate/break-up a strange word like
"http://www.myverybigdomain.co.uk/sites/ftp.mydomain2.com/more/and/more".
Normal LaTeX users would wrap the creature in a special macro which
knows how to break up URLs (eg the url.sty package), but I cannot do
that because Jade gives me no clues that it *is* a url.
In the same way, section headings, if they are to appear in eg a
PDF bookmark, have to use a Jade extension to pass clues to
jadetex. Links could do something similar.
I am sorry, but I don't see a simple solution. You need to load some
hyphenation patterns that would let TeX deal with the weird word, or
identify it as a url to jadetex
sebastian