Code Monkey home page Code Monkey logo

Comments (10)

AAO2020 avatar AAO2020 commented on May 23, 2024 1

Thanks!
Such a simple fix... I was trying to figure it out on my own. Thanks again!

from org_to_anki.

c-okelly avatar c-okelly commented on May 23, 2024

Hey Ben,

It sounds like you are potentially using the wrong import menu.

I assume you are clicking here?

Wrong import

This is the correct menu:

Right menu

The File > Import is the built in Anki way to handle imports and completed different from normal imports

from org_to_anki.

c-okelly avatar c-okelly commented on May 23, 2024

The answer is always simple when you know it! I think the docs could probably be clearer tbh

from org_to_anki.

AAO2020 avatar AAO2020 commented on May 23, 2024

On another note, why does the HTML file from a Word document differ from a HTML file from a Libre document?
I am wondering. Not a technical user. Just an every day Joe.

from org_to_anki.

AAO2020 avatar AAO2020 commented on May 23, 2024

Also, this does not work for either Libre or Word.

Multi-level files

Question with sublists
A question
Group 1
Item A
Item B
Group 2
Item C
Item D

from org_to_anki.

c-okelly avatar c-okelly commented on May 23, 2024

On another note, why does the HTML file from a Word document differ from a HTML file from a Libre document?

As for the why I could not even being to guess but the TLDR of the situation is as follows:

Microsoft word generates a html file where the contents of the document look correct but are generally not using standard html syntax to actually render the format. The best example of this is the list syntax where it just inserts icons and white spacing to what looks like a list to the users.

In comparison LibreOffice generates "proper" html syntax that is much easier to parse into metadata so that I can generate a card.

I'm sure there is some legacy reason why word is doing this. Word will also generate different html / file encoding depending on what system is is run from. It also re-encodes the entire html file if you open and save it. It just ended up being to much hassle and I really don't think I'm going to support it in future

from org_to_anki.

c-okelly avatar c-okelly commented on May 23, 2024

Can you send me a screen shot of the list and possible and attach the html file and I will have a look.

I assume you are using bullet points in the LibreOffice document? As from above I would not advise using Word as it will likely just throw errors

from org_to_anki.

AAO2020 avatar AAO2020 commented on May 23, 2024

from org_to_anki.

c-okelly avatar c-okelly commented on May 23, 2024

I'm not sure you are able to attach files to the actual github issues.

You can either pastebin them or email me at okellyconor at gmail.com

from org_to_anki.

c-okelly avatar c-okelly commented on May 23, 2024

Fixed offline

from org_to_anki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.