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

Comments

Projects
None yet
2 participants
@laxa88

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 mvysny added the enhancement label Jun 26, 2017

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Jun 26, 2017

Owner

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

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

This comment has been minimized.

Show comment
Hide comment
@laxa88

laxa88 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)

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

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Jun 26, 2017

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@laxa88

laxa88 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.

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

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Jun 28, 2017

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Jul 17, 2017

Owner

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

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