Karakas Online

7.2.7. Hyphenation

If pdfjadetex encounters a word it does not know how to hyphenate, the word is skipped! In the following example from Customizing Document Production, the french words savoir or évolution were problematical.

The error log file contained the following lines:

Overfull \hbox (3.64668pt too wide) in paragraph at lines
249?256 \T1/ptm/m/n/11 plusiers resources liées á linux-mandrake. Si vous souhaitez en savoir

This message tells us that pdfjadetex does not know how to hyphenate savoir, consequently it is skipped. In order for pdfjadetex to correctly format lines, we must ensure that hyphenation is explicitly activated using the command \def\Hyphenate{1 } in jadetex.cfg and, in addition, that the text is justified (\def\Quadding{justify}). But, in addition, we must explicitly set the language in order to activate the correct hyphenation module (with \def\Language{UK}).

Internet addresses can become quite long, even longer than a single line. jadetex doesn't hyphenate them properly. Actually, no hyphenation rule prevents it from inserting a hyphen after the double slash. The url package was developed by Donald Arseneau to solve these problems. To use it, you must tell jadetex to load it. You do this by inserting the following in the jadetex.cfg file (see Section 4.4 and Section 7.2.12 for more on jadetex.cfg):

\usepackage{url}

We must also ensure that openjade properly transforms the <ulink> and <filename> elements into jadetex commands. See Section 7.2.10 for more on this.

Last updated Mon Sep 24 01:19:25 CEST 2007 Permalink: http://www.karakas-online.de/mySGML/explain-hyphenation.html All contents © 2002-2007 Chris Karakas