Montag, 26. Februar 2007

Intypo 0.9.0 released

Darius 18.54 Uhr Filed under: IntypoMy WebLab

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.
  • Filter is now beeing applied to »category_description«, »list_cats«, »comment_author«, »comment_text«, »single_post_title«, »the_title«, »the_content«, »the_excerpt«, and »bloginfo«.

Installation and upgrade instructions:

  1. Download Intypo from my downloads page.
  2. If upgrading, delete the old intypo.php file from your plugins directoy.
  3. Unpack the downloaded file.
  4. 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
  5. Go to your plugins page and activate Intypo. (This is also necessary if upgrading!)
  6. 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):

  • Dutch: Jeroen in ’t Veldt
  • German: »Gib mir mal ’nen Besen!«
  • English: You may download Intypo (»here«).

1 Kommentar »

  1. Hab’s erst jetzt gesehen – und sofort geupdated, funktioniert wunderbar. Klasse!

    — Comment by Till Westermayer am Donnerstag, 9. August 2007 um 23.30 Uhr

RSS feed for comments on this post. TrackBack URL

Leave a comment