chals, thanks for the bug report (and sorry i missed you online
yesterday)

Line breaking and line-justification the smooth right text margin are
determined by latex/texlive according to parameters it is given. The
trick for us is to come up with a (generic) solution that works decently
over as wide a body of documents as possible. To decide line-breaking,
LaTeX uses: (a) the language setting; (b) a "sloppy" value; (c)
additionally provided hyphenation points. There may be additional
things, and I am not necessarily using the right LaTeX terminology.

(a) the language setting (provided and) is almost certainly not relevant
in this case.

(b) The "sloppy" value, gives the degree of flexibility in spreading
words along the line to have a flush right margin. (In very the worst
case (i can imagine) you might have two short words, one at the start of
the line the other at the end; the more words that fit neatly with the
optimum spacing the cleaner the text.) Here there is scope for problems
to arise as they have in your text. The "sloppy" value has already been
increased considerably above the default acceptable value. Increasing it
even more may solve the problem, but could also result in generally less
(or unattractive) spacing to achieve justification. Some options are (i)
to increase the value generally; (ii) to increase the value for the
landscape column text where there is less space in which latex can find
a convenient break-point; (iii) provide a header option in sisu where an
alternative value may be passed to LaTeX for a given text.

(c) Line break-points could be added for directory paths on for example
forward slash and hyphens. This would result in more frequent breaks on
directory paths, and some ambiguity in interpreting path re. the hyphens
used, whether to add them in making up the path or not. (I believe sisu
currently provides such breaks for urls though, because they are often
even longer than directory paths (and even more frequently created
problems), and in that case the link is provided)

I will experiment a bit more with the tweaking of sloppy values.
Feedback is also welcome if there are promising alternatives to the
current settings. As said, this is unlikely ever to work in all cases
(with a generally acceptable presentation). Also opinions on (sisu)
providing hyphenation points (to LaTeX) for directory paths (something
that has been deliberately avoided so far) is welcome. Any attempt at an
improved solution will take some time.

Thanks,
Ralph

P.S. (thanks for your previous informal bug-report, received through Ben
Armstrong (on irc), about pdf output crashing where a name-tag is not
found. It resulted in a couple of solutions to the problem, one of them
implemented so far.)

-- 
Ralph Amissah (ralph on irc.oftc.net)
GPG fp: A5F9 C48C 4059 B688 6CC5  7A42 6F78 18A9 B98F 62B1 *
GPG fp: 9267 6F8D E64B CD4B 4880  482E E4AF EBC6 1BB4 B289

Attachment: signature.asc
Description: Digital signature

Reply via email to