Questions tagged [hyphenation]

190 questions
2
votes
1 answer

CSS3 Automatic Word Hyphenation works on FireFox, not on Internet Explorer and Chrome

According to this link not only FireFox but also Internet Explorer should support the use of automatic hyphenation in css/html, however my demo (using the Dutch language, which is supported by IE). SEE MY CSS DEMO where hyphenation does work…
Sam
  • 15,254
  • 25
  • 90
  • 145
2
votes
1 answer

Query string query, infix search does not work with hyphen

Legend: ' is the quotation mark for the better reading of each string value. (star) is * string values like 'Karlsruhe-Durlach', 'Karlsruhe', 'Karlsruhe)Südstadt' and 'München' are stored in elastic search. My problem: A search string like…
Phil
  • 21
  • 1
2
votes
3 answers

Capitalize both parts of a hyphenated word with Rails

I'm trying to capitalize both parts of a hyphenated word with Rails: "hello-world".capitalize # => Hello-world "hello-world".titleize # => Hello World Is there a quick way of doing this? If not then I will write a custom solution, I can figure…
stephenmurdoch
  • 34,024
  • 29
  • 114
  • 189
2
votes
2 answers

In a UILabel, is it possible to force a line NOT to break at slash?

Example: My text is @"This is a great UI/UX feature". A better example: @"5/17 of this quantity". Is it possible to force the line NOT to break at the / (the slash)? I'm looking for a general way of doing, since I have others sentences with…
Colas
  • 3,473
  • 4
  • 29
  • 68
2
votes
1 answer

How can I add soft hyphenation to all words in a file based on locale?

I would like to add hyphenation in a C++ program. I have files of words for each locale. Is it possible to run each file through a program that adds all possible soft hyphenation, maybe via TeX style hyphenation or via some OSX magic? Or is there a…
Anon
  • 51
  • 2
2
votes
3 answers

Stretch overflow not working in excel jasper report

I am trying to export report to Excel (XLSX format) using jasper report, but get problems with stretching when text field is overflow. I get just empty cells when value of textfield is bigger than textfield size. I tried to use these parameters, but…
Pavel
  • 21
  • 1
  • 2
2
votes
1 answer

What does "hyphenation vector" mean?

The Hyphen library seems to be a very popular and free way to have hyphenation in your app. What does hyphenation vector mean? I am running the example attached to the library source code. Example output: hibernate // input word 030412000 //…
fen
  • 9,835
  • 5
  • 34
  • 57
2
votes
0 answers

Polymer: Use Of Hyphenated Parameter Names In Template

Attribute(s) for a polymer element can be defined as attributes="toggle-foo", defaulted within the Polymer definition as 'toggle-foo':false and used elsewhere in the Polymer definition like if( this['toggle-foo'] ){...}. How can hyphenated attribute…
RogerSmith
  • 204
  • 4
  • 11
2
votes
1 answer

Hanging soft hyphens

I found this article about hanging punctuation: http://webdesign.tutsplus.com/articles/getting-the-hang-of-hanging-punctuation--cms-19890 and this link in the comments: http://dabblet.com/gist/9623025 It's a really nice idea, and it would be an…
izabera
  • 659
  • 5
  • 11
2
votes
2 answers

CSS3 hyphens not applied

I'm trying to add automatic CSS3 hyphens to my articles. Problem is the tag doesn't seem to affect the text. I set .entry p { -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } ... but nothing happens. Here's an example…
MultiformeIngegno
  • 6,959
  • 15
  • 60
  • 119
2
votes
2 answers

Renaming an application on web2py with a hyphen

How do I rename an existing application in web2py with a hyphen? For instance, I want to rename the welcome application to my-app. I tried by simply renaming the /applications/welcome folder to /applications/my-app, however, this just removed the…
guaranteed.site
  • 101
  • 1
  • 9
1
vote
2 answers

Regex: Find space before and after hyphenated words

How can I find the space before and after hyphenated words? i.e. "This is my hyphenated-word example test" I need the space between: "my hyphenated-word" and "hyphenated-word example"
AvnerMil
  • 41
  • 1
  • 5
1
vote
2 answers

Hyphenation library doesn't work with iOS 5

I just tried the hyphenate library of Tupil. It was mentioned here http://blog.tupil.com/adding-hyphenation-to-nsstring/. But while it is working perfectly under iOS 4.3, I did not get it to work with iOS 5. Are there any other frameworks I could…
Martin Reichl
  • 932
  • 9
  • 13
1
vote
1 answer

How can I hyphenate words on the fly while displaying text?

I am making an iPad app where I am trying to mimic very closely the look and feel of an existing hard back book. I have the content of the book in digital text, but it contains all of the words, and no hyphens for line breaks. The book I am trying…
Lizza
  • 2,769
  • 5
  • 39
  • 72
1
vote
1 answer

How to remove punctuation within a string?

I am doing text cleaning for my pandas dataframe This is a string from my description column before punctuation is removed: ['dedicated', 'to', 'support', 'the', 'fast-paced', 'technology', 'lifestyle', 'needs', 'of', 'today', '’', 's', 'modern',…
bird
  • 11
  • 3