asciidoctor-web-pdf VS WeasyPrint

Compare asciidoctor-web-pdf vs WeasyPrint and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
asciidoctor-web-pdf WeasyPrint
9 43
433 6,610
- 2.1%
0.0 9.4
7 days ago 8 days ago
JavaScript Python
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

asciidoctor-web-pdf

Posts with mentions or reviews of asciidoctor-web-pdf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-03.
  • CSS for Printing to Paper
    15 projects | news.ycombinator.com | 3 Mar 2024
    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
    3 projects | news.ycombinator.com | 23 Oct 2023
    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?
    1 project | /r/technicalwriting | 7 Aug 2023
    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
    1 project | /r/technicalwriting | 10 Jul 2023
    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?
    1 project | /r/technicalwriting | 26 Jan 2023
    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?
    1 project | /r/technicalwriting | 5 Jan 2023
    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?
    1 project | /r/technicalwriting | 28 Sep 2022
    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
    13 projects | news.ycombinator.com | 4 Apr 2021
    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
    9 projects | news.ycombinator.com | 4 Feb 2021

WeasyPrint

Posts with mentions or reviews of WeasyPrint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.

What are some alternatives?

When comparing asciidoctor-web-pdf and WeasyPrint you can also consider the following projects:

ReLaXed - Create PDF documents using web technologies

ReportLab

MathJax - Beautiful and accessible math in all browsers

PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

markdeep-thesis - Write your (under)graduate thesis with Markdeep and typeset it right in your browser.

WKHTMLToPDF - Convert HTML to PDF using Webkit (QtWebKit)

Code-Server - VS Code in the browser

QuestPDF - QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.

pdf - Tutorial on paged.js

PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.

reveal-md - reveal.js on steroids! Get beautiful reveal.js presentations from any Markdown file