Issue 22966 - wrong url hyphenation
Summary: wrong url hyphenation
Status: CONFIRMED
Alias: None
Product: lingucomponent
Classification: Code
Component: other (show other issues)
Version: OOo 1.1 RC5
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 10:38 UTC by ousia
Modified: 2013-02-07 22:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
swx file with the wrong hyphenated urls (6.44 KB, application/octet-stream)
2003-11-29 13:19 UTC, ousia
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ousia 2003-11-28 10:38:03 UTC
Using OOo 1.1 in Linux and Windows I have seen three hyphenation issues that
should be fixed:

The first is that urls aren't properly hyphenated. They shouldn't be hyphenated
as other words, but they must follow different rules. (Just in case it would be
helpful, I think LaTeX uses an url.sty to define this rules.)

I have see that O'Reilly can be hyphenated as O'-Reilly (which is obviously wrong).

The third issue is a tricky question. When printing or generating the pdf output
of a file and depending on the font selected, sometimes they hyphen is too close
to the previous letter. I don't know what is wrong there, but it should be improved.

Thanks for your work,


Pablo
Comment 1 khendricks 2003-11-28 12:51:34 UTC
Hi, 
 
Please split your issues into three separate issues one per issuezilla nunber so that 
they will be properly tracked. 
 
1. improper hyphenation of urls's 
      - use this Issuezilla for this single issue 
      - please be more specific, exactly how are the url's improperly hyphenated. 
      - please provide a sample document that shows this (attach it to this issue) 
 
2. O'Reilly hyphenation issue 
    - create a new issue for this one so that it can be tracked 
 
3. printing or pdf output hyphens too close  
   - create a new issue for this one so it can be tracked 
   - assign it to the gsl (or vcl ) project NOT lingucomponent 
   - attach a sample document, and output including font to the issue 
     so that it can actually be recreated. 
 
Thanks, 
 
Kevin 
 
Comment 2 ousia 2003-11-29 13:19:04 UTC
Created attachment 11624 [details]
swx file with the wrong hyphenated urls
Comment 3 ousia 2003-11-29 13:24:36 UTC
Urls are wrong hyphenated, since words within are handled as single
words and hyphenated as such (see attachment for this).

Url hyphenation should contain no hyphen.

Thanks,


Pablo
Comment 4 khendricks 2003-11-29 14:24:18 UTC
Hi,  
  
Thanks for filing this as a separate issue. 
 
Since URL's can be very very long strings, not hyphenating them at all in a written  
document makes little sense.   There must be rules someplace that describe the 
conditions under which the words in a URL may be hyphenated (as used by 
newspapers and others).  Perhaps only the the "." which describe the domain name 
of the machine? 
  
Can you please provide a citation to a grammar reference work or style guide  
reference work that says hyphenation must not be done in written URLs?  
 
Thanks, 
  
Kevin  
  
  
Comment 5 ousia 2003-12-31 18:14:19 UTC
Since the url hyphenation seems to be so complicated, I think the best
solution would be to improve a dialog in OOo options, that allows the
user to determine how urls are to be hyphenated in his/her documents.

It should contain the following options:

-whether to hyphen urls or not,
-whether to use hyphen as separator, other character or none at all,
-whether to hyphen words or not,
-whether to hyphen before or after which characters (slash and points).

I think that this is something essential that has to be improved, since
many important documents (such as resumes) contain urls.