There are lot of ways a PDF collection may be used. Most of the languages in the world don't have textbooks. Providing them is strategic and part of our vision. Downloading a bunch of articles from wikivoyage and making a travel guide is another one. Showing the articles made by a group of students to the school director so they appreciate the length of the work is another one. Building collections for readers who can't access a computer or Internet is another one... As said, this is something ot was made and now is broken, not a new feature.

2022(e)ko api. 21(a) 11:45 erabiltzaileak hau idatzi du (Gergő Tisza <gtisza@gmail.com>):
On Wed, Apr 20, 2022 at 11:14 PM Galder Gonzalez Larrañaga <galder158@hotmail.com> wrote:
We may differ in what was first: abandoning it or closing it, but the process is available at phabricator.

What was first was regular production incidents caused by OCG, which would have required a rewrite (and to some extent rearchitecting) to operate smoothly. That would have been a major project, plus the service had a constant maintenance cost (it was a node.js service, and node is relatively maintenance-heavy), and the WMF did not want to maintain two different renderers forever.
 
We migh also have a different view on priorities, but a Foundation with 100 million dollars in a vault can pay for someone to solve this issue, no doubts.

Yes, or the money (probably a quarter-year work for a team, at least, so that might be something like $300K?) can be used on something else. There are a huge number of things to spend money on, and IMO it's hard to argue for the strategic importance of PDF book rendering. It wasn't used much, it would have been work-intensive to maintain  (every new wikitext feature would have required special handling for the LaTeX transformation, and there are all kinds of wikitext/HTML constructs which are not easy to express in LaTeX), and there isn't much value in a PDF of Wikipedia articles when the originals are freely available over the internet (and for people with difficulties accessing the internet, there are better alternatives).
(Personally, I don't think Proton was worth the investment, either - it doesn't give much value beyond the PDF generation that most browsers are already capable of doing.)
 
By the way: the Proton PDF render is also failing if the article has a gallery. But no one cares about it. It used to work, it was broken, and no one was responsible for the fail.

I assume that refers to T209837?
The drawback of Proton is that since it uses a headless browser for PDF rendering, there isn't much room to influence how the rendering goes (beyond CSS tweaks or upstream bug reports), so issues like that might not be easily fixed. (OTOH it at least displays galleries, which OCG didn't.)