Anki-Night-Mode icon indicating copy to clipboard operation
Anki-Night-Mode copied to clipboard

No Latex inversion

Open dharmaturtle opened this issue 8 years ago • 4 comments

Hi,

This may be related to the other image inversion issue, but since its listed as a separate option, I'll create a new issue. My latex isn't being inverted either, and I've updated the source to 1.1.4

Thanks!

dharmaturtle avatar Apr 23 '16 11:04 dharmaturtle

Do you still use Anki? Is this still happening in Anki 2.1?

krassowski avatar Sep 28 '17 18:09 krassowski

It still happens in Anki 2.1. In AnkiDroid this can be fixed with css:

.night_mode .latex {
 filter: invert(1);
}

However the .night_mode selector also doesn't work with this add-on.

slaren avatar Oct 29 '17 22:10 slaren

@slaren thanks for the follow-up. Could you provide more details on your set-up (operating system, PyQt version - you can find it in "Anki → about"). Btw. image inversion and latex inversion work perfectly fine on all Linux based operating systems I tried to date...

However the .night_mode selector also doesn't work with this add-on.

Indeed it seems that there is an issue with the selector but only in card editor and before the answer is displayed. Otherwise, it works well. Pull requests are welcome.

krassowski avatar Oct 30 '17 01:10 krassowski

Just updated to 2.1 beta 23 (Windows 10/Qt 5.9.2 PyQt 5.9) and it seems to work now without the need of any extra css. Only tested in the editor/card preview though, as I do all my reviews on mobile.

Sorry for the confusion.

slaren avatar Nov 02 '17 18:11 slaren