whacked / calibre-viewer-annotation

attempt to add annotation / highlight capability to calibre's ebook-viewer
68 stars 4 forks source link

help in installing annotator in calibre #1

Closed roteg closed 10 years ago

roteg commented 10 years ago

hi whacked, i really want this annotation in calibre, so i did everything like you wrote in steps 1-4 here: https://github.com/whacked/calibre-viewer-annotation#displaying-and-editing-annotations and now i'm in step 5 - i didn't understand where is HACKING IN JAVASCRIPT part that needed modifying.

the other needed tools are installed in these paths:

C:\calibre-master\ (-->https://github.com/kovidgoyal/calibre) C:\annotator-1.2.9\ (-->https://github.com/okfn/annotator/downloads/) C:\Python27\

will be grateful if you can help! sorry if iit's not the right place to ask - tell me.

whacked commented 10 years ago

Hi! I'm so sorry I have missed this notification! Let me know if you're still interested in getting this to work. I haven't visited this in a while but will be happy to tidy things up.

calibre has had several major updates since my last commit so I will need to double check.

whacked commented 10 years ago

Hi roteg, I pushed an update that works with calibre 2. The older code no longer works with up-to-date calibre.

elixir is a requirement for querying the database. I don't have experience installing it on windows, but I imagine it can be done this way:

  1. visit https://pip.pypa.io/en/latest/installing.html and get "pip" installed. You will probably need to use your command line program (cmd.exe) for this.
  2. thereafter you should be able to (also in the command line) install the required programs by running "pip install sqlalchemy" and "pip install elixir".

The tricky part is editing the paths for calibre to recognize where these libraries are installed. Unfortunately I don't know a straight forward way of doing this. I imagine the will be somewhere like C:\Python27\lib\dist-packages or something like that. The correct folder path will have both the directories named "sqlalchemy" and "elixir".

I don't know if you're still going to try this, but let me know if you need further help.

roteg commented 10 years ago

i think i give up for now..maybe i'll try it later, thanks :)

On Sat, Nov 15, 2014 at 2:45 AM, whacked notifications@github.com wrote:

Closed #1 https://github.com/whacked/calibre-viewer-annotation/issues/1.

— Reply to this email directly or view it on GitHub https://github.com/whacked/calibre-viewer-annotation/issues/1#event-193678013 .