You are here: Re: Justify and/or Hyphenate Plain Text « HTML « IT news, forums, messages
Re: Justify and/or Hyphenate Plain Text

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация