Montag, 26. Februar 2007

A new version of my Intypo plugin for improved typography in WordPress blog software is available now.

What’s new in Intypo 0.9.0

Intypo is now replacing the original »wptexturize()« function. (Intypo 0.6.4 was post-filtering after texturize.) This avoids unnecessary double replacement.

Just like the original texturize function, Intypo keeps away from <code>, <pre>, <style>, and <script> areas now.

Intypo has several improvements in the regular expressions for much better recognition of quotation marks.

You can now add your own phrases starting with apostrophes to avoid replacement with single quotes.

This »cockney replace« function is now only applied, if the cockney word is followed by a space. This allows phrases which are identical with some word beginnings (e.g. ’t in Dutch or ’ne in German).

Changed usage of m-dashes (as suggested by Till Westermayer), but depending on language style. (If the default english style is selected, two dashes surrounded by spaces are replaced by a m-dash. If a different style is selected, they get replaced by a n-dash. You can still invoke a m-dash by typing three dashes then.)

Reworked admin page, suggesting quote styles depending on the language selected (avoiding the long list of old Intypo) and with a larger preview text for easier recognition of the quotation marks.

Some minor changes which might save some server memory and increase speed.

If upgrading, delete the old intypo.php file from your plugins directoy.

Unpack the downloaded file.

Copy the intypo folder with its two files to your plugins directory, so that the new intypo.php is now located at wp-content/plugins/intypo/intypo.php
and you have the language codes at wp-content/plugins/intypo/language.php

Go to your plugins page and activate Intypo. (This is also necessary if upgrading!)

Go to Options / Intypo page and select the desired style. (You may even select a style from a different language, if you want.

Some examples which did not work with earlier versions of Intypo (and still don’t without Intypo):