There are always up to 10 keys drawn from the random_keys (otherwise limited by the length of the random_keys string itself and the number of characters made redundant by the static_keys). This behaviour can also be modified, of course. Although, I’m not sure if decreasing this number based on the size of the screen is a reasonable strategy in general since it will make the difficulty of the cards dependent on the device they are reviewed on. It also won’t guarantee fitting all the keys within a single screen anyway – long enough answers would still require scrolling down to see all the keys necessary to type them.
Hello, is there a way to fix the text getting out of the box after revealed? this case happens to some foreign language fonts, thank you
Hello
I am having difficulty making the audio work for any deck I extract from memrise using the add on/chome extension/templates
Example: I’m trying to download this course
course/961777/al-arabiyyah-bayna-yadayk-book-1-love-arabic/
But the audio in the csv file names audio like:
[sound:al-arabiyyah-bayna-yadayk-book-1-love-arabic_961777c_88952725_160310_1947_39.mp3]
So the cards generated have that as the sound file name
But the sound mp3’s only have the last string of numbers as their file name eg. 88952725_160310_1947_39.mp3
If i simply find and replace the initial string (al-arabiyyah-bayna-yadayk-book-1-love-arabic_961777c_) and save the cvs file, when I try to then import it into anki the field mapping joins as one (learnable, definition, audio, etc) and so the cards dont work
I’ve just finished updating the extension. I’ve tried downloading your course with it and didn’t encounter any issues. All the files appear to have the full names, and Anki successfully recognizes all the references in the course during import.
Can you try it out and, in case it still doesn’t work for you, write about it in that thread:
Thank you so much for this template Eltaurus! It’s made the daunting transition from Memrise to Anki so much smoother! I saw you mentioned that it was possible to make the font of a specific field larger in one of your posts above, but I can’t figure out how to actually do it. Would you be able to show me where this option is in the styling tab?
I was able to make the font inside the multiple choice buttons larger, but since I have 2 different multiple choice question types, 1 with Chinese choices and 1 with English choices, I can only make the Chinese characters readable in Ankidroid at the cost of the English words being broken up and rolling over multiple lines. Any guidance in the right direction would be much appreciated!
Thank you for your response. This is a setting I haven’t documented anywhere yet, but basically, you just need to add the large
class to a block you wish to display with a larger font. This is equivalent to toggling the “Show Bigger” checkbox for a field in course settings on Memrise
The applied styles will be identical to the Memrise as well, and you don’t need to change anything on the “Styling” tab (in fact, I would advise against it, unless you want to alter Memrise styles altogether, because carrying over these alterations to newer versions of the template might complicate updating in the future).
The changes should be done only to the specific block on the side of the card where you want them. For the multiple choice buttons, for example, the large
class should be be added here (Front side of the template):
If you only add it for card types that are testing on Chinese options – then only Chinese choices will be displayed with a larger font.
This works for most blocks and on both sides of a card. If a block already has other classes, simply add large
after the existing classes, separating it with a space. For example, to display the “Learnable” on the back of the card with a larger font, the class should be added like this:
Awesome! Thanks so much - adjusting the class for each specific block works a lot better than tampering with global styling.
Unfortunately after making the Chinese character font size changes via class on the front and back of each of my 4 card types within the Memrise note template, Anki increased the number of cards per note from 4 to 96.
So across my 300+ deck, syncing the sudden large increase in the number of cards within the deck crashed my Ankidroid. I can’t delete the duplicates because deleting one card within a Note seems to delete them all.
I’m not sure why it does this or how I can stop it from happening every time I make a small change to the Notes Template. The last time it happened, during my set up/testing phase, I had to delete the deck (which had multiplied from 8 cards to 3600+) to start afresh with a new import. However now we’ve already started using the deck, so I’m hoping to avoid losing our progress via a whole deck deletion.
Apologies I’m not sure if this is an add-on specific question. I’ve tried to search the wider forum and the manual but can’t seem to find answer. It’s making me afraid to make tweaks to the front and back of this template. Any guidance would be greatly appreciated!
you’d better restore one of your latest backups prior to the increase in the number of cards before this messes up your collection and try again.
this is absolutely not correct behavior. I would suggest you repeat the process after restoring a backup, documenting every step of it (with screenshots, preferably). Right now it’s hard to guess what exactly might have gone so wrong. Do you have any add-ons installed (other than the memrise card support one)?
It does seem like a global issue. I will try and help however I can, but it is probably worth making a new dedicated thread on this forum, especially because there are no existing ones. This way more competent people should see it and be able to help.
Thank so much for your guidance! I restored yesterday’s backup and retraced my steps (with screenshots) but frustratingly couldn’t replicate the issue. Since it all works for now, I’ll just keep a frequent and close eye on the number of cards per note and document any changes if I see the card number shoot up again, so hopefully I can pinpoint what lead to the problem. I’ve accidentally done it twice, so sadly it’s likely to happen again.
On an unrelated note, are there any plans to create audio multiple choice “choice buttons” like those previously available on Memrise?
It was such an awesome feature in Memrise that I haven’t seen anywhere else. Clicking each multiple choice button once would play the audio associated with the choice. Then clicking the button again a second time would select the choice as your answer to be scored.
I used these audio multiple choice questions to test verbal recall of a Chinese character. I’ve tried to recreate this type of question using speech to text and then comparing the verbally inputted character to the answer. However Windows Voice Typing (Win+H) consistently crashes Anki after working on 1 card (global thread in Anki forums already created), so it would be great to side step all the Speech to Text issues and go back to the Memrise audio multiple choice approach.
It might be a good idea to set more frequent automatic backups while you are hunting the issue or make sure to create some manually before you try and edit any card templates next time.
(also, just a conjecture, can it be that you accidentally pressed and held a shortcut to make new card types during your previous edits? That is at least one way to explain the absurd amount of extra cards appearing)
Combining multiple-choice questions with audio will be tricky, because audio files are handled by Anki itself and card templates don’t have full control over that, unfortunately. There are some workarounds I want to try out, but there are quite a few other features with higher priority, so I can’t say when I will get to that one.
There are still some ways of using the current template to make multiple-choice audio questions, as described here. It might not be good-looking or convenient, but at least should replicate the core functionality.
Thanks - I’ll keep frequently backing up until I pinpoint the source of this issue. After initially setting up my card type questions, I haven’t gone anywhere near the “Add Card Type” dropdown while editing the front and back of my cards, so I’m not sure what’s going on there, but I’ll report back here if it happens again.
Thanks I’ll have a play around with it and keep an eye on that github page for any possible future progress. The kids who take my quiz don’t yet have strong English reading skills, let alone pinyin / jyutping input skills, so they rely on the audio. But they could probably handle the simple numbered button system referencing audio files suggested on your github page.
Unfortunately, the large number of characters required to be known before someone can even start reading basic, meaningful sentences in Chinese means it’s easier to frontload Chinese character recognition before English reading sets in, as English decoding is less labour-intensive and kids almost always choose the path of least resistance.
hello, how can i delete on screen keyboard? sorry for basic question i tried to do it myself, but no matter what part of the code i deleted it still appears
There are two ways to do it.
One is simply removing all letters from both “static_keys” and “random_keys” on the front of a card (you will need to do it for each card type individually since it is per-card setting):
For more details on setting up the keyboard please refer to this post.
The first method leaves the “Hint button” on the screen. If you want to remove it as well, you can add “off” class to it:
You can actually add this class to any element on a card to disable it (I wrote more about adding classes here), which is a better way to get rid of elements than deleting parts of code because it is non-destructive and can be easily reverted. So for the second method, you can add this class to the keyboard itself, without any other changes on a card:
(just make sure to do it on typing cards only, disabling the keyboard on multiple-choice questions will remove the answer buttons, making them useless)
If I get a card incorrect but then press 4 for “Easy” does it override the template script?
Also when I just press enter and skip a word, what button does it equal? Good, Easy, Hard etc.
Thanks
Yes. Manual ratings take priority over automatic ones at all times.
So, for example, if you made a typo (or there was a typo on a card itself) and don’t want to fail the card, you can still rate it accordingly, without automatic ratings messing the review schedule.
Also, you can see how cards are rated if you go to “Previous Card Info” from the bottom left reviewer menu and keep the window open during reviews.
If you have installed the support addon (which prevents Enter and Space from having the default Anki effect), the template will rate all correct answers as ‘Good’ and (even slightly) incorrect ones as ‘Again’. Submitting an empty answer equals an incorrect answer. All of this is based on the Memrise rating behavior.
You need to edit the front template for your card, locating the element with the “mem-question” class and surrounding whatever is located inside it with <div>
tags:
This problem arises from the card styles which were not initially designed for anything other than plain text, sorry about that. I probably should add this in the future version of the template, so please tell me if you encounter any issues with this solution.
Hi - I have to admit I’m still slightly clueless about Anki, so this might be a stupid question…
I’m using your template, and have it in the list of courses. On one of my devices (tablet, using Android app) I’m being shown the comparison between my input and the correct answer; on my phone (also using Android app) I’m only shown the correct solution, not even the answer I entered.
Is this a setting I’ve got back to front? something else I need to do/set?
Any hints welcome…
If you are referring to the spelling corrections:
The difference might be not in the devices themselves, but in whether you are using the device keyboard vs the card on-screen keyboard to type the answer.
I've written a little bit about it here
I’m only shown the correct solution, not even the answer I entered.
Not sure about this one. If what you are saying is that the red “Your answer” section is not shown for you on the top of the info screen:
this does not seem like an intended behavior. The only case where it isn’t supposed to be shown is when you submit an empty answer. Could you provide a bit more details on how you arrive at the info screen? What is the correct answer on a card you are testing, what answer are you typing in, which of the keyboards you are using for that? Also, which version of the template is that (it is indicated at the top of the styling tab), and whether you have this setting enabled. Attaching screenshots of the process might be very helpful as well.
Hi - yes, I’m talking about the spelling corrections with the red/greed marks (or, failing this, at least a screen that shows me my input and the correct solution, so I can figure out what I did wrong!).
The on-screen keyboard does not make a difference, the reaction remains the same
screen 1: enter information
screen 2: information displayed on the red field as wrong
screen 3: correct information displayed