Re: hyphenator-Project &column.sort

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

On 23 Jul 2005, at 1:03, Antonio Alessi wrote:

> 
> 
> posted by: Antonio Alessi <a.admin at myway.it>
> 
> Kat wrote:
> > 
> > On 22 Jul 2005, at 11:58, Antonio Alessi wrote:
> > 
> > > 
> > > posted by: Antonio Alessi <a.admin at myway.it>
> > > 
> > > Hi there Al,
> > > 
> > > here I am again, after a very busy period. Well, is it too late to
> > > clarify?
> > > If you have no more time at the moment don't worry.
> > > 
> > > The sort problem is not a primary need: it deals with the idea of
> > > repeating
> > > on startup of the prog. the same Sort situation left on exit.
> > > 
> > > This is based on a premise: the hyphenator-Pro program is built for to
> > > hyphenate all the web pages of a site.
> > 
> > That is a lot of & shy ; !! How much bigger is the webpage after total 
> > hyphenation?
> > 
> > Kat
> > 
> > 
> 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 &shy;. 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).

> Your question may be set in two terms then:
> 
> 1. too many &shy; make the document heavier on the net
> 2. too many &shy; for to edit the document
> 
> (1) For the first, if you watch certain pages automatically generated by
> various
> softwares you find such a redundancy of instructions as to make this problem
> disappear. The most typical example is the thoughtless repetition of &nbsp; to
> overwhelm white spaces, which could be defined by simple <pre></pre> with
> normal
> white spaces inside. Another is the useless use of long tags, which most times
> could be replaced by shorter ones; see <DIV></DIV> instead of <BR> and so on,
> for not to mention the indentation spaces left into the files.

When i was on dialup, i used remote http shells running php to edit my 
browsing before sending it to me. Only very basic html tags would not be 
stripped out of the pages. I am on dsl now, and don't care too much about 
page sizes.

> (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 &shy; 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 &shy; 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 &shy;. 
Plain text can be made &shy; 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 
&shy; 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.

> Finally, should this represent a true problem in special cases, the &shy;
> 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.

Did Apple fix the &shy; bug in Mac OS ?

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu