Trying to port the most current #Weasyprint implementation to Rust 🙃 #python
@Radio_Azureus I've been a regular user of #pandoc for years. I'm a heavy user of all things open source but #pandoc is probably in the Top 10. Combined with #python, #jinja, some custom #css and of course #weasyprint I have an extreamly versatile publishing workflow.

Typst does 500 pages in 157 milliseconds. My own engine needs 4.4 seconds. So why would anyone use the slower tool?

Because "how many pages per second" is the wrong question. The right question is "how many pages until you need a human to check."

I wrote up the full benchmark with 6 PDF engines: https://news.speedata.de/2026/02/10/typesetting-benchmark/

#speedatapublisher #typst #fop #TeXLaTeX #weasyprint #benchmark

I benchmarked 6 PDF engines — the fastest is not the one I’d pick

I’m building a typesetting engine for a living (speedata Publisher). People keep asking me “why not just use Typst?” or “isn’t WeasyPrint good enough?” and I never had a good answer with real numbers. Just gut feeling. So I decided to actually measure it. I set up a simple benchmark, same document with all six tools. And what I learned was maybe not what I expected. The setup The task is simple: a mail merge. You have an XML file with name and address records, you fill in a letter template, and you get a PDF out. One page per letter, with a logo, sender info, recipient address, and some body text. Nothing special, really every tool should be able to do this.

Pour créer des fichiers PDF avec #Weasyprint. Intéressant, ça se fait en ligne de commandes.

https://rodolphe.breard.tf/article/generer-des-pdf-en-utilisant-html-et-css/

Son article m'a surtout donné envie de replonger dans le #latex .

#pdf #commandline #html #css

Générer des PDF en utilisant HTML et CSS

Il existe plein de manière de générer des documents PDF. Lorsqu’on n’a pas beaucoup de connaissance technique ou bien une certaine flemme, on utilise généralement un logiciel de traitement de texte tel que LibreOffice ou OnlyOffice. Les vrais nerds ainsi que les personnes ayant besoin de générer des documents de manière automatisée auront plutôt tendance à utiliser LaTeX. Bien qu’étant dans cette dernière catégorie de personnes, j’ai toujours détesté LaTeX qui, malgré ses nombreux avantages, est très difficile à prendre en main et surtout à styliser. Depuis pas mal d’années j’ai donc totalement abandonné LaTeX au profit de langage que je connais bien et avec lesquels j’ai d’excellents résultats : HTML et CSS.

Accueil
@david 5Go parce que tu tires LaTeX en dépendance ? Mes disques se sentent beaucoup mieux depuis que je suis passé à #weasyprint comme moteur de rendu PDF dans mon utilisation de Pandoc. 🙂

Last Wednesday, my fellow XPUB1 classmates and me wrapped up the trimester with a collective folding, binding, and paginating party to make A_Mazing Machine[s]: Wordscapes to Liberate Language, the printed publication of our Special Issue 28!

My first few months at @xpub have been incredible. I am so proud of my classmates, the work we did together, and what we learned. I am also very grateful to our tutors, who have been super kind and inspiring!

All information, plus a PDF of the printed version, made with WeasyPrint is available on this Eleventy website we created to share all the things that we explored. It mirrors our incredible, legendary wiki. It was very interesting and insightful, so I published my notes about Using MediaWiki as a CMS for Eleventy.

#WeasyPrint #WebToPrint #Web2print #SI28 #SpecialIssue28 #SpecialIssue #XPUB #ExperimentalPublishing #publishing #WritingMachines #Eleventy #builtWithEleventy #11ty #MediaWiki #wiki

Editer des livres sous Linux c'est quand même une dinguerie. J'ai trouvé un outil qui utilise Pandoc et WeasyPrint pour produire epub et PDF d'une manière très souple et personnalisable (genre, avec du CSS au lieu de LaTeX, incroyable.)

Sauf qu'au moment de mettre des notes de bas de page ben... La syntaxe markdown qui fait des belles notes de bas de page en epub ne passe pas du tout avec WeasyPrint qui lui s'appuie sur la syntaxe html/CSS.

Je vais m'éclater demain pour faire une regex pour passer d'un format à l'autre. 🙃

#Pandoc #WeasyPrint #epub #pdf #edition #MicroÉdition #markdown #latex

🚀️ Saltimbanque v1.2.2 released!

Saltimbanque provides an HTTP API to convert Web pages to PDF using #WeasyPrint

➡️ https://github.com/wanadev/saltimbanque/releases/tag/v1.2.2

This version brings official support for #Python 3.14 and replaces setup.py/setuptools by pyproject.toml/flit

Release Saltimbanque v1.2.2 · wanadev/saltimbanque

misc: Replaced setup.py + setuptools by pyproject.toml + flit (@flozz) misc: Added Python 3.13, 3.14 support (@flozz) misc!: Removed Python 3.8, 3.9 support (@flozz)

GitHub

The new ebook plugin for Typemill has a remote service to generate PDFs and an aditional ebook theme with a fancy 2-column layout.

The remote pdf generation is powered by #WeasyPrint now as an alternative to the browser based generation with #pagedjs

#ebooks #print #pdf #publishing