Add cnam-thesis template for Quarto#2044
Conversation
Added cnam-thesis template for Cnam doctoral theses with PDF/A-1b and HTML support.
|
Successfully created backport PR for |
Thx a lot, I really appreciate !
Yes, this was my starting point : a (bad) LaTeX template I had the habit of fixing for my PhD students. Now this is over thanks to Quarto ;-)
Nope, this is full LaTeX / Lua / Quarto based. I have a collegue which is very active as a user and contributor with Typst, but he never convinced me to switch using it ;-) |
Really interesting ! A happy LaTeX user ! Cool ! Do not hesitate to open issues if some stuff required workaround for make your template work. |
Speaking of that : Quarto's PDF callouts use tcolorbox transparency (opacityback = 0 and opacitybacktitle = 0.6), which generates native PDF transparency operators that are forbidden by the PDF/A-1b standard (ISO 19005-1). Since my template zinc75/quarto-cnam-thesis targets PDF/A-1b compliant thesis output (which is required for a deposit on theses.fr), I had to think of workarounds for this, either with a custom Lua filter that flattens the colors: opacityback = 0 becomes colback=white, and opacitybacktitle = 0.6 is replaced by a pre-computed solid color like quarto-callout--color!10!white — visually almost identical, no transparency needed, or by flattening using ghostscript as a postfilter, which is far from ideal as it make the rendered PDF file much bigger. Either ways, this is not ideal since it duplicates logic that should belong to Quarto itself. If you think a native fix makes sense (e.g. a configuration to disable transparency in callouts and a fallback to flattened equivalent colors), I'm happy to open an issue on https://github.com/quarto-dev/quarto-cli if required. |
This is worth an issue in quarto-cli repo if none already |
Added cnam-thesis template for Cnam doctoral theses with PDF/A-1b and HTML support.