Questions tagged [hyphenation]

190 questions
1
vote
1 answer

-webkit-hyphens: auto does not work in Safari if width is set to auto

I have an h3 element of which I don't know its width. Therefore the width is at auto - the default. But I want the text inside of it to have hyphenation. It is in flex container together with a second element. The flex container has a fixed width.…
Juuro
  • 1,487
  • 5
  • 16
  • 27
1
vote
3 answers

CSS: hyphens: auto doesn't work for some words

Can anyone explain why the following snippet won't correctly hyphenate the word "Sustainability"? I tested this in Google Chrome, FireFox and Safari, none of them hyphenates the word, but all of them correctly hyphenate the word "hyphenated". My…
rassoh
  • 545
  • 1
  • 5
  • 21
1
vote
1 answer

Hyphenation for Ancient Greek in R

Is there a way to divide an Ancient Greek text (UTF-8) into syllables in R? I need to count the number of unique syllables in a corpus. I cannot find an algorithm to do so, and the rules are quite complicated to write it from scratch.
1
vote
0 answers

Hyphenation Turn Off in Each Text Shapes MS Publisher

I would like to turn of hyphenation (MS Publisher) in every shape containing a text. I wrote a small code to highlight the text in each shape on each page one after the other: Sub TurnOffHyphenation() Dim pg As Long Dim sp As Long Dim shpAll As…
Yanoush
  • 11
  • 2
1
vote
1 answer

What is the purpose of hyphenated attribute naming and how it works?

I am creating a component (vue 2.6) and just realised that if the attribute class is not hyphenated actually doesn't deliver the string to the component. And other attributes with no hyphenated names do deliver their values. This is how my code…
Radi
  • 23
  • 5
1
vote
1 answer

Control text wrapping and hyphenation in kable tables

I have an Rmarkdown document with embedded tables but I have trouble understanding the underlying rules for text wrapping and hyphenation for the table contents. Searching through stackoverflow and other resources hasn't provided a lot of…
user3900349
  • 55
  • 1
  • 5
1
vote
1 answer

MVC 3 HyphenatedRouteHandler not compatible with Areas and duplicate controller names

I'm fairly new to MVC3, but I've spent quite a bit of time researching this and testing, and I cannot find a solution. There is another similar post on Stack, but it's unanswered after 7 months. The crux is this: If you have areas and controllers…
1
vote
1 answer

NSTextView always uses system language when hyphenating?

It seems to me that English texts will get better hyphenation if the system language in macOS is set to English. Thing is, it is hard to be sure, and restarting with a new system language is cumbersome, so I haven't tested this thoroughly, but I'm…
1
vote
0 answers

Safari hyphenation bug

During one of my latest coding sessions I've encountered a weird problem with hyphenation in Safari browser when selecting text. It only happens to word that is hyphenated but can potentially fit whole on next line. Here is a playground I've…
1
vote
1 answer

Bulk import hyphenation dictionary into InDesign

I’m working on a bringing several large books into a InDesign, that were previously sent in LaTeX. One requirement is that I migrate the hyphenation list/dictionary (close to 1000 words) into InDesign. I know I can manually place a discretionary…
Circle B
  • 1,616
  • 3
  • 26
  • 45
1
vote
1 answer

Is there a way to make correct hyphenation on UITextView/UILabel with text language different than in Settings?

My problem is that I have blocks of texts in different languages in my app, in some languages(hi german) words can be tooo long and I am using hyphenationFactor to have proper layout... But as said in the docs: "This property detects the…
1
vote
3 answers

Convert consecutive comma-separated days into hyphenated day ranges

I am trying to compact an expression of individual days into a shorter expression including hyphen-separate ranges. Examples: mon,tue,wed,thu,fri,satto be:mon-sat mon,tue,wed,fri,satto bemon-wed,fri-sat My coding attempt: function…
Jason
  • 15,064
  • 15
  • 65
  • 105
1
vote
1 answer

Hyphenation algorithm using Bloom filter

A classical example of where Bloom filters shine is in hyphenation algorithms. It's even the example given in the original paper on Bloom filters. I don't understand how a Bloom filter would be used in a hyphenation algorithm. A hyphenation…
aioobe
  • 413,195
  • 112
  • 811
  • 826
1
vote
3 answers

Printing of abbreviations and hyphenated words

I need to identify all abbreviations and hyphenated words in my sentences to start. They need to be printed as they get identified. My code does not seem to be functioning well for this identification. import re sentence_stream2=df1['Open End…
Shraddha Avasthy
  • 161
  • 3
  • 13
1
vote
4 answers

how to use stringWithFormat to dynamically add hyphens into my string

Hi just wondering if it is possible, as the user is entering a string of numbers to dynamically add a hyphen every 5th character of the string... any help would be greatly appreciated.
tinhead
  • 385
  • 2
  • 10
  • 29