Gustaf-C / anki-chinese-support-3

Anki add-on providing support for Chinese study
https://ankiweb.net/shared/info/1752008591
GNU General Public License v3.0
26 stars 7 forks source link

Transcription automatically showing on AnkiMobile #47

Closed scddo closed 7 months ago

scddo commented 7 months ago

This feature request is related somewhat to a problem. I suppose it is more of a question than a feature request. I am unsure if your add-on is meant to support AnkiMobile. Either way, the feature I would like to see concerns an issue regarding when English definitions are shown first on AnkiMobile. The computer software shows a button that lets you show the transcription of the Pinyin if you need a hint. However, on AnkiMobile, this button is absent, and it just shows the transcription automatically, which is not very helpful if you want to test yourself and see if you remember the pronunciation.

A clear and concise description of what you want to happen.

The best solution would be to have AnkiMobile imitate the behavior of the desktop software.

I have attached photos of the issue below:

Anki:

Screenshot 2023-11-22 at 5 53 48 PM

AnkiMobile:

IMG_2060

Gustaf-C commented 7 months ago

Thanks, I hadn't noticed that.

This is due to the template cards using a custom implementation of hints, if you go into the card layout, change this line on the front template: <div class=hint>{{hint_transcription:Pinyin}}</div> to this: <div class=hint>{{hint:Pinyin}}</div> it should work properly. This will be fixed for new note types with 2a22dbd, but that won't fix already created notes.

scddo commented 7 months ago

It works like a charm! Thanks so much.

While on the topic of AnkiMobile, do you know the best way or any way to get the KaiTi font to display on iPhone? I have searched for a solution on the internet but to no avail.

Gustaf-C commented 7 months ago

Since kaiti isn't available by default on ios you will need to install it as a custom font, there is a guide in the manual that goes through the process.

scddo commented 7 months ago

Thank you so much!