Questions tagged [hyphenation]

190 questions
0
votes
0 answers

Solr results show hyphenated words first

I have following problem: I search for term and get results. Everything is fine. If a term exists as a hyphenated word in solr index, then the result containing this word will always get a higher score/ will be shown on the top of results. I have…
0
votes
2 answers

Break on hyphen instead of overflowing

I have a text inside a div with a hyphen in it. When the div gets too small, the text overflows instead of breaking at the hyphen. I tried a bit with word-break and overflow, but couldn't figure out how to make the text break only at the hyphen.…
user4493177
  • 750
  • 11
  • 32
0
votes
1 answer

Solr and hyphenated numbers

I have a number with hyphens 91-21-22020-4. My problem is that I would like hits even if the hyphens are moved within the number string. As it's now 912122020-4 will give one hit but 91212202-04 will not? The debug info looks like: "debug":…
0
votes
0 answers

Howto hyphenate the caption of a WinForms button

I have a fairly complex form with square buttons labeled in German language. There is not enough space on the buttons for the whole text so the designer would split it somewhere into a second line when it runs out of space. Unfortunatelly in German…
pb_SKAT
  • 163
  • 2
  • 14
0
votes
1 answer

Iterate over a text file having hyphenated three different fields on each line and return third field to a query matching the first two?

I have a text file with about 100 lines of data arranged in this order: Aesop – Aesop’s Fables – example.com Sherwood – Winesburg – example.com Lysistrata – Holyland – example.com Isaac – Nightfall – example.com Asimov – The Foundation Trilogy –…
Martin
  • 3
  • 2
0
votes
1 answer

Itext hyphenation in Table cells

I´m creating a table using iText. But the output looks really bad, because of the hyphenation, which seems not to be done properly. I allready read this question How to hyphenate text? and this example…
moli
  • 24
  • 4
0
votes
2 answers

Entity codes and the lang attribute: should I use both?

I am writing a markup document in Finnish. I'm using the lang="fi-fi" attribute. Am I supposed to use the markup entities (ä for ä etc.) in conjunction with the language attribute, or is using the language attribute alone sufficient? How do the…
0
votes
1 answer

Is there a way to extract single lines from a `

Look at this
-Element:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque pena­tibus et magnis dis parturient montes, nascetur ridiculus…
Hubert Schölnast
  • 8,341
  • 9
  • 39
  • 76
0
votes
0 answers

TeX hyphenation patterns

Does anyone have a clue on how these hyphenation patterns in Tex are built created and how they work? For instance, there is a word in Dutch "Praktijkuren" that's being hyphened to "Praktij-kuren" while it should be "Praktijk-uren". The only Dutch…
Léon
  • 445
  • 2
  • 5
  • 15
0
votes
1 answer

Add soft hyphens in a CMS: getting it to work in Chrome

­ is awesome, especially because it works in all popular browsers. You put it in the middle of a word, which tells the browser that the word may be broken in that place. If it does get broken there, a hyphen appears. If it doesn't, the character…
0
votes
2 answers

Rails Hyphen in form_for

In the below form I need the :data_progression to be data-progression in the HTML. Hyphen instead of underscore. How do I achieve this? Have looked around but haven't come across a clear explanation. <%= form_for @contact_form, :html => {:id =>…
user2085143
  • 4,162
  • 7
  • 39
  • 68
0
votes
1 answer

How to use ­ and the CSS "hyphens" property together?

I'm using the hyphens property of CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens Mozillas documentation says: Suggested line break opportunities, as covered in Suggesting line break opportunities, should be preferred over…
Juuro
  • 1,487
  • 5
  • 16
  • 27
0
votes
1 answer

How do I get hyphens in my attribute names in Flex?

Flex has an issue with hyphens in xml. I need to generate an xml object with hyphens in the attribute for a Google Checkout implementation. I can get away with: var xml:XML = ; and var xml:XML =
JLeonard
  • 8,520
  • 7
  • 36
  • 36
0
votes
4 answers

text hyphenation within a html button

I have a Button with a fixed width. Within this button there is a tag with the name in it. The name is variable and it can be longer than the width of the button. When viewed in a browser, the longer text doesn't fit in the button. Is there a…
user2355509
  • 1,973
  • 2
  • 14
  • 11
0
votes
1 answer

Unsuccesfully trying hyphenate text in Sencha panels

I'm working on an ebook that has its pages spread in panels in Sencha Touch 2 and having a bad time trying to hyphenate the paragraphs in the panels. I've tried Hyphenator.js and CSS3 hyphenation without any luck. Same code in html outside the…
1 2 3
12
13