[Version 1.05 | 2016-01-31] Anki deck for kanji writing practice

miked0801 said... Edit - removed.  Anki deck won't let my idea work I believe...
 You'd be surprised—Anki can do pretty much anything a  web page can. Run it by me and I'll tell you if it's feasible.

Can anyone help me set this up on a Mac? I’m trying to follow the instructions in the Anki Manual: Installing Fonts - Fonts on a Mac but I don’t know where to edit the script to get it working. 

Hey, thanks for sharing.

I’ve tried it with my iphone, both the anki app and the safari browser, and the whiteboard won’t work. ( ´_ノ` )

I’m using Anki desktop and the whiteboard isn’t working for me either…  When I mouse over the board, it shows a text cursor.  Then when I try drawing on it, it highlights (selects) the whiteboard and the answer is displayed.  When I click elsewhere in Anki to cancel the selection, it shows me the stroke order on the whiteboard.  I am sad.  :’(  I don’t have a tablet.

Izana said... Can anyone help me set this up on a Mac? I'm trying to follow the instructions in the Anki Manual: Installing Fonts - Fonts on a Mac but I don't know where to edit the script to get it working. 
I did some research, and it seems that Anki on Mac can't use embedded fonts for security reasons, so you'll have to install it as a system font if you haven't already. I'll also have to update the deck's CSS to look for it as a system font. It shouldn't take me long. Check back in an hour or so and I'll have a new version up. EDIT: new version is up, and I believe I've fixed the problem.

Frouzich said... Hey, thanks for sharing.

I've tried it with my iphone, both the anki app and the safari browser, and the whiteboard won't work. ( ´_ノ` )
 The scratchpad isn't enabled by default on the iPhone version of Anki. There are instructions to enable it on the AnkiMobile FAQ:

"If you are studying content for which it is useful to sketch something before showing the answer on the card (e.g., characters in a foreign language), AnkiMobile provides a feature called the scratchpad (the analogous feature is called the whiteboard in AnkiDroid). To use the scratchpad, you first need to add the Toggle ScratchPad action to a tap, swipe, quickbar action, or tool button."

