kanji koohii FORUM
Anki pdf plugin? - Printable Version

+- kanji koohii FORUM (http://forum.koohii.com)
+-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html)
+--- Forum: General discussion (http://forum.koohii.com/forum-8.html)
+--- Thread: Anki pdf plugin? (/thread-4243.html)



Anki pdf plugin? - Shingo - 2009-10-23

I was just wondering if there was a plug-in for Anki which would allow you to export your deck as a list of facts in pdf form.

For instance:

Tag-name:

Q:
A:

Q:

A:

Tag-name

Q:
A:

Q
A:

etc.

I was after this because I have started making notes on things other than Japanese and although I make great effort to have many back-ups of my files, it would be nice periodically to have a paper form I could print and keep with those subjects.


Anki pdf plugin? - Nii87 - 2009-10-23

You can export it as an excel file. It shouldn't be too difficult doing some excel magic to get it into your desired format after that.


Anki pdf plugin? - xaarg - 2009-10-23

Yeah can also generate HTML output like so:
Code:
sqlite3 mydeck.anki "select question,answer from cards" |\
perl -ne 's/^(.*)\|(.*)$/<b>Q:<\/b> $1<br><b>A:<\/b> $2/; print' \
> output.html
Using a virtual PDF printer with your favorite browser should turn it into a PDF file.


Anki pdf plugin? - Shingo - 2009-10-23

Ah, ok thanks, is it a plug-in I need then to export to excel?

I'm sorry xaarg, but that went over my head, i'll try and get the excel export working first.


Anki pdf plugin? - xaarg - 2009-10-23

Shingo Wrote:Ah, ok thanks, is it a plug-in I need then to export to excel?
Excel can import the text files that Anki exports (File|Export...|Export format: Cards/Facts in tab-separated text file).