Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Koreader: Add support for PDF in vocabbuilder #92

Merged
merged 4 commits into from
Jan 28, 2024

Conversation

RasmusRendal
Copy link
Contributor

@RasmusRendal RasmusRendal commented Sep 30, 2023

I found myself reading a PDF file recently, and I noticed VocabSieve wasn't importing the vocabulary from it. This PR fixes that, adding PDF to the list of supported filetypes.

EDIT: I see that this closes #75. I hadn't looked at that issue before opening this PR. For the concrete book I wanted to import data from, I did get the issue with a lack of spaces around the highlighted word. Additionally, I sort of had to ninja-edit the language field of the metadata in koreader while importing with vocabsieve.

@1over137
Copy link
Contributor

@RasmusRendal I rebased this and fixed some issues, can you please check if it works satisfactorily in a PDF book

@RasmusRendal
Copy link
Contributor Author

@RasmusRendal I rebased this and fixed some issues, can you please check if it works satisfactorily in a PDF book

I committed the crime of converting an epub to a pdf before sending it to my kindle, and importing vocab worked perfectly. 👍

@1over137 1over137 merged commit eac75ca into FreeLanguageTools:master Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KOReader Import not displaying PDFs, even after correcting metadata.
2 participants