Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-02-05 16:22:32
- pauldavidson
- New Member
- Registered: 2006-02-05
- Posts: 3
Textile in Textpattern Hopelessly Broken
Okay, I’m sorry for the angry post, but I’m getting frustrated with Textile’s refusal to work correctly.
1. Inline classes attached to spans or other tags, e.g. %(style-name)hello%, don’t work.
2. Inline styles applied as above with curly braces do not work.
3. Inline formatting like strong and emphatic doesn’t work all the time, especially when the text includes Japanese characters.
4. Footnote references don’t usually work unless I put them at the end of a sentence, and sometimes not even then.
5. Subscript text doesn’t seem to work at all.
This all I discovered trying to write just one blog entry.
Last edited by pauldavidson (2006-02-05 16:28:48)
Offline
#2 2006-02-05 16:53:26
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: Textile in Textpattern Hopelessly Broken
Can you post some clear test cases, so we can see precisely what’s not working? Thanks.
FAQ: How do I post tags and code on the forum?
-Kurt
kurt@kurtraschke.com
Offline
#3 2006-02-05 17:09:02
- pauldavidson
- New Member
- Registered: 2006-02-05
- Posts: 3
Re: Textile in Textpattern Hopelessly Broken
On this forum you mean? Because some of the textile markup I tried works fine in the example Textile site, but doesn’t actually work in an up-to-date Textpattern installation.
For my live blog, I’ve just had to leave out or manually code everything that didn’t work.
Offline
#4 2006-02-05 17:17:13
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Textile in Textpattern Hopelessly Broken
1. and 2. were fixed in a later revision, see here.
Offline
#5 2006-02-05 18:27:16
- pauldavidson
- New Member
- Registered: 2006-02-05
- Posts: 3
Re: Textile in Textpattern Hopelessly Broken
Test cases (things that don’t work in Textpattern/Textile):
<notextile> anything does not work, period. </notextile> <notextile> anything does not work, period. </notextile> <notextile>- V~1~ ば-form + V~2~ ほど …does not produce subscript ones or twos.
</notextile>
<notextile>
パーティーは人が多けれ*ば*多い*ほど* 楽しい。 …None of the asterisk-surrounded text turns into strong elements. Instead, I just get asterisks.
</notextile>
<notextile>
A Dictionary of Intermediate Japanese Grammar1 provides some example sentences with the above forms: …footnote does not work.
</notextile>
“1. and 2. were fixed in a later revision, see here.”
Does that mean those two items will work at some point in the future?
Last edited by pauldavidson (2006-02-05 18:28:31)
Offline
Re: Textile in Textpattern Hopelessly Broken
pauldavidson wrote:
“1. and 2. were fixed in a later revision, see here.”
Does that mean those two items will work at some point in the future?
It means they work right now if you update to the latest version of classTextile.php, as described in that thread.
Presumably the strong text line will also work with the current version since it works here (パーティーは人が多けれ*ば*多い*ほど* 楽しい). Actually, I’m surprised and a bit annoyed that it does work without whitespace.
Last edited by takshaka (2006-02-05 20:10:58)
Offline
#7 2006-02-14 00:11:20
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Textile in Textpattern Hopelessly Broken
First up: there is no such thing as “does not work”, period. Please read the damn FAQ, which is linked at the top of every forum page.
As T says, the first two appear to work just fine with current copies of Textile.
The other problems are not bugs, but expected behaviour. Inline markup like *bold* and ^sup^ must be surrounded by whitespace. That’s so you can write things like a_name_with_underscores or E*Trade without Textile getting in the way. In the latest Textile, you can use syntax like foo[*bar*]baz to force it to work.
Alex
Offline
Re: Textile in Textpattern Hopelessly Broken
I’d like to mention some strange behavior, too. Articles I have created in an earlier version of TXP seem to be misinterpreted or something, textile-wise. For example, where I styled a span of text, I used <code> % (note) note % </code> (without the spaces), the text now shows up as <code>(note)note</code>. When I check the html markup in the write-article-admin-side, it shows the correct code: <code><span class=“note”>note</span></code>.
Just to make sure, I uploaded the latest version of classTextile.php, emptied cache, logged out, emptied cache, logged in again, but it remains the same. Funny enough when I write a new article the class-application does it’s job as normal as ever.
- – - EDIT – - – I just started to fiddle a bit entering returns and deleting them again and now it works fine again, so sorry, I acted too slow with my site and too fast on this forum sorrysorry eh aargl
Last edited by maica (2006-02-23 15:02:57)
Offline
#9 2006-02-23 23:01:13
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Textile in Textpattern Hopelessly Broken
You have to re-save articles to re-apply Textile markup after upgrading.
Alex
Offline