Pasting text from PDF

Roger's Avatar


09 May, 2013 07:59 PM

Dear all

I am trying to retain the format and layout of text (along with images if possible) -when pasting into Anki. However, I am unable to do so. The format is essential to understanding the material. I've tried converting my PDF (which contains text and images) to other formats (html, Word doc, rtf) and tried pasting that in to Anki without success. By using Adobe Acrobat I managed to convert it to a MS Word document (which did a good job of retaining the text and images in the right places). However, whenever I paste it into Anki i becomes an image.

I would like to this as text so that I can add some cloze deletions.


  1. 1 Posted by Soren Bjornstad on 09 May, 2013 08:59 PM

    Soren Bjornstad's Avatar

    If you can get satisfactory HTML output, you can paste it into Anki's HTML
    editor (Ctrl-Shift-X). Since Anki's rendering engine is based on
    HTML/WebKit, you should get nearly the same display in Anki.

  2. 2 Posted by Roger on 09 May, 2013 09:12 PM

    Roger's Avatar

    What steps are involved do you copy & paste the HTML output or the markup tags.
    I've tried both both ways and can't see any formatting -what am I doing wrong?


  3. 3 Posted by Soren Bjornstad on 09 May, 2013 09:49 PM

    Soren Bjornstad's Avatar

    You paste the markup into the HTML editor. If you can't figure it out,
    please make some screenshots of the steps you're taking and attach them so
    I can see what you're doing.

  4. 4 Posted by roger on 09 May, 2013 11:36 PM

    roger's Avatar


    I pasted the source from this page as a test. My previous HTML markup was not well formed. Thanks.

  5. 5 Posted by Soren Bjornstad on 09 May, 2013 11:43 PM

    Soren Bjornstad's Avatar

    So it's working now?

  6. 6 Posted by roger on 10 May, 2013 01:08 PM

    roger's Avatar

    Hi Soren

    Yes it's now working. However, cutting and pasting in the HMTL editor takes is quite laborious and takes too long, is there a way to import HTML markup questions/answer pairs and still retain the formatting.

  7. 7 Posted by Soren Bjornstad on 10 May, 2013 09:07 PM

    Soren Bjornstad's Avatar

    Sure, as long as you have a tab or other delimiter between the question and
    answer and a newline at the end of each card, you can import HTML just as
    easily as plain text (as long as you check the "import HTML" option in the
    Import dialog).

  8. Soren Bjornstad closed this discussion on 25 May, 2013 02:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac