Re: hyphenator-Project &column.sort

new topic     » goto parent     » topic index » view thread      » older message » newer message

>> Hi Kat,
>> 
>> There must be reasons for which this function has not been implemented until
>> now, but the Web pages layout in most cases is bad enough to require
>> adjustment.
>
>Your idea is interesting. I agree many pages need some adjustment like the 
>hyphenation, and i am thinking it was too much trouble to edit and manually 
>add all the ­. But i can write a script to add them on the server 
>automatically with php, or with Euphoria on the home/business computer 
>before upload (the best way).

I'm sure you could do it, this idea was my starting point too; however I do not
see so much difference between a Euphoria script and an Euphoria program; that's
what I have done, trying to complete the job with some features useful to users
who want to watch inside the code before uploading, test or refine some details
and handle the whole project. The editor is an add-on, since with the
hyphenator-Pro entire existing sites can be hyphenated/un-hyphenated with a few
clicks, without opening the pages into any window.

However I met a problem in my experience: the use of algorithms for hyphenation
is far from being "sure", from the Language correctness point of view; many
different rules are applied everywhere for the same words, which cannot be put
under control of a single routine.
It deals with the comparison between Culture and Technology, which not always
get along.
Not all on the Web arises for lasting little time, so, as long as the first is
earning space, I believe in dictionaries and well finished texts. Many
specialized fields need custom dictionaries then.
Besides the hyphenator-Pro no matter from which tool a document has been
created: it should generally work on the HTML pages, mails, news as well as RTF
documents, Helps etc..

>> Your question may be set in two terms then:
>> 
>> 1. too many ­ make the document heavier on the net
>> 2. too many ­ for to edit the document
>> ..
> 
 
>> (2) As to the second, this is just the reason of my job: make the whole
>> process
>> "transparent", allowing to hyphenate the finished page as well as to
>> normalize
>> it before any update, just with a click. In one optional editor's view the
>> hyphenate symbol ­ is replaced by a mid-dot which let the text perfectly
>> readable to the webmaster. The matter is complex enough to show that
>> programming
>> is not only the assemble of appropriate intructions, but the choice of proper
>> approaches to facilitate the interactions between mind, fingers and eyes.
>> Refer
>> to the: 
>> 
>> http://hyphenator.myway.it/newspaper_layout.htm#Our_efforts
>> 
>> for more details, and browse the examples to evaluate if all these ­ are
>> worth. Should you find any Language [but not only] mistake plase, let me
>> know.
>
>I think you do not need the human editor/writer to add any dot or ­. 
>Plain text can be made ­ automatically with ooeu (or Euphoria or php or 
>other) script. I see some pages people do not want hyphenated or 
>wordwrapped, and they use   for spaces, and they would not want the 
>­ added. Mirc uses 160 also, to control wordwraps and common space 
>(ascii 32) line breaks. Many ircd now disallow 160 in channel names, nicks, 
>and server commands.

As above, no need of an editor to hyphenate and no need to hyphenate everything.
Portion of text to hyphenated can be set inside the HTML once for all (the
editor may help in that).
What I answered was that into the editor a user can see the hyphenated HTML code
with legible dots instead of ­
Hy·phen·a·tion instead of Hy­phen­a­tion makes a lot of difference.

>> Finally, should this represent a true problem in special cases, the ­
>> symbol
>> can be replaced by the proper "-" character (#AD = hyphen, not the minus sign
>> #2D), which is recognized by most environments and [as a suggestion of mine
>> to
>> Rob Craig] should be adopted into the Euphoria as the standard Escape
>> character
>> \- together with the \n, \t etc., as a further feature of the language. Note
>> that the RichEdit itself is able to handle it and, if you copy/paste a text
>> from
>> an [Outlook] hyphenated mail message, you will get these symbols too,
>> premised
>> that your editor can show or hide them.
>
>I agree, the minus sign can confuse automatic readers, especially when 
>someone made a plain text page and used minus signs to hardcode the 
>word wrap, so when made into html page without the <pre></pre> the words 
>might look like " hy - phenation " in the middle of a line, making 
>comprehension difficult and take more time.

The minus sign remains visible anyway according to its function, which is not to
hyphenate one word; the hyphen is not normally visible.

>Did Apple fix the &shy; bug in Mac OS ?
Sorry, I don't know, don't use the Apple.

Antonio Alessi

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu