TCPDF
pandoc
TCPDF | pandoc | |
---|---|---|
17 | 420 | |
4,038 | 32,449 | |
1.1% | - | |
5.6 | 9.8 | |
9 days ago | 5 days ago | |
PHP | Haskell | |
GNU General Public License v3.0 or later | GNU General Public License v2.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TCPDF
-
Intro to DOMPDF - lightest and simplest PHP library to generate PDF documents
Generating PDF documents out of your app's HTML output is a very common requirement and there are several open source libraries to accomplish this. I came across this need for my project recently and I evaluated many popular ones such as TCPDF, mpdf, FPDF, etc. But the one that truly stood up to my evaluation in terms of efficiency (minimal footprint) and ease of implementation was DOMPDF.
-
PDF generation in Laravel
Leveraging Laravel for PDF generation involves utilizing its built-in features or integrating third-party packages. The framework supports popular packages like dompdf and TCPDF, making it easy to implement PDF generation with minimal effort.
-
PostScript’s Sudden Death in Sonoma
TCPDF has full support for rendering an EPS into a PDF.
It can be fussy.
https://tcpdf.org/
-
Python to what?
Idk what’s the big problem. Maybe it’s just something like https://tcpdf.org ? Using that for years.
-
PHP chart libraries
Depending on if this is a web-based project or not this suggestion might not be suitable. But the last few projects like this I did that were web-based I have used Google Charts with TCPDF. I rendered the charts on the page as a "print preview", and since TCPDF supports basic HTML composition I saved out the charts as generated images and submitted them to the server which generates a PDF. Bit convoluted but that was what I came up with in a hurry.
- Create this template in .pdf format
-
pdf generation
Running a headless browser to render HTML is a resource intensive task. If you only need to generate simple documents, you're better off using a tool that generates PDF directly. In the old days we used FPDF and its successors (TCPDF was the most popular). Both seem to have recent releases. There's also mPDF , that seems to be another child of FPDF.
-
Create PDF from Excel.
You may want to look at a PDF library (Python/PHP/Perl/Java, etc.) You can do all you mention with a lot of flexibility. tcPDF comes immediately to mind, there is also a Python port. If you want to learn a language, i recommend python. Learning how to make a basic program when it is something that you want, and you know what you want is a great way to learn.
-
Bundling lots of .html files into a PDF?
I would also look at dompdf and tcPDF, they would have very advantages if you intend to revise/reprint your documentation.
-
How to insert MYSQL data in allredy prepared PDF document
The original site still has it available for download, but most importantly, a ton of examples and documentation, that while I haven't tried the github version, probably works based on the same as the old.
pandoc
-
Beautifying Org Mode in Emacs (2018)
My main authoring tool is then Emacs Markdown Mode (https://jblevins.org/projects/markdown-mode/). For data entry, it comes with some bells and whistles similar to org-mode, like C-c C-l for inserting links etc.
I seldom export my notes for external usage, but if it is the case, I use lowdown (https://kristaps.bsd.lv/lowdown/) which also comes with some nice output targets (among the more unusual are Groff and Terminal). Of cource pandoc (https://pandoc.org/) does a very good job here, too.
-
Show HN: I made a tool to clean and convert any webpage to Markdown
This is one of those things that the ever-amazing pandoc (https://pandoc.org/) does very well, on top of supporting virtually every other document format.
-
LaTeX makes me so angry at word
Folks feel the same way about Markdown versus LaTeX: why use something significantly more complicated where a looser, human-readable grammar works better?
For any other situations, I use https://pandoc.org/, or, generate a Word doc scriptomatically.
-
📓 Versionner et builder l'eBook de son Entretien Annuel d'Evaluation sur Git(Hub)
pandoc toolchain pour builder une version confortable/imprimable en phase de travail (ePub, pdf, docx, html)
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
Congrats on the launch, I guess, but there are so many free options that I can't think of a situation where paying $0.25 per document would be justified...? Just to name a few:
Back in the days, I used to use XSL-FO [0] and it was okay. It was not very precise but it rarely if ever broke, and was perfectly integrated with an XML/XSLT solution. Yeah, this was a long time ago.
Last month I used html-to-pdfmake [1] and it's also not very precise and more fragile, but very efficient and fast.
Yet another approach would be to pro grammatically generate .rtf files (for example) and use Pandoc [2] to produce PDFs (I have not tried this in production but don't see why it wouldn't work).
[0] https://en.wikipedia.org/wiki/XSL_Formatting_Objects
[1] https://www.npmjs.com/package/html-to-pdfmake
[2] https://pandoc.org/
-
Ask HN: Looking for lightweight personal blogging platform
Others have mentioned static site generators. I like Hakyll [1] because it can tightly integrate with Pandoc [2] and allows you to develop custom solutions if your needs ever grow.
[1]: https://jaspervdj.be/hakyll/
[2]: https://pandoc.org/
-
Show HN: CLI for generating beautiful PDF for offline reading
Have you compared it with a conversion by pandoc (https://pandoc.org/)?
-
Pandoc
I have used it to kickstart a blogging project that I wish to come back to soon. The Lua inter-op for custom readers, writers and filters is great but I wish there was more editor integration and even perhaps an official IDE/editor with built-in debugging features (probably something already do-able with Emacs but I haven't checked). The only blocker for my project is no support for "ChunkedDoc" for Lua filters [1] which forces me to write more code and a complicated Makefile.
[1]: https://github.com/jgm/pandoc/issues/9061
- I don't always use LaTeX, but when I do, I compile to HTML (2013)
- What Happened to Pandoc-Discuss?
What are some alternatives?
Dompdf - HTML to PDF converter for PHP
pandoc-highlighting-extensions - Extensions to Pandoc syntax highlighting
WKHTMLToPDF - Convert HTML to PDF using Webkit (QtWebKit)
obsidian-html - :file_cabinet: A simple tool to convert an Obsidian vault into a static directory of HTML files.
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
obsidian-export - Rust library and CLI to export an Obsidian vault to regular Markdown
tc-lib-pdf - TCPDF - PHP PDF Library - https://tcpdf.org
Obsidian-MD-To-PDF - A command line python script to convert Obsidian md files to a pdf
Snappy - PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage
kramdown - kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.
PHPJasper - A PHP report generator
wavedrom - :ocean: Digital timing diagram rendering engine