|
Posted by rossz on 11/17/03 11:29
Roy Schestowitz wrote:
> This may be somewhat unrelated to this group, but I can't think of where
> else it fits. Is it possible to take text such as the text I am composing
> at the very moment and then, given some value of width, fit it to a rect-
> angular block where both justification (using space insertion) and hyphe-
> nation (a la LaTeX) are determined wisely? I can think of possible
> issues such as spellchecking and indexing, but they don't appear to deter
> me much.
Automagically, not really. You can manually insert the soft hyphen
(­) into your document. IE and Opera support it, Firefox as of 1.04
does not. I have not tested it on a recent version of Firefox.
It is conceivable to write a script (perl or php) that takes text input
and spits it out with soft hyphens embedded. I remember there being
some basic rules for hyphenation, with a small list of exceptions for
words that did not fit into the rules.
--
Rossz
God kills a kitten each time someone uses Internet Explorer
Navigation:
[Reply to this message]
|