The German (and probably other languages’) typographical rules demand that a half-space is used in abbreviations. E. g., the space between the period after “E” should be a half-space. In HTML, this could be rendered as unicode THIN SPACE (#8201). As this is a not non-breaking character, the whole abbreviation should optionally be wrapped with white-space:nowrap

I am building a input filter for a customer right now that adds the above refinements to his drupal site. Is someone working on implementing this within the Typogrify project? If not, I can offer a patch as soon as I’m done here.

Comments

holydrupal’s picture

Half-space is used by Persian and Arabic users.
This is an old topic, I am not sure whether you have implement half-space in this module or not?
I don't see this feature in Typogrify feature list. Does anyone aware of this issue?
Sample Code

[HTML] E.‏g
[/HTML]
mikl’s picture

I haven't heard of anyone working on this, so a patch would be most welcome – although it should be an optional feature.

holydrupal’s picture

The module for Wordpress is available:
http://www.wordpress-plugin.org/plugin/replacing-half-space-plugin-2/

Hope to see it in Drupal soon.

migmedia’s picture

Assigned: Unassigned » migmedia

Can someone provide a rule for abbreviation-recognizing?
Imho searching for /(\s+\.)+/ is sufficient. (Examples: http://de.wiktionary.org/wiki/Kategorie:Abk%C3%BCrzung_(Deutsch) )

I like the idea and am willing to add it to this input-filter for the 7.x-branch.

Micha

migmedia’s picture

Status: Active » Fixed

Implemented in 7.x-1.x will be included in 7.x-1.0-rc3

Micha

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.