Joined: Oct 2007
Posts: 4,582
Thanks:
0
Woohoo! It works (From my first comment, not that Wired thingy)! Well, I use Foxit Reader, so the format is different: For the card in Anki, use the HTML Editor to make a link: <a href="path to pdf" -n [pagenumber here, no brackets]>link</a>!
I guess if you store a copy of the relevant documents in the .media folder, that'll simplify things, but as a trivial tangent, sharing might be problematic, unless there's a way to make it go to the .media folder regardless? Otherwise I guess you'd have to do a find/replace on the exported deck or something, no big deal...
Edit: And I guess with .doc files, you'd need to insert a bookmark then create a link to that...
Edited: 2010-04-21, 3:19 am
Joined: Mar 2010
Posts: 65
Thanks:
0
Fine, fine, reject my wired marker add-on with scorn then. :-p
Joined: Jul 2008
Posts: 702
Thanks:
0
The html command is...
<a href="document.pdf#page=3">Text of link/a>
or, if you have set a named destination in your PDF (bookmarks point to named destinations) you can link to it like this...
<a href="document.pdf#introduction_section">Text of link</a>
You can't have spaces in the address string, and obviously you cant pass parameters outside the parentheses like in your first attempt.
edit: I'm not sure if Anki will support this as it uses Webkit, which often is a bit less full-featured than a browser.
edit2: this functionality is in adobe acrobat, but probably not any other PDF reader, so you'll have to have Acrobat set as your default for PDFs.
Edited: 2010-04-22, 4:08 am
Joined: Oct 2007
Posts: 4,582
Thanks:
0
@Blahah - I already wrote all that above, but thanks. ;p
Joined: Jul 2008
Posts: 702
Thanks:
0
Whoops... I'll just follow you around the forums confirming everything you say...
Joined: Oct 2007
Posts: 4,582
Thanks:
0
It just occurred to me if I turn the pdf pages to images via conversion or screenshots, I could have the images on the cards (either as part of the usual card or solo as an Anki 'Book' somehow w/ each card a page) or set it up so they're off the card but still linked from the card, maybe. Does Anki let you create clickable links to other cards (like how there's a link to a card when you create new cards and it says '1 card added etc'? Or perhaps you can link to hard drive images via Anki so when you click them they open in the default image browser?
Speaking of which, if you can create links from card to card, that could make for interesting strategies, re: my card chain idea from way back when... hmm...
Edited: 2010-10-15, 4:00 pm