url_fetcherthat will translate
/static/…URLs into filenames and call the original
url_fetcherwith this filename
display: Nonequi fait que l’élément n’apparaît plus, c’est en effet un bug : Kozea/WeasyPrint#473
string-setqui est obsolète, je crois que j’ai déjà entendu cette histoire… Je ne crois pas que ce soit obsolète, c’est toujours dans le dernier brouillon de la spécification sans mention particulière https://drafts.csswg.org/css-content-3/#string-set
position: absolute; top: -1000pxou quelque chose équivalent, ça devrait fonctionner
pyproject.tomlusing Flit for dependencies management (you can use
python -m venvto create the virtual environment, and
venv/bin/pip install -e .to install the package
For the past couple of days I have been trying to implement weasyprint into my Django application and the setup was quit (w)easy and I was soon able to print pdfs but since my pages are full of math equations we use MathJax to convert them to SVGs but once I send markup to backend for printing I get empty spaces instead of equations. I have now spent countless hours trying to figure out how to fix that. That lead me to this Github thread (Kozea/WeasyPrint#59) where I learned that there is this thing called Pandoc that should, with Weasyprint, be able to do what I need but after another session of reading and researching I still don't understand how to get everything to work. And that brings me here, is there anyone who also tried to print HTML with math equations and if yes how have you done it? If no, is there anyone who can try and help me set this up, if its even possible to do it.
Note that I'm junior developer and some things are still hard to grasp for me.