flyingsaucer
asciidoctor-web-pdf
flyingsaucer | asciidoctor-web-pdf | |
---|---|---|
6 | 9 | |
1,931 | 434 | |
1.3% | - | |
9.6 | 0.0 | |
4 days ago | 7 days ago | |
Java | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
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.
flyingsaucer
-
CSS for Printing to Paper
I have been creating print labels with plot/cut lines using css and I used browsers to covert it to PDF. The experience was terrible. While all was perfect on my 1-page proof print, both large browsers messed up the final document (with a few hundred labels on several pages).
Firefox forgot to render images after a few pages. So on some labels the barcodes were not printed.
Chrome looked good at the fist glance. But it turned out that the plot/cut lines (which I created via CSS borders) had been shifted by 1-2mm on _some_ pages. Result was garbage.
I finally switched to https://github.com/flyingsaucerproject/flyingsaucer which is a high quality HTML/CSS to PDF library. Only drawback is that it only supports CSS 2.1, so some fancy features are not supported like rotating text.
-
Htmldocs: Typeset and Generate PDFs with HTML/CSS
I've used flying saucer pdf[1] for this in the past, but the missing piece always seems to be a descent WYSIWYG template editor. Either open source or paid.
Any suggestions on a web solution that allows non-devs to make great templates would be appreciated.
Historically I've built something simple with Tiny and added a preview button to render, but that super clunky.
[1] https://github.com/flyingsaucerproject/flyingsaucer
-
is thymleaf still used
Same, we also use it in conjunction with Flying Saucer PDF to produce PDF reports.
- How do i convert html file to pdf file using java(fx)?
-
Is Jasper still the best Report Engine?
Personnaly, I'm a big fan of Flying Saucer.
-
Is there a Kotlin-first library to create PDFs?
Not Kotlin first, but I use Flying Saucer (LGPL licenced) in Java.
asciidoctor-web-pdf
-
CSS for Printing to Paper
I've been test-driving the web pdf build tool for Asciidoc, asciidoctor-web-pdf[1], for a few years, which uses Paged.js as the template engine before CSS PMM has its go. I like it - I like it a LOT[2] - but Puppeteer-Chrome bugs breaks the build on the regular, or requires a rework of templates. So the web-pdf team started just releasing docker images that include a tested Chromium version (among other things), so as to keep that from being such a PITA. Which is fine. Howaaaayyyyyyyver . . that shines a spotlight on a problem with this workflow: the dependency on browser rendering kit.
[1] https://github.com/ggrossetie/asciidoctor-web-pdf
-
Writerside – a new technical writing environment from JetBrains
https://github.com/ggrossetie/asciidoctor-web-pdf
I encourage everyone to take a look at the documentation; this is the markup language I now use for all my personal and professional projects.
-
HTML, CSS, JAVASCRIPT?
https://github.com/ggrossetie/asciidoctor-web-pdf (this is an implementation of Paged.js +CSS for the Asciidoc markup language, as an alternative to asciidoctor-pdf [Ruby/Prawn] or asciidoctor-fopub [Docbook-XSL].)
-
MkDocs vs Confluence
We're currently ironing out the bugs for parallel AsciiDoc > PDF generation for downloadable/offline versions anyway, so once that's sorted we can use those for review again. Much as I hated writing book-style PDF help docs, Acrobat's commenting/review features are actually pretty hard to replace.
-
Why isn't there a free tier of MadCap Flare for sample projects or self learning?
Asciidoctor-web-pdf https://github.com/Mogztter/asciidoctor-web-pdf for web-based PDF with Paged.JS and CSS.
-
Will knowing AsciiDoc be a resume booster?
You'll get extremely consistent output from Asciidoc, but I'm not gonna lie: customizing format is going to be a learning curve no matter what compared to MSO. Tweaking either 1) asciidoctor-pdf's yaml themes, 2) docbook-xsl overrides, or 3) asciidoctor-web-pdf's CSS and JS (via Paged.js Paged Media Module implementation). And if your parent org uses Office365 up and down the chain, Word publishing can be automated . . fairly well. You'll still get some surprises, but it's Word. It's the lingua franca for a reason.
-
help creating reusable content system from scratch?
How you turn including files into deliverables, there's a few paths, but HTML is the "natural" output, and PDF can be made with a few different tools depending on what the output format is required to look like. DocBook-XSL is a more complex but configurable processor, while the Ruby-based asciidoctor-pdf is the easier, more Honda-like option. I'm pretty fond of the "web-pdf" method (https://github.com/Mogztter/asciidoctor-web-pdf) which uses Paged.js and CSS to style the print document, but your mileage may vary depending on your CSS comfort level.
-
Beautiful PDFs from HTML
Asciidoctor has a web PDF tool that just went alpha a little bit ago, uses the same stack as the OP's thingie.
https://github.com/Mogztter/asciidoctor-web-pdf
The content handoff goes like this: Asciidoc (using defined roles) generates HTML5 (Pagedjs polyfills page areas / pagination stuff), CSS styles stuff, and Puppeteer runs a headless Chromium for the pdf render. It's straight from CSS GCPM W3C spec, a flavor of CSS Paged Media, drafts that have been percolating since frickin' 2006 but have never seen browser implementation.
-
A tool to create slides using Markdown easily for you
Just use asciidoc.
E.g.
- https://github.com/Mogztter/asciidoctor-web-pdf/tree/master/...
What are some alternatives?
iText - [DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7
ReLaXed - Create PDF documents using web technologies
Apache PDFBox - Mirror of Apache PDFBox
MathJax - Beautiful and accessible math in all browsers
Open HTML to PDF - An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
markdeep-thesis - Write your (under)graduate thesis with Markdeep and typeset it right in your browser.
Apache FOP - Apache XML Graphics FOP
Code-Server - VS Code in the browser
OpenPDF - OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
pdf - Tutorial on paged.js
Dynamic Jasper - Dynamic Reports using Jasper Reports
WeasyPrint - The awesome document factory