kanji koohii FORUM
Anki pinyin plugin (and in general pinyin input) - Printable Version

+- kanji koohii FORUM (http://forum.koohii.com)
+-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html)
+--- Forum: Learning resources (http://forum.koohii.com/forum-9.html)
+--- Thread: Anki pinyin plugin (and in general pinyin input) (/thread-8067.html)



Anki pinyin plugin (and in general pinyin input) - gyuujuice - 2011-08-20

Hey, it's been forever since I made a post but I am really stuck on Anki and I'm no computer pro. I downloaded a pinyin plugin successfully and I got it working for the most part. There is one problem though, all my cards have only answers and I tried messing around to see if I could make a 'question part' but I failed. Sad

Here is what I have my settings under (with pictures):

Card templates)
Question:
%汉字

Answer:
%(彩色)<br />
%(拼音)<br />
%(声音)<br />
%(意思)<br />
%(量词)

[Image: 75642765.th.png]

Uploaded with ImageShack.us

Fields)
汉字
彩色
声音
拼音
意思
量词

[Image: 95439779.th.png]

Uploaded with ImageShack.us

Trying to Add a Card)

[Image: 49955783.th.png]

Uploaded with ImageShack.us

I just want to have a 汉字 deck where I have the 汉字 in front and all the nice fields on the answer. (It can be one answer field or a bunch of answers -- technically impossible on a traditional 'flash card') Does anyone have any advice or suggestions?

大家多谢!!!!


Anki pinyin plugin (and in general pinyin input) - Nagareboshi - 2011-08-20

Question:
%汉字

This seems to be your problem. You forgot the brackets. {{汉字}} Smile


Anki pinyin plugin (and in general pinyin input) - gdaxeman - 2011-08-20

The syntax you're using, %(<field>), is deprecated in version 1.2.x (I don't know if it still works, but in your screenshot it doesn't seem so); instead, you should surround the field's name in {{ }} (double braces). Like this, in your case:

Question:
{{汉字}}

Answer:
{{彩色}}
{{拼音}}
{{声音}}
{{意思}}
{{量词}}


Anki pinyin plugin (and in general pinyin input) - Nagareboshi - 2011-08-20

gdaxeman Wrote:The syntax you're using, %(<field>), is deprecated in version 1.2.x (I don't know if it still works, but in your screenshot it doesn't seem so); instead, you should surround the field's name in {{ }} (double braces).
%(汉字)s still works even in 1.2.8 but the brackets are still missing in gyuujuice setup. I prefer the {{}} over the old format.


Anki pinyin plugin (and in general pinyin input) - gyuujuice - 2011-08-20

Oh! Haha, thanks everyone I will try it out now and test it!
Yep, that solved all my issues. I think a guide I was reading was outdated. o_0

This will make my life oh so easier, thanks guys!


Anki pinyin plugin (and in general pinyin input) - gdaxeman - 2011-08-20

Nagareboshi Wrote:%(汉字)s still works even in 1.2.8 but the brackets are still missing in gyuujuice setup. I prefer the {{}} over the old format.
Another problem that can be seen in his screenshot (and I also tested it here) is that the old syntax isn't rendered properly in the Card Layout > Preview window, so that's another reason to change all the fields, including the ones in the answer. If I remember right, Damien (Anki developer) placed a converter under the hood but the recommendation was to use the new format from now on.