PDF Glossary Exporter v0.2.0 Download (Patreon)
Downloads
Content
Important Compatibility Notice (2023):
This is a fairly old build of PDF Glossary Exporter and as such unfortunately suffers from a couple of compatibility issues with recent versions of Anki. I am working on new version of the add-on that will address these, but until then, the workarounds below will hopefully help bridge the gap:
- Exporting directly to PDF will likely not work on recent Anki revisions. As a workaround please export your deck to HTML first, and then print it to PDF by opening the HTML file in your web browser of choice (e.g. Chrome) and then printing it.
- On even more recent versions of Anki, the export options might not appear at all in the deck export menu. You can restore them by enabling the old deck export system. To do so, please head into Anki's main preferences by clicking on Anki → Preferences (or Tools → Preferences on Windows/Linux. Switch to the Editing tab, and then finally set the checkmark at Legacy import/export handling. After closing the Preferences window and restarting Anki, the deck export options should hopefully reappear..
My sincere apologies about the inconvenience!
The original post follows below:
----------------------------
For more information on this release please also see the earlier release announcement.
Changelog
Important: When exporting decks to PDF, right now only .jpg images will display correctly. This is due to an elusive issue deep within the PDF exporting library that has turned out to be incredibly difficult to locate and fix. For maximum compatibility please stick to the HTML export functionality for now. All images should work there.
Added
- Anki 2.1 support!
- Exported cards are now sorted chronologically by note ID and card order
- New one-column format for HTML exports
- Ability to use a custom font for PDF exports by placing a `font.ttf` file in the add-on's `user_files` directory. This should allow users to add support for CJK and other non-latin character sets when needed.
- HTML exports now come with a proper header across all pages
Fixed
- Improve performance in export type selection dialog
- Make sure to create user.css file
Changed
- Refactored and simplified add-on structure
- Updated third-party libraries to their latest version, which should hopefully result in a lot of bug fixes and improvements
Known Issues
Image export in PDFs seems to be broken for some formats at the moment. Even across extensive testing I have not been able to determine the cause for this, yet. It seems like the issue is located somewhere deep in the support libraries used for PDF generation.Unfortunately this does not bode well for the current approach we use for PDF exports, and it could mean that we might have to switch to a completely new method in the future.For the time being I would recommend that you stick to the HTML export options for any decks that depend on images.
Installation
Please make you're running at least Anki 2.1.10 (earlier releases do not support drag-and-drop installations).
Then, as usual, you can simply drag and drop the .ankiaddon file onto your add-on list, as showcased in this GIF.
Please let me know if you run into any issues whatsoever!