diff -urp --strip-trailing-cr ../texy/INSTALL.txt ./INSTALL.txt --- ../texy/INSTALL.txt 2007-08-15 13:13:35.000000000 +0200 +++ ./INSTALL.txt 2008-02-15 21:53:26.000000000 +0100 @@ -1,17 +1,16 @@ Installation ----------------------------- 1) Extract the 'texy/' directory from inside the module package to the - 'sites/all/modules/' directory of your Drupal installation. + 'sites/all/modules/' directory of your Drupal installation. This package + includes also the needed Texy! library, and auto-detects the correct + version, so no additional downloads needed. But however, you might want + to check the official website http://texy.info/en/download for possible + updates (replace files inside the 'sites/all/modules/texy/texy' + subdirectory). -2) Download the Texy! library from its website: http://texy.info/en/download - (see release notes at the module page to find out which version is required). +2) Enable the module at admin/build/modules. -3) Extract the contents of the 'texy-*/texy/' subdirectory into Drupal's - 'sites/all/modules/texy/texy' subdirectory. - -4) Enable the module at admin/build/modules. - -5) Create a new data format at admin/settings/filters/add and assign the Texy! +3) Create a new data format at admin/settings/filters/add and assign the Texy! filter to it. Give your users permission to use the new format. You're done! diff -urp --strip-trailing-cr ../texy/texy.module ./texy.module --- ../texy/texy.module 2008-01-06 13:08:39.000000000 +0100 +++ ./texy.module 2008-02-15 21:45:26.000000000 +0100 @@ -214,8 +214,8 @@ function _texy_get_object() { $module_path = drupal_get_path('module', 'texy'); // include proper version of Texy! library - if (version_compare('5.0.0', PHP_VERSION, '<=')) { - // for PHP5 + if (version_compare('5.0.0', PHP_VERSION, '<=') && function_exists('iconv')) { + // for PHP5 (also requires iconv) require_once $module_path . '/texy/texy.compact.5.php'; } else {