View Issue Details

IDProjectCategoryView StatusLast Update
0000975luatexfeature requestpublic2016-06-07 08:50
ReportererouxAssigned ToHans Hagen 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformallOSallOS Version
Product Version0.87.0 
Target VersionFixed in Version0.96.0 
Summary0000975: adding hmcount (hyphenationmincount)
DescriptionSome combinations of characters should count as 0 or 2 when counting characters for \hyphenationmin, \lefthyphenmin and \righthyphenmin. This would solve two problems:

- in latin <œ,U+0301> (œ́) should count as one, not two
- in latin, optionally, œ and æ could count as 2
Additional InformationIdeally, the attribute would be an attribute to the characters in a particular language, like \uccode and \lccode. In this approach, we would have something like

    \hmcount 301 0
    \hmcount œ 2
    \hmcount æ 2

that would be saved by \savinghyphcodes.

But in a first step, I think it would be quite straightforward to make it a glyph node attribute that would have to be set by the user in a callback, and that would modify the way \righthyphenmin, \lefthyphenmin and \hyphenationmin count the characters. I've looked at the code that does it, and it seems quite easy... What do you think?
TagsNo tags attached.

Activities

Hans Hagen

2016-05-26 18:30

manager   ~0001609

hmcounts would add a lot of overhead and there is no end to such additional features (in fact, the leaner and meaner the better); see post to mailing list for suggested alternative approach

Hans Hagen

2016-06-07 08:50

manager   ~0001610

extended hjcodes can do this

Issue History

Date Modified Username Field Change
2016-05-26 14:44 eroux New Issue
2016-05-26 18:30 Hans Hagen Note Added: 0001609
2016-06-07 08:50 Hans Hagen Note Added: 0001610
2016-06-07 08:50 Hans Hagen Status new => closed
2016-06-07 08:50 Hans Hagen Assigned To => Hans Hagen
2016-06-07 08:50 Hans Hagen Resolution open => fixed
2016-06-07 08:50 Hans Hagen Fixed in Version => 0.96.0