Page MenuHomePhabricator

PDF rendering: false typographic emphases by template
Closed, ResolvedPublic

Description

A PDF file created by bookcmd=render_article&writer=rdf2latex contains a lot of errors. This task replaces T121349 detail #7 and #8.

The templates "Mathe für Nicht-Freaks" use different textstyles for the first word and the details in parantheses:

  1. "Satz" and "Beweis" should be typed <strong>, not "normal" - see error #7 on page 4 in appendix 2.
  2. "Definition" is strong (correct), but the text in parantheses should be italic, not bold - see error #8 on page 5 in appendix 2.

Template definitions see here:

How to check the problem

  1. MathML in user preferences / appearance.
  2. de-Wikibooks chapter "Komplexe_Zahlen/_Darstellungsformen" - the requested page (Internet Explorer 11 isn't able to show correct formulas using MathML)
  3. Use Print/Preview/Print of the browser (here: Firefox 42.0) - every part of the page is printed correctly (IE isn't able to show any formulas)
  4. Use Special:Book render_article rdf2latex and store the created pdf file.
  5. Appendix 1 F3079535 is the created pdf file without any change.
  6. Appendix 2 F3079554 shows the error described above.

Multiple occurrencies of the same fault aren't marked normally. More errors are described in other tasks. (In appendix 2 there are additional faults caused by convertion to OpenOfficeGraph odg but irrelevant to MediaWiki problems.)

Event Timeline

Juetho raised the priority of this task from to Needs Triage.
Juetho updated the task description. (Show Details)
Juetho added a project: Collection.
Juetho added subscribers: StudiesWorld, Juetho, Aklapper.
Jdlrobson added a subscriber: Jdlrobson.

Is this still going to be an issue with the new Proton service?

Version with Proton

Seems fixed, but a bit hard to judge from a screenshot at that font size. error 8 "should be italic" no longer seems true for the current versions of the article, but see no reason why that problem should still exist.

Screenshot 2019-06-04 at 15.36.46.png (456×818 px, 70 KB)

Screenshot 2019-06-04 at 15.36.40.png (374×708 px, 48 KB)