Talk:Reading/Web/PDF Functionality/2021
Add topic| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
About giving feedback
Update: (15 July 2019) We’ve launched the new PDF renderer. We’re looking at feedback, but haven't so far seen any significant issues. We might incorporate some suggestions, but want to note that this is not an ongoing project with continuous development. In other words, now that it's deployed and proven to work, the new renderer is entering maintenance mode. This page won’t be abandoned, but it could take a while before anyone reacts, simply because everyone's got so much else to do.
In terms of books, we've left it in the hands of volunteer developers and PediaPress. We'll be glad to reach out to them with questions, but we're not planning any involvement in terms of the technical implementation.
Cropping of Infobox text in pdf files
[edit]have logged this bug task on a Village Pump (Technical) post here Gfigs (talk) 07:55, 6 January 2021 (UTC)
- this is display problem with Infobox Template. see (Task T271288) Gfigs (talk) 11:42, 6 January 2021 (UTC)
- posted request for fix on Template talk:Infobox Gfigs (talk) 00:17, 7 January 2021 (UTC)
bigger font size is available for French Wikipedia?
[edit]Hi, here a French user asks for a bigger font size to download a PDF in French Wikipedia. Instead of Times New Roman 10 pt for the French version he would like a Times New Roman 12 pt, like in the English version of Wikipedia. PDF functionality allows him to customize the font size to his personal preferences? Una tantum (talk) 08:47, 3 November 2021 (UTC)
- This is not possible. —TheDJ (Not WMF) (talk • contribs) 10:02, 4 November 2021 (UTC)
- It's not possible to customize, do you meant? Alright, but why don't put the same size in differents wikis (e.g. 12pt as default in en.wiki and fr.wiki as well) ? Una tantum (talk) 10:19, 4 November 2021 (UTC)
- It is not possible to customise. They all use the same 'size' (the same print stylesheet), it's just that the renderer sometimes has to scale to make everything fit on one page. If the size is 'too small' it probably means you have something 'too wide' on the page. —TheDJ (Not WMF) (talk • contribs) 10:22, 4 November 2021 (UTC)
- Thank you, it's more clear for me now! Una tantum (talk) 10:45, 4 November 2021 (UTC)
- well with https://mediawiki2latex.wmflabs.org/ you can get the latex code and set the font size in the latex file, but you need to install debian linux and be familar with latex in order to do so. Otherwise you could choose A5 paper size and print on A4 paper with you printer, which has a similar effect Dirk Hünniger (talk) 13:40, 4 November 2021 (UTC)
- Hello, I have tried to copy the whole code of the French page of Wikipedia on the philosopher Michel Henry in my sandbox, in order to test suppressing the infobox (in the case where some "small" tag was not closed correctly in the generated code of the infobox). I have tested to dowload the PDF file of my sanbox copy of the whole article without any modification, and the default size of the texts font is correct, like in the Engish version ! Whereas it is very small and practically unreadable in the original French article on Michel Henry. The only differences between the initial article and my own sandbox copy are the "other informations" of the infobox that are not contained into the article code but automatically generated from Wikidata, as well as the { { Autorité } } and { { Bases } } informations that are automatically replaced in the "External Links" section, at the end of the article. Best regards. Phiippe Audinos. Philippe Audinos (talk) 14:33, 6 January 2022 (UTC)
- Confirmed, it's definitely Autorité. It uses "nowrap" on each of the entries. In print, an entry is postfixed with its actual url. This combination creates very long unwrappable content. Avoid nowrap at all cost on anything that is not like a number + unit (say 10 characters or so). Definitely don't use it on anything that contains links because those expand in print. And if you have to use nowrap then specifically cancel it out with a specific print stylesheet. —TheDJ (Not WMF) (talk • contribs) 10:53, 7 January 2022 (UTC)
- The { { Autorité } } and { { Bases } } have been replaced by { { Liens } } in the French article on Michel Henry in Wikipédia, but the default font size in the exported PDF file is always very small... Philippe Audinos (talk) 13:41, 24 January 2022 (UTC)
- @Philippe Audinos See the answer above: "If the size is 'too small' it probably means you have something 'too wide' on the page." 37.103.19.52 (talk) 13:46, 24 January 2022 (UTC)
- Many of the links in the references/footnotes are also wrapped with "nowrap" classes. As print expands the links to make them visible, that means you get very wide links in the page. —TheDJ (Not WMF) (talk • contribs) 20:07, 24 January 2022 (UTC)
- Thank you very much for these precious informations. In fact, the probem of font size appears in the generated PDF file when I add the identifier of the original article to my sand box copy on the "Liens", "Autorité" or "Bases" models. I think that your explanation is correct. This information has been transmitted to the "Autorité" model page in Wikipédia. Philippe Audinos (talk) 13:36, 25 January 2022 (UTC)
Charts
[edit]The rendering of charts (https://en.wikipedia.org/wiki/Module:Chart) is problematic when the chart is near the bottom of a page. On the current version of https://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:DownloadAsPdf&page=Insectivora&action=show-download-screen for instance, which includes a pie chart, the filling color starts as a square area at the bottom of page 3 while the circle is on the top of page 4 with the center of the circle where pie slices meet being shifted up, near the top of the circle. It is a bit hard to explain it with words (plus English is not my native language); just have a look to the PDF file rendered :) Totodu74 (talk) 15:12, 14 December 2021 (UTC)