6 Replies Latest reply on Aug 14, 2007 9:31 AM by Newsgroup_User

    Hyphenation

    Level 7
      I have searched help as well as the preferences section of DW CS3, but
      can not find any information on hyphenation. Can DW CS3 be set to
      automatically hyphenate words.

      Actually, as I think about it just now, the answer seems to be - of
      course not. Hyphenation would need to be a function of the browser,
      wouldn't it?

      Do any browsers hyphenate? Is this part of the html spec?

      Thanks,
      Harvey
        • 1. Re: Hyphenation
          Level 7
          On Sat, 11 Aug 2007 11:30:07 -0400, eclipsme <none@nowhere.com> wrote:

          >I have searched help as well as the preferences section of DW CS3, but
          >can not find any information on hyphenation. Can DW CS3 be set to
          >automatically hyphenate words.
          >
          >Actually, as I think about it just now, the answer seems to be - of
          >course not. Hyphenation would need to be a function of the browser,
          >wouldn't it?
          >
          >Do any browsers hyphenate? Is this part of the html spec?
          >
          >Thanks,
          >Harvey

          All the information you might need from w3 site

          http://www.google.com/custom?q=hyphenation&sa=Go&cof=T%3Ablack%3BLW%3A72%3BALC%3A%23ff3300 %3BL%3Ahttp%3A%2F%2Fwww.w3.org%2FIcons%2Fw3c_home%3BLC%3A%23000099%3BLH%3A48%3BBGC%3Awhite %3BAH%3Aleft%3BVLC%3A%23660066%3BGL%3A0%3BAWFID%3A0b9847e42caf283e%3B&sitesearch=www.w3.or g&domains=www.w3.org
          --

          ~Malcolm N....
          ~
          • 2. Re: Hyphenation
            Level 7
            No. Yes. No. No. 8)

            --
            Murray --- ICQ 71997575
            Adobe Community Expert
            (If you *MUST* email me, don't LAUGH when you do so!)
            ==================
            http://www.dreamweavermx-templates.com - Template Triage!
            http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
            http://www.dwfaq.com - DW FAQs, Tutorials & Resources
            http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
            ==================


            "eclipsme" <none@nowhere.com> wrote in message
            news:f9kkmd$c1i$1@forums.macromedia.com...
            >I have searched help as well as the preferences section of DW CS3, but can
            >not find any information on hyphenation. Can DW CS3 be set to automatically
            >hyphenate words.
            >
            > Actually, as I think about it just now, the answer seems to be - of course
            > not. Hyphenation would need to be a function of the browser, wouldn't it?
            >
            > Do any browsers hyphenate? Is this part of the html spec?
            >
            > Thanks,
            > Harvey


            • 3. Re: Hyphenation
              Level 7
              .oO(eclipsme)

              >Actually, as I think about it just now, the answer seems to be - of
              >course not. Hyphenation would need to be a function of the browser,
              >wouldn't it?

              It should be, yes.

              >Do any browsers hyphenate? Is this part of the html spec?

              Nope, unfortunately. But there are still some things you could do:

              You can manually use soft hyphens in long words to tell the browser
              where it might break a word if necessary. These soft hyphens are
              supported in most modern browsers, even in upcoming Firefox 3 - it just
              took 8 years for the Mozilla team to fix that ...

              https://bugzilla.mozilla.org/show_bug.cgi?id=9101

              Even Google now seems to properly handle it, so IMHO its use can be
              considered safe. There are still some drawbacks, though, especially with
              most browser's internal page search functions - they won't find words
              with soft hyphens. But IMHO that's just a minor problem.

              For more informations about &shy; see

              Soft hyphen (SHY) – a hard problem?
              http://www.cs.tut.fi/~jkorpela/shy.html

              One of the most famous algorithms for automatic hyphenation is the one
              developed by Frank Liang, which is used in the popular TeX typesetting
              system and many other software products. There are a lot of different
              implementations available in various languages.

              http://en.wikipedia.org/wiki/Hyphenation_algorithm

              You could use one of them in your favourite scripting language to
              perform server-based hyphenation. I've played around a bit with it in
              PHP, but currently I don't use it, mostly for performance reasons.

              Another - not really usable, but at least very interesting - approach is
              the implementation of the aforementioned algorithm in JavaScript in
              conjunction with &shy;, as seen on this (mostly) German page:

              http://www.mnn.ch/hyph/silbentrennung1.html

              Be aware that this solution requires a lot more CPU power and really
              slows down the page rendering. On my 1.2GHz machine it takes several
              seconds just for the hyphenation, but the result is quite nice (change
              the width of your browser window to see it in action).

              After all it's a difficult, but interesting issue.

              Micha
              • 4. Re: Hyphenation
                Level 7
                Michael Fesser wrote:
                > .oO(eclipsme)
                >
                >> Actually, as I think about it just now, the answer seems to be - of
                >> course not. Hyphenation would need to be a function of the browser,
                >> wouldn't it?
                >
                > It should be, yes.
                >
                >> Do any browsers hyphenate? Is this part of the html spec?
                >
                > Nope, unfortunately. But there are still some things you could do:
                >
                > You can manually use soft hyphens in long words to tell the browser
                > where it might break a word if necessary. These soft hyphens are
                > supported in most modern browsers, even in upcoming Firefox 3 - it just
                > took 8 years for the Mozilla team to fix that ...
                >
                > https://bugzilla.mozilla.org/show_bug.cgi?id=9101
                >
                > Even Google now seems to properly handle it, so IMHO its use can be
                > considered safe. There are still some drawbacks, though, especially with
                > most browser's internal page search functions - they won't find words
                > with soft hyphens. But IMHO that's just a minor problem.
                >
                <snip>
                >
                > Micha

                Thanks, Micha. This at least took care of the problem in IE, but as you
                say, FF still does not hyphenate (as I just learned). Strange!

                Harvey
                • 5. Re: Hyphenation
                  Level 7
                  Michael Fesser wrote:

                  > .oO(eclipsme)
                  >
                  >
                  >>Actually, as I think about it just now, the answer seems to be - of
                  >>course not. Hyphenation would need to be a function of the browser,
                  >>wouldn't it?
                  >
                  >
                  > It should be, yes.
                  >
                  >
                  >>Do any browsers hyphenate? Is this part of the html spec?
                  >
                  >
                  > Nope, unfortunately. But there are still some things you could do:
                  >
                  > You can manually use soft hyphens in long words to tell the browser
                  > where it might break a word if necessary. These soft hyphens are
                  > supported in most modern browsers, even in upcoming Firefox 3 - it just
                  > took 8 years for the Mozilla team to fix that ...
                  >
                  > https://bugzilla.mozilla.org/show_bug.cgi?id=9101
                  >
                  > Even Google now seems to properly handle it, so IMHO its use can be
                  > considered safe. There are still some drawbacks, though, especially with
                  > most browser's internal page search functions - they won't find words
                  > with soft hyphens. But IMHO that's just a minor problem.
                  >
                  > For more informations about &shy; see
                  >
                  > Soft hyphen (SHY) – a hard problem?
                  > http://www.cs.tut.fi/~jkorpela/shy.html
                  >
                  > One of the most famous algorithms for automatic hyphenation is the one
                  > developed by Frank Liang, which is used in the popular TeX typesetting
                  > system and many other software products. There are a lot of different
                  > implementations available in various languages.
                  >
                  > http://en.wikipedia.org/wiki/Hyphenation_algorithm
                  >
                  > You could use one of them in your favourite scripting language to
                  > perform server-based hyphenation. I've played around a bit with it in
                  > PHP, but currently I don't use it, mostly for performance reasons.
                  >
                  > Another - not really usable, but at least very interesting - approach is
                  > the implementation of the aforementioned algorithm in JavaScript in
                  > conjunction with &shy;, as seen on this (mostly) German page:
                  >
                  > http://www.mnn.ch/hyph/silbentrennung1.html

                  The German language needs hyphenation....
                  YouknowwhatImean?
                  Mick



                  >
                  > Be aware that this solution requires a lot more CPU power and really
                  > slows down the page rendering. On my 1.2GHz machine it takes several
                  > seconds just for the hyphenation, but the result is quite nice (change
                  > the width of your browser window to see it in action).
                  >
                  > After all it's a difficult, but interesting issue.
                  >
                  > Micha
                  • 6. Re: Hyphenation
                    Level 7
                    .oO(Mick White)

                    >Michael Fesser wrote:
                    >
                    >> http://www.mnn.ch/hyph/silbentrennung1.html
                    >
                    >The German language needs hyphenation....
                    >YouknowwhatImean?

                    Yep, I know. ;)

                    Micha