https://bugzilla.wikimedia.org/show_bug.cgi?id=40042

       Web browser: ---
             Bug #: 40042
           Summary: PDF renderer bug with the chem tag
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: PdfBook
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


I think I have found a bug in the wikipedia PDF renderer. 

Go to this page: http://en.wikipedia.org/wiki/Bicarbonate. In the chemistry box
on the right, there is the "Properties" section with "Molecular formula" as the
first record. This record has the value of "CHO_3^-".

Now download the PDF of the page. You will see that in the PDF the same record
has the incorrect value of "CHO". The same applies to
http://en.wikipedia.org/wiki/Carbonate, where "CO_3^2-" becomes "CO" in the
PDF. 

This does <u>NOT</u> apply to non-ions like
http://en.wikipedia.org/wiki/Sulfuric_acid, so I think that the problem are the
superscripts, while subscripts cause no problems. 

Particularly, it should be the "{{Chem|text|subscript|superscript}}" tag. If
there is no superscript, the PDF is rendered correctly. If there is the
superscript, the renderer seems to ignore both the sub and the super scripts.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to