A2PDF is an unofficial PDF converter for Anki SRS learning cards. It accepts Anki deck exports in text format and outputs two PDF files per deck:
Key features:
Open Anki. choose File - Export - with the following settings:
Export into the directory you just created.
If your deck contains any images you want to include, you have to copy those into the export directory manually before running the program.
Start A2PDF on the command-line:
java -jar a2pdf.jar PATH_TO_DECK_FILE PATH_TO_OUTPUT_FILE
with:
PATH_TO_DECK_FILE (required): the absolute path name of the deck file you just exported, eg. C:\anki\deckname.txt.
PATH_TO_OUTPUT_FILE (optional): the absolute path name of the target file. If you choose not to set this, A2PDF will save to your system’s temporary directory.
You may edit template_front.txt and template_back.txt in the application directory to change PDF appearance.
This requires a basic understanding of HTML and/or CSS. For example, you can resize the text on your cards by changing the font-size attribute.
While PDF export works great for simple cards, here are some limitations:
Please feel welcome to fork this project on Github, send pull requests and report any bugs you come across.
This software makes heavy use of the Flying Saucer library which is available at https://code.google.com/p/flying-saucer/
A2PDF Copyright (C) 2013, Bjoern Zielke This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.