
thinkstats - issue #6
thinkbayes DocBook: display math is too small and looks terrible
display math is too small and looks terrible
Comment #1
Posted on Jun 25, 2013 by Happy RhinoComment deleted
Comment #2
Posted on Jun 25, 2013 by Happy RhinoComment deleted
Comment #3
Posted on Jul 5, 2013 by Happy RhinoThis is much better now that the attributes generated in tralics are getting passed along and rendered in the MathML generated by plasTeX.
Only two remaining issues I see:
1) Sqrt symbol is too heavy, but that seems to be a MathML thing.
2) The Sigma and Pi for \sum and \prod are too small. Looks like displaystyle is not getting propagated?
Comment #4
Posted on Jul 8, 2013 by Happy RhinoReference on displaystyle
http://www.w3.org/TR/REC-MathML/chap3_4.html
Looks like it can be an "part of the environment inherited by the rendering process of every MathML expression". Looks like it is set in an tag. So maybe I should be generating a top-level tag with displaystyle="true"?
Comment #5
Posted on Jul 9, 2013 by Happy RhinoHere's the DocBook for the equation at the top of page 112:
∑i-logσ-12xi-μσ2
Two issues: the minus sign should be treated as a prefix operator, so the space between - and log should be smaller.
And the sigma should be bigger.
Comment #6
Posted on Jul 10, 2013 by Happy RhinoFrom Sanders:
We're now testing an upgraded version of the MathML rendering that should resolve the issues below, but it's still experimental, so we're triggering it with a new "role" on the book element:
Would this be something you could generate in your DocBook output? If so, I'd recommend doing that moving forward to make sure you're seeing our latest and greatest MathML rendering.
Anyway, I regenerated a PDF using that "role" and you can grab the results on the Atlas dashboard. Take a look and let me know if the equation on page 112 looks good to you now.
Comment #7
Posted on Jul 10, 2013 by Happy RhinoAdded
to Renderers/DocBook/Themes/book/default-layout.xml
Comment #8
Posted on Jul 11, 2013 by Happy RhinoOk, I am declaring this "good enough" and closing the issue.
Status: Fixed
Labels:
Type-Defect
Priority-Medium