Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-25 17:22:18

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Polytonic support for Textpattern

Historians, linguists, teachers, students, Bible lovers and editors of the “Estia” newspaper, all rejoice: “Extended Greek” support (AKA polytonic) is here at last:

  1. Make sure you have a Polytonic font like Gentium, Athena or Arial Unicode MS,
  2. upgrade your Textpattern installation to revision 840 revision 842 or newer, and
  3. -replace the file i18n-ascii.txt of your distribution with this one

This will enable Textpattern to transliterate polytonic titles to greeklish in title URLs.

Thanks to Konstantinos Pistiolis for his help. Developers, please make step 3 redundant by including the file in the official distribution.

Last edited by Etz Haim (2005-08-25 22:30:28)

Offline

#2 2005-08-25 22:16:30

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Polytonic support for Textpattern

Ok, I added them, now I want to see a site that’s actually using them. ;)

Offline

#3 2005-08-25 22:21:49

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: Polytonic support for Textpattern

This is a historical moment: A dream has come true, and Textpattern is the first CMS to support polytonic!

TXP polytonic in action: http://www.agitprop.gr/test/

Offline

#4 2005-09-08 15:37:39

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: Polytonic support for Textpattern

I have been waiting for a CMS system to have proper unicode support for ages… what happens if you mix the polytonic Greek with, say Chinese or other Unicode scripts?

Hmm, I should not rejoice so much. As I see now, in IE boxes appear…
I know this is somehow IE’s fault but other sites do display polytonic Greek properly even in IE – see for example the text at the bottom at http://www.stoa.org/unicode/

Offline

#5 2005-09-08 15:52:30

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: Polytonic support for Textpattern

Spiros, use firefox and not IE. The reason IE fails is because I haven’t configured the right order of fonts in the CSS file, eg:

<code>
body {
font-family: Gentium, Athena, Arial Unicode MS, and the rest… ;
}
</code>

because putting the above in the default CSS would affect my live site. But I’ve told you so.

Firefox, on the other hand, solves this problem by sustituting the missing polytonic glyphs from other fonts.

Should you modify your CSS code as described above, all your problems will disappear. And if you default to a typeface such as Gentium, you’ll be able to mix all sorts of different scripts in one page, even with a crappy browser such as IE.

Offline

#6 2005-09-09 17:45:55

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: Polytonic support for Textpattern

Dear Etz (?),

I have been using Firefox for ages; I am not personally concerned about that, I am concerned for others. Let’s face it, most of the folk out there use IE so if they see something that does not display properly, this is the end for them.

Sorry, I just noticed that you mentioned about the CSS.
In your CSS I see a font entry but not a font-family one. I assume this is the one you refer to:

body
{ margin: 0; padding: 0; font: 12px/1.5 “Lucida Grande”, Verdana, Helvetica, Sans, sans-serif; line-height: 1.5em; color: white; background: #000; position: relative; min-height: 100%;
}

Offline

#7 2005-09-09 18:57:56

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: Polytonic support for Textpattern

By the way, I have upgraded to the latest version and used the appropriate font in the style sheet but still I get boxes in IE. What am I doing wrong?

Edit: I found the solution. I had to change all the Georgia occurences as well as some other font occurences in the style sheet so that it displays OK in IE.

YES, THIS IS SOMETHING TO CELEBRATE FOR!!!!
CONGRATS TO THE DEVS!

http://www.translatum.gr/txp/

body { margin: 0; padding: 0; font-size: 62.5%; /* Resets 1em to 10px */ font-family: Gentium, Athena, Arial Unicode MS, Arial; background-color: #cccccc; color: #333; text-align: center; }

DIAGNOSTICS

Textpattern version: 4.0.1 (r888)
last_update: 2005-09-09 18:38:28/2005-09-09 18:18:07
Document root: /home/translat/public_html
$path_to_site: /home/translat/public_html/txp
Textpattern path: /home/translat/public_html/txp/textpattern
Permanent link mode: title_only
Temp folder: /tmp
Site URL: www.translatum.gr/txp
PHP version: 4.3.11
Register globals: 1
Magic quotes: 1/0
MySQL: 4.0.23-standard
Locale: en_GB.UTF-8
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7e
Apache version: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7e

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule> ————————————

Last edited by spiros (2005-09-09 19:17:00)

Offline

#8 2005-09-23 16:33:55

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: Polytonic support for Textpattern

Is there a reason why the apostrophe character is escaped with a numeric entity? I.e. valid xhmtl?

Offline

#9 2005-09-23 18:23:41

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: Polytonic support for Textpattern

Although this doesn’t have anything to do with polytonic (it’s about Textile), the reason has to be valid XHTML.

Offline

Board footer

Powered by FluxBB