Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pitch accent in anki export #770

Closed
laxa88 opened this issue Jun 26, 2017 · 6 comments
Closed

pitch accent in anki export #770

laxa88 opened this issue Jun 26, 2017 · 6 comments
Assignees

Comments

@laxa88
Copy link

laxa88 commented Jun 26, 2017

would be nice if possible to customize the csv export or have some default export for the furigana to also include pitch accents.

@mvysny mvysny self-assigned this Jun 26, 2017
@mvysny
Copy link
Owner

mvysny commented Jun 26, 2017

Hmm, it's not clear how to represent overlined up-pitch accents. Maybe with ꜛ , down-pitch with ꜜ, like ꜛkaꜜkio 牡蠣を

@laxa88
Copy link
Author

laxa88 commented Jun 26, 2017

the current method in aedict is actually fine with me -- red for up-pitch, and down-arrow (ꜜ) for down-pitches. the up-arrow can be difficult to discern if the words are small on the screen (i use ankidroid a lot)

@mvysny
Copy link
Owner

mvysny commented Jun 26, 2017

Unfortunately I don't think I can export values with custom formatting... or maybe I can export values with html formatting in them? Let me check.

@laxa88
Copy link
Author

laxa88 commented Jun 26, 2017

i don't know the inner working of how aedict exports the anki cards, but i did notice some javascript when customizing the deck. Perhaps you could retain the up-pitch and down-pitch symbols, and use javascript to format them accordingly.

@mvysny
Copy link
Owner

mvysny commented Jun 28, 2017

Implemented in 3.40, export to Anki will use html formatting and will mark the pitch red. Note that by default the furigana field is shown, which does NOT contain the pitch colors. Only the "reading" field contains the pitch colors. So, in order to see the pitch color, you will have to edit the card model in AnkiDroid.

@mvysny
Copy link
Owner

mvysny commented Jul 17, 2017

Since this fix clashes with #777 it will be reverted. You can still activate the html formatting by checking Settings / Export / Export Pitch as HTML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants