Skip to content

Koreader: Add support for PDF in vocabbuilder#92

Merged
1over137 merged 4 commits intoFreeLanguageTools:masterfrom
RasmusRendal:koreaderpdf
Jan 28, 2024
Merged

Koreader: Add support for PDF in vocabbuilder#92
1over137 merged 4 commits intoFreeLanguageTools:masterfrom
RasmusRendal:koreaderpdf

Conversation

@RasmusRendal
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@RasmusRendal
Copy link
Copy Markdown
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