Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
[deleted comment]

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
[deleted comment]

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
This 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?

Original comment by [email protected] on 5 Jul 2013 at 6:23

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Reference 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 <mstyle> tag.  
So maybe I should be generating a top-level <mstyle> tag with 
displaystyle="true"?

Original comment by [email protected] on 8 Jul 2013 at 5:55

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Here's the DocBook for the equation at the top of page 112:

<informalequation><mml:math mode="display" overflow="scroll" 
xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:munder><mml:mo>∑
</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:mo>-</mml:mo><mml:mo 
form="prefix">log</mml:mo><mml:mi>σ</mml:mi><mml:mo>-</mml:mo><mml:mfrac><mml:m
n>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:msup><mml:mfenced open="(" 
close=")" 
separators=""><mml:mfrac><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi
></mml:msub><mml:mo>-</mml:mo><mml:mi>μ</mml:mi></mml:mrow><mml:mi>σ</mml:mi><
/mml:mfrac></mml:mfenced><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></in
formalequation>


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.

Original comment by [email protected] on 9 Jul 2013 at 8:01

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
From 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:

<book role="animal-ah61">

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.

Original comment by [email protected] on 10 Jul 2013 at 1:41

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Added

<book role="animal-ah61">

to Renderers/DocBook/Themes/book/default-layout.xml


Original comment by [email protected] on 10 Jul 2013 at 1:44

from thinkstats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Ok, I am declaring this "good enough" and closing the issue.

Original comment by [email protected] on 11 Jul 2013 at 6:17

  • Changed state: Fixed

from thinkstats.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.