Collective playcard generating time!

Git cheatsheet

git pull

git status

git log

git add filename.txt

git commit -m "my short summary of what has changed"

git push

Generate playcard.pdf with Weasyprint

We are using Weasyprint version 52.5 on the Soupboat. The latest version is 54.1 (https://github.com/Kozea/WeasyPrint/releases), but from version 53 on you need to have libpango version 1.44 installed, and on the current version of Raspian OS (the operating system of the Soupboat) we can only have libpango version 1.42. So we will stay with Weasyprint v52.

$ sudo pip3 install weasyprint==52.5

You can use Weasyprint as a Python library or from the command line.

Weasyprint as Python library

Weasyprint from the command line

https://doc.courtbouillon.org/weasyprint/stable/

https://weasyprint.org/

https://pzwiki.wdka.nl/mediadesign/Paged_Media_CSS_examples