I don't have an iOS device, so I'm afraid I can't help you any further than that :'(. Also see below about AnkiWeb.

wtrmlngrn said... I'm using Anki desktop and the whiteboard isn't working for me either..  When I mouse over the board, it shows a text cursor.  Then when I try drawing on it, it highlights (selects) the whiteboard and the answer is displayed.  When I click elsewhere in Anki to cancel the selection, it shows me the stroke order on the whiteboard.  I am sad.  :'(  I don't have a tablet.

Also, the scratchpad/whiteboard is a feature that's only available on mobile versions of Anki. If you want to use this deck with Anki PC, you'll have to write the kanji out on a piece of paper (or a physical whiteboard). It's a little bit less convenient than the mobile version, but you still get all the benefits of SRS and writing practice. Sorry that I didn't make that clear in the description; I'll update it shortly. EDIT: The first post has been updated with a thorough explanation of the differences between the various versions of Anki.

Version 1.03 is available!

This is just a small bugfix release.

1.03 Changelog:

  • [Feature] KanjiStrokeOrders font is now included in the deck itself, so you should not need to manually install anything*
  • [Bugfix] The card’s styling will now look for a system-installed version of KanjiStrokeOrders, allowing it to work on Mac
  • [Bugfix] Fixed a small bug with the bottom-padding on the resource buttons
* If you are on a Mac, please see the “Compatibility notes” section in the first post for more information about fonts on Mac

No screenshot this time as the interface hasn’t really changed.


shvelven said... Version 1.03 is available!

Link

This is just a small bugfix release.

1.03 Changelog:
  • [Feature] KanjiStrokeOrders font is now included in the deck itself, so you should not need to manually install anything*
  • [Bugfix] The card's styling will now look for a system-installed version of KanjiStrokeOrders, allowing it to work on Mac
  • [Bugfix] Fixed a small bug with the bottom-padding on the resource buttons
* If you are on a Mac, please see the "Compatibility notes" section in the first post for more information about fonts on Mac

No screenshot this time as the interface hasn't really changed.
 Link is not working.

Sorry about that; looks like it’s fixed now. I dunno what’s up with the editor, but I had to edit that post three times before it would make the link clickable ¬_¬

Ever since I have tried to download the latest revision I get a temporary error. Only with this file.

Oh yes. This is wat I need. Is it on yet?

embe said... Ever since I have tried to download the latest revision I get a temporary error. Only with this file.
Are you having an error downloading it from MEGA or an error importing it into Anki? I tested the file with a fresh Anki account before releasing it and everything worked fine. Can you take a screenshot or give me an error code or anything like that?
shvelven said...I did some research, and it seems that Anki on Mac can't use embedded fonts for security reasons, so you'll have to install it as a system font if you haven't already. I'll also have to update the deck's CSS to look for it as a system font. It shouldn't take me long. Check back in an hour or so and I'll have a new version up. EDIT: new version is up, and I believe I've fixed the problem.

Frouzich said... Hey, thanks for sharing.

I've tried it with my iphone, both the anki app and the safari browser, and the whiteboard won't work. ( ´_ノ` )
 The scratchpad isn't enabled by default on the iPhone version of Anki. There are instructions to enable it on the AnkiMobile FAQ:

"If you are studying content for which it is useful to sketch something before showing the answer on the card (e.g., characters in a foreign language), AnkiMobile provides a feature called the scratchpad (the analogous feature is called the whiteboard in AnkiDroid). To use the scratchpad, you first need to add the Toggle ScratchPad action to a tap, swipe, quickbar action, or tool button."

I don't have an iOS device, so I'm afraid I can't help you any further than that :'(. Also see below about AnkiWeb.
This is great news!  Too bad I don't know how to use the plugin...  Documentation is too vague for me and I can't find help anywhere.  Is there anyone out that has used the iOS ScratchPad for Anki mobile?  ♥
shvelven said...
embe said... Ever since I have tried to download the latest revision I get a temporary error. Only with this file.
Are you having an error downloading it from MEGA or an error importing it into Anki? I tested the file with a fresh Anki account before releasing it and everything worked fine. Can you take a screenshot or give me an error code or anything like that?
 It's an error downloading from the MEGA page. The DL won't start. 

Here’s an alternate link: https://drive.google.com/file/d/0B568siZ1zRbxZUdpOUU2Wkd3ZlU/view?usp=sharing

Hi shvelven, have you tried URL encoding the # in the Jisho link?

http://jisho.org/search/{{Kanji}}%20%23kanji

I will definitely be using this. Thank you!

jamesbassett said... Hi shvelven, have you tried URL encoding the # in the Jisho link?

http://jisho.org/search/{{Kanji}}%20%23kanji
Yup. That was my first thought, but it simply will not work from within Anki. It's an extremely stupid bug. Let's look at what happens:

The card html is '<a href="http://jisho.org/search/{{Kanji}}%20%23kanji">'. The URL that Anki passes to the browser is "http://jisho.org/search/%E4%B8%80%20#kanji". The"%E4%B8%80" part is, I assume, the Unicode address of the kanji. Then we have the "%20", which is the URL encoded space character. But for some beautifully stupid reason Anki decodes the "%23" into a literal "#" before passing it to the browser, where I assume it gets treated as an anchor reference. 

... Incidentally, I just figured out how to fix the Jisho link. There's an alternate URL: "http://jisho.org/kanji/details/{{Kanji}}". Thanks, buddy—I probably wouldn't have looked back into it if it weren't for your post :D

aragonsr said... I will definitely be using this. Thank you!
Glad you like it! I'll be posting another deck soon which is basically the same thing but for hiragana and katakana, so keep an eye out.

Haha glad you found a solution! Thanks so much for creating this. I can’t believe how hopeless I am at recalling kanji :stuck_out_tongue:

Version 1.04 is available!

Another bugfix release.

1.04 Changelog:

  • [Bugfix] Jisho.org links now work, thanks to jamesbassett’s observation a few posts ago




I love it! This hopefully will become part of my studying routine from now on.
It’s also easily customizeable - I had to remove the resources bar (because of scrolling effects on my phone) and switched to default answer side to handwritten stroke order (made more sense to me, but might change it back if it turns out to be impractical)
Thank you very much