-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature request: provide command line tool #1
Comments
Legit :) |
Implemented!🥰 If you install pdfitdown == 0.0.2 you will have the command line tool! (See README for examples) |
👍😊 Gratitude for the 'pdfitdown' tool! Your innovation makes PDF management a breeze. 🌟 Thank you! 💌📄 |
bin/pdfitdown -i ../line.md -o ../line.pdf |
I do not know how to give you other errors, just see segmentation fault. |
Can you send me the files you are using for it, so that I can try to reproduce it? :) |
Hi! So the issue is related to the PyMuPdf version used by markdown-pdf: being <1.24.6, it is not able to handle empty headings (such as the one at line 59 in your markdown file), and so it produces segmentation fault. See this issue to know more. Nervetheless, I am going to implement a temporary fix (until markdown-pdf does not fix the issue itself) in the next release :) |
For temporary fix, see README |
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. I guess I can only wait |
I have tested it now, it gives very nice output. |
Links are underlined though not working, I guess it is intentional? |
Yep, pdfitdown for now is intended for textual data ingestion (e.g. for uploading text to vector dbs for RAG apps), and so it does not crearte functional links. This may change withb future releases, tho :) |
Hi @gnusupport, just to let you know, pdfitdown v0.0.4 has native support for PyMuPdf v1.25.1 so you don't have to do the workaround that was necessary for previous versions🥰 |
Yes, I am using it, it generates PDF, and I can use it without links. For sure I need time to reach point where I can use it for LLM training, for now is useful for documents out of that scope. |
Just as
markitdown
I suggest you provide a command line tool for PDF conversions.The text was updated successfully, but these errors were encountered: