home.social

#weasyprint — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #weasyprint, aggregated by home.social.

fetched live
  1. Il y a quand même un truc dont je suis méga fière avec @dubout_desbois c'est que notre pipeline de production des PDFs imprimeur est 100% libre.

    Une fois que l'autaire a écrit son bouquin comme iel veux, nous derrière on se base sur des fichiers #markdown et on utilise #pandoc et #weasyprint (de @[email protected]) pour faire la version PDF et EPUB du même coup

    Puis @inkscape pour faire la couverture, tranche et la quatrième.

    J'ai transpiré au moment d'envoyer les fichiers à l'imprimeur parce que c'était ma première fois et que je m'attendais à avoir des corrections à faire mais une demi heure plus tard le responsable PAO m'a confirmé que "les fichiers sont tout à fait corrects"

    Donc voilà, on peut faire une maison d'édition sans #Adobe avec que des #LogicielLibre. (On a d'ailleurs inclus une page à la fin du bouquin pour noter la référence des différents logiciels utilisés)

  2. Il y a quand même un truc dont je suis méga fière avec @dubout_desbois c'est que notre pipeline de production des PDFs imprimeur est 100% libre.

    Une fois que l'autaire a écrit son bouquin comme iel veux, nous derrière on se base sur des fichiers #markdown et on utilise #pandoc et #weasyprint (de @[email protected]) pour faire la version PDF et EPUB du même coup

    Puis @inkscape pour faire la couverture, tranche et la quatrième.

    J'ai transpiré au moment d'envoyer les fichiers à l'imprimeur parce que c'était ma première fois et que je m'attendais à avoir des corrections à faire mais une demi heure plus tard le responsable PAO m'a confirmé que "les fichiers sont tout à fait corrects"

    Donc voilà, on peut faire une maison d'édition sans #Adobe avec que des #LogicielLibre. (On a d'ailleurs inclus une page à la fin du bouquin pour noter la référence des différents logiciels utilisés)

  3. 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: news.speedata.de/2026/02/10/ty

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

  4. 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: news.speedata.de/2026/02/10/ty

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

  5. @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. 🙂

  6. @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. 🙂

  7. 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

  8. 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

  9. 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

  10. 🚀️ Saltimbanque v1.2.2 released!

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

    ➡️ github.com/wanadev/saltimbanqu

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

  11. 🚀️ Saltimbanque v1.2.2 released!

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

    ➡️ github.com/wanadev/saltimbanqu

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

  12. 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

  13. 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

  14. Ce soir, je devais aller au meetup python, mais en fait, c'est un meetup pdf #weasyprint merci @courtbouillon

  15. @Mindiell C'est ça. Parce que ce qu'il manque, ce n'est pas tant les alternatives -- on a par exemple #WeasyPrint de @courtbouillon, ou @pagedjs de @julieblanc et @julientaq, #Scribus, ou encore @pandoc.

    Ce qui manquait jusqu'à présent, c'est le pont entre ces alternatives et InDesign, parce qu'il y a des personnes qui sont aujourd'hui coincées sur les logiciels d'Adobe. Ça propose une transition vers ces alternatives, ou du moins c'est l'idée.

  16. J'ai trouvé un cas d'usage pour #pagedjs : export pdf de mon support de présentation fait avec remarkjs
    Vu que remarkjs génère les diapos à partir d'un contenu markdown, #weasyprint (que j'utilise d'habitude) ne peut pas me faire un PDF, car il n'interprète pas le javascript
    Pagedjs se fait dans un moteur de navigateur.
    J'ai dû repasser les diapos en 4:3 mais sinon, rien à signaler, le signal est propre !
    Merci @julientaq et @julieblanc pour les causeries pagedjs ce week end aux @jdll #jdll2025

  17. J'ai trouvé un cas d'usage pour #pagedjs : export pdf de mon support de présentation fait avec remarkjs
    Vu que remarkjs génère les diapos à partir d'un contenu markdown, #weasyprint (que j'utilise d'habitude) ne peut pas me faire un PDF, car il n'interprète pas le javascript
    Pagedjs se fait dans un moteur de navigateur.
    J'ai dû repasser les diapos en 4:3 mais sinon, rien à signaler, le signal est propre !
    Merci @julientaq et @julieblanc pour les causeries pagedjs ce week end aux @jdll #jdll2025

  18. @dbushell <3 now I don't have to remember the 210mm×297mm any more!

    Also, <3

  19. @dbushell <3 now I don't have to remember the 210mm×297mm any more!

    Also, #weasyprint <3

  20. От jsPDF к Chrome: решение сложной задачи рендеринга PDF с таблицами

    Кейс про генерацию PDF из HTML страницы с таблицами. Расскажу какие решения пытался применить, с какими проблемами пришлось столкнуться и как удалось сгенерировать корректный PDF.

    habr.com/ru/articles/880620/

    #jsPDF #WeasyPrint #PDF #pdftk #Chrome #HTML #Puppeteer #wkhtmltopdf #Рендеринг_pdf

  21. 🌐 Nouveau site sur le web ! mon-espace.inge-plus.fr/

    L'objectif est d'accompagner des étudiant⋅es de BTS pour intégrer un cursus d'ingénierie, via des missions personnalisées et des échanges avec des intervenants tout au long de leur parcours.

    🐍 backend django avec #wagtail (CMS)
    💨 frontend en #tailwindcss
    📜 génération de pdf #weasyprint (@courtbouillon ! Trop efficace)
    💬 chat intégré et notification automatique
    🙈 anonymisation des étudiant⋅es

    Un beau projet, merci Grenoble INP !

  22. New blog post: How to create TTRPG character sheets in HTML and CSS! This is my favorite way to create character sheets for games, because as a software developer, I'm just a huge text nerd. (I also use `entr` to make the rebuilding process completely painless).

    If you wanna make character sheets in pure text with HTML and CSS, then give this a read: thecloudtender.com/2025/01/21/

    #ttrpg #ttrpgDesign #html #css #weasyprint

  23. The correlations between #typesetting engines to their #terminal text editors are irrefutable:

    * #TeXLaTeX is #emacs.
    * #SILE is #neovim.
    * #Typst is #helix.
    * #WeasyPrint is #nano.
    * #Speedata is #microeditor

    Now back to your regularly scheduled indentation.

  24. The correlations between #typesetting engines to their #terminal text editors are irrefutable:

    * #TeXLaTeX is #emacs.
    * #SILE is #neovim.
    * #Typst is #helix.
    * #WeasyPrint is #nano.
    * #Speedata is #microeditor

    Now back to your regularly scheduled indentation.

  25. I've been experimenting with a #Markdown-to-#PDF-via-#HTML pipeline via #Pandoc and #WeasyPrint.

    Hey, #designers who rage over tiny accumulated differences in font metrics and layout algorithms? I feel you now.

  26. Wow, just found huge progress on #Weasyprint, a Python-based HTML-to-PDF converter. Last time I looked at it, it was sorely missing a bunch of current CSS support that we really wanted to use on a project -- things like CSS grid, paged media support for headers and footers, and a bunch of other things.

    Fast forward a few years, and it looks like all of that has been steadily incorporated, so it's past time for us to try it out again! Kudos to @courtbouillon for all the hard work!

  27. Zastępowanie #html5lib w Pythonie idzie super. Póki co:

    #bleach włączył kopię do źródeł (jakiś czas temu) i usunął zależność od six
    #rdflib sforkowało ją do "html5rdf", usunęło zależność od six i włączyło webencodings
    #WeasyPrint stworzyło własną bibliotekę #tinyhtml5

    Ale widocznie nikt nie jest już zainteresowany przejęciem właściwej biblioteki i opieką nad nią.

    github.com/pypi/support/issues

    #Gentoo #Python #PyPI

  28. #html5lib replacements in #Python are going great. So far:

    #bleach vendored it (a while ago) and removed six
    #rdflib forked it into "html5rdf" project, removed six and vendored webencodings
    #WeasyPrint created its own #tinyhtml5 as a replacement

    But apparently nobody is interested in properly taking it over and maintaining going forward.

    github.com/pypi/support/issues

    #PyPI #Gentoo

  29. #html5lib replacements in #Python are going great. So far:

    #bleach vendored it (a while ago) and removed six
    #rdflib forked it into "html5rdf" project, removed six and vendored webencodings
    #WeasyPrint created its own #tinyhtml5 as a replacement

    But apparently nobody is interested in properly taking it over and maintaining going forward.

    github.com/pypi/support/issues

    #PyPI #Gentoo

  30. Pandoc 3.4 has been released 🎉

    Pandoc (the universal markup converter) changed the default PDF engine via HTML from wkhtmltopdf (now deprecated) to WeasyPrint (written in Python) which is the easiest-to-install, maintained alternative 🐍

    pandoc.org/releases.html#pando

    #Markup #Python #Converter #WeasyPrint #PDF #HTML #Pandoc #OpenSource #FreeSoftware

  31. 🆕 pandoc 3.4
    • New output format: ansi (for formatted console output).
    • Command line options --table-caption-position and --figure-caption-position to place captions (in #HTML, #EPUB, #TeXLaTeX, #Docx, #ODT, #Typst)
    • The default PDF engine for HTML is now #WeasyPrint
    • --number-offsets works with docx output
    And more
    #pandoc
    github.com/jgm/pandoc/releases

  32. TIL @courtbouillon

    They conceive high-quality #OpenSource 👏🏻

    #WeasyPrint the awesome document factory
    #CairoSVG convert your vector images
    #tinycss2 a tiny CSS parser
    #pydyf a low-level PDF creator
    #Pyphen hy-phen-ation made easy
    and many more…

    Support them 👇🏻
    opencollective.com/courtbouill

  33. 🔶️ Libération de Saltimbanque

    Cette semaine chez Wanadev on a libéré Saltimbanque, un petit service Web qu'on utilise en interne pour générer des PDF depuis des documents HTML (derrière ça utilise #WeasyPrint, une super bibliothèque développée par @courtbouillon)

    ➡️ github.com/wanadev/saltimbanqu

    C'est vraiment pas grand-chose et il y aurait plein d'améliorations à faire, mais si ça peut dépanner quelqu'un... 😁️

    #freesoftware #opensource #python

  34. @rk the other two options would be #SILE and #typst.

    Other follow-ups groupings would also be mashups like #speedata / prince / etc. and browser tech options like #weasyprint / #pagedjs / etc.

    See also polytype.dev for some comparisons I was/am working on.

  35. @haplorhini @user8e8f87c Ich habe letztens gelesen (nicht getestet), dass @pandoc auch eine andere PDF engine zum Rendern verwenden kann, nämlich troff (was die man pages macht!?):

    fosstodon.org/@pandoc/10946612

    Ich nutze sonst den HTML-export und konvertiere das HTML mit #weasyprint (kleines #Python Paket) zu PDF.

    Beide Varianten sollten resourcenschonend sein.