Page MenuHomePhabricator

PDF rendering: false position of graphics (2)
Open, Needs TriagePublic

Description

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

In wiki pages a graphic element often is positioned beside the text which it concerns to. The definition of the mentioned element is part of a template and represents the type of the template:

  1. Exclamation marks represent tips ("Hinweis").
  2. Light bulbs represent definitions.
  3. and so on

The PDF shows this little graphic before the text. The reader cannot see any reason why the graphic is shown. It should be positioned beside/inside the text. See the definition template and similar templates.

Maybe the same problem as in T121501 or caused by the two-columns area.

Look at error #3 on page 1 e.g. in appendix 2.

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 created this task.Dec 15 2015, 10:26 AM
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?

ovasileva moved this task from Triage to Tracking on the Proton board.Sep 11 2017, 12:13 PM
ovasileva edited projects, added PDF-Rendering; removed Proton.Feb 25 2019, 4:47 PM
TheDJ added a subscriber: TheDJ.EditedJun 4 2019, 1:15 PM

There is still an issue here with Proton. It seems the images of

  1. Exclamation marks represent tips ("Hinweis").
  2. Light bulbs represent definitions.

Are stripped for some reason, but they are not stripped in the print stylesheets...
The blue border IS present.

in PDF:

in Print style:

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptJun 4 2019, 1:15 PM