Provides automatic soft-hyphen insertion using the phpHyphenation library
Please, note that this Plugin requires PHP 5!
The plugin registers hooks for the RENDERER_CONTENT_POSTPROCESS
event and runs hyphenation over the text. DokuWiki caches the result so this process should run only once per change of a wiki page. So you might have to clear your cache to see the new soft-hyphens!
For hyphenation it uses the phpHyphenation library which makes use of the TeX-algorithms which are considered the best available. The language for hyphenation can be set in the Configuration Manager. The libary is able to also hyphenate Dutch, French, German, Spanish and Swedish.
Since this plugin breaks other plugins and renders other contents empty, I use CSS3 hyphenation instead as described in https://css-tricks.com/almanac/properties/h/hyphenate/. I edited my theme's design.css to
* { hyphens: auto; };
and removed the hyphenation plugin.
or ·
and transforms them to &nb­sp;
and &mid­dot
Hello, I have a fatal error, maybe due to the restrictie php settings of my provider cwcity. Fatal error: Call to undefined function mb_split() in /home/www/cwcity/hosting/r/o/roomsixhu/htdocs/lib/plugins/hyphenation/phpHyphenation/phpHyphenation.class.php on line 142
I removed it