#Buggy Pitch Accent Display

26 messages · Page 1 of 1 (latest)

timber nacelle
#

Hello, when I use Yomitan to make Japanese flashcards, the pitch accent on the reverse side shows "ruby" written in roman letters, which ruins the pitch accent legibility. I've attached a screenshot of what it should normally look like. I suspect the bug has to do with the way I configured Yomitan, so I've attached a screenshot. However, I also think that it could be fixed through the card styling on the Yomitan page, but I don't have any coding knowledge. I looked up the word "pitch" to see all relevant code relating to pitch accent (screenshot also attached). If anyone could help me fix this problem, it'd be very much appreciated! Thank you!

winged shuttle
# timber nacelle Hello, when I use Yomitan to make Japanese flashcards, the pitch accent on the r...

I don't have any experience with Yomitan (so there might be someone better suited to answer on that front), but I recognize those <ruby><rt> tags -- that's how to do ruby text manually in HTML. [Anki also has it's own built-in syntax.]

So that's unparsed HTML showing up on your card. Since it's happening on one note and not others -- have you looked at that field for that note?

  • What is the name of the field? -- That's the best way to figure out where to look in your card template.
  • Did you put those ruby tags in the regular field instead of the HTML field (which you open by clicking < > above the field)?
worthy pier
#

Added context: this looks like a [Lapis] card template.

timber nacelle
timber nacelle
timber nacelle
#

someone suggested that I should try resetting my handlebars to defaults, is that something worth trying?

timber nacelle
winged shuttle
# timber nacelle how do I access the field page?

Do you want to do this here or in Reddit? https://www.reddit.com/r/Anki/comments/1kxo9yd/buggy_pitch_accent_display_incorrect_ruby_text/
I'm unlikely to continue helping you in both places.

how do I access the field page?
I don't know what you mean by that. I didn't say "field page" and the only thing I can think of that you might call that is the Fields window you already have in that screenshot.

Reddit

Explore this post and more from the Anki community

timber nacelle
#

Here would be more convenient, I believe

#

oh, did you mean this screenshot?

winged shuttle
winged shuttle
# timber nacelle oh, did you mean this screenshot?

Nope. That's related to the add-on, I assume. You posted the Anki "Fields" window. But I don't think you need to edit your fields -- I think the first place to look is this field for this note. Figure out if there's a problem with the text there. (My suggestion above.)

If there's not, then you need to know the name of the field so you can find where that is used in your card template and look there next.

timber nacelle
#

is this the fields window?

#

sorry I'm not well-versed in Anki that well 😭

#

but I do believe 16: PitchPosition is the name of the field that's bugged out

timber nacelle
winged shuttle
timber nacelle
#

actually, the field I thought was the issue doesn't seem to contain any indication of using ruby tags

#

okay, I think I've found something

#

I deleted the regular text in the "ExpressionFurigana" field and the ruby text disappeared. However, I no longer have furigana above the big japanese text (usually there should be small Japanese characters above the big word)

#

I deleted the ruby text entirely and manually entered [たま] into the main field, which completely fixed my issue

#

However, how do I make it so that every card under this notetype is also created in this fashion?