• The site has now migrated to Xenforo 2. If you see any issues with the forum operation, please post them in the feedback thread.
  • Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
  • For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
  • Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
  • Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
  • The rules regarding NSFW links have been updated. See here for details.

Is it possible to add support for Ruby Text?

Xamusel

Currently a Gamma-11 on FFN
Joined
Oct 1, 2015
Messages
2,418
Likes received
3,368
I'm asking this because I have a story that I'm working on that requires the Ruby Text feature. If I don't have it, it won't make much sense for the way the story text works, at least on some occasions.
 
Now it is.

[rubytext]漢[rt]かん[/rt]字[rt]じ[/rt][/rubytext] will now give かん

Works on non-Japanese text too, of course.
Would it be possible to add an autospaced version that uses the following syntax?
[ruby='upper row']lower row[/rubytext]

Edit:
Didn't realize it would autospace if you just didn't split the top row among multiple rt tags.
 
Last edited by a moderator:
Would it be possible to add an autospaced version that uses the following syntax?
[ruby='upper row']lower row[/ruby][/[plain]

Edit:
Didn't realize it would autospace if you just didn't split the top row among multiple rt tags.
Yes, this is just directly emitting the HTML tags with the same names, so the semantics are the same. In particular, each rt element will be centered over the text that directly preceded it.
 
Some notes as someone using Rubytext.

1. Nettally breaks if it reads a vote with rubytext in it.

2. If you forget to close the rubytext tag it does fuuuuuunky things in the preview (the text keeps going off the right side of your screen). I'm not sure I wanna know what it looks like in actual post.
 
2. If you forget to close the rubytext tag it does fuuuuuunky things in the preview (the text keeps going off the right side of your screen). I'm not sure I wanna know what it looks like in actual post.
That sounds like the same shenanigans as described here. A couple people noticed, I doubt anyone bothered with a screenshot. But I predict it would look pretty much the same.
 
Some notes as someone using Rubytext.

1. Nettally breaks if it reads a vote with rubytext in it.

2. If you forget to close the rubytext tag it does fuuuuuunky things in the preview (the text keeps going off the right side of your screen). I'm not sure I wanna know what it looks like in actual post.
1 is a Nettally problem; it's probably trying to treat the rubytext tag as a vote category. Nothing I can do about that here.

2 is pretty expected; the bbcode reduces directly to underlying HTML, and if you fail to close a ruby tag in HTML it messes up everything something fierce. Sadly, not much I can do about that either.
 

Users who are viewing this thread

Back
Top