c-okelly / anki-remote-decks

Addon for Anki - Creating remote decks in Google Docs
https://ankiweb.net/shared/info/911568091
MIT License
71 stars 15 forks source link

Bug: Open docx with proper format in Gdocs but wrong format? #39

Closed StohanzlMart closed 4 years ago

StohanzlMart commented 4 years ago

Prepared my doc with the correct indents in mircosoft word and opened the doc with Gdocs.

Doesn't work :(

0_test.docx

Greetings, Martin

StohanzlMart commented 4 years ago

0_test.docx

That's the right file,

thanks for working on your awesome Anki-Plugin!

c-okelly commented 4 years ago

Hey,

Just having a look at your file there but unfortunately this type of workflow is not supported at all.

While the Google docs bullet points and the Microsoft Word bullet points look very similar they are implemented completely differently. Last time I checked it is actually very difficult to parse this information out of a docx file using current Python libraries.

Even if you copy and past from one to another it might look correct but I would be very surprised if it worked.

StohanzlMart commented 4 years ago

Thank you for your response and your great addon!

Got it to work when opening the (unformatted but indented) docx with pictures with gdocs. Has some bugs though... (Http Error 400 gdocs.com/drawings/foobar/drawing?paren.)

Are there Symbols like "[" and "]" that are not allowed?

What workflow do you propose from teachers pdf to anki?

StohanzlMart commented 4 years ago

What workflow do you propose from teachers pdf to anki?

Have a nice weekend! Cheers!

c-okelly commented 4 years ago

I would suggest that you just write it straight into the Google docs to start with.

It definitely helps the learning experience if you do that rather then copying and pasting.

I have another add-on org-to-anki that might better suit your needs?

c-okelly commented 4 years ago

The symbols [ and ] might cause problem but they should be fine

StohanzlMart commented 4 years ago

Thank you and see you there :)