-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MathJax zoom on displayed math #5
Comments
Dear Chris, Great to hear from you, and thanks for the report. In Firefox, I right-click on MathJax, then Math Settings > Zoom Trigger and see I just set the following temporarily in the configuration and I get a similar menuSettings: { If a MathJax display is too wide, we put a horizontal scrollbar on it. I wonder Thanks again, On 05/08/2014 08:03 PM, cmhughes wrote:
|
Hi Rob, After some digging, I believe the issue is with the following lines from http://aimath.org/mathbook/mathbook-modern-3.css
If they are cut/commented, then equations are allowed to zoom. According to the comments surrounding this part of the Chris |
Dear Chris, Yes, that's it. Michael DuBois (one of my students) has done some great work https://github.com/mxdubois/fcla-styles/blob/develop/scss/src/_mathbook.scss#L102 As an author, I really like (a) a fixed width on a rendered page, it helps readability (b) letting math go "too wide" and then getting a horizontal scrollbar But I would also like to support accessibility, so getting this to work We should have Michael's services this summer, so I will put this on his list. Thanks again for pointing this out. Rob On 05/09/2014 12:47 PM, cmhughes wrote:
|
See the discussion around mathjax/MathJax#749 (comment) |
Dear Peter, Thank-you very much for the pointer. I's complicated, I see. ;-) Your comments there make me wonder if stuffing the zoomed content into a knowl While an author should try to break lines of displayed mathematics sensibly, I'd Thanks again for pointing us in the right direction. Rob On 05/09/2014 02:01 PM, Peter Krautzberger wrote:
|
It's been a while since this thread had discussion. Here is the behavior I see now. I'm wondering if this is still an issue or if this can be closed. Chris's original example is gone now, so I can't compare exactly to what I see. I am looking at a large multiline equation that almost fills the central panel. If my screen is very wide, there is no need for scrolling. If I trigger the MathJax zoom, then it zooms fully and there is no cropping or need for scrolling. If I narrow my screen some, to the point where the un-zoomed content is still fully visible, but now the zoom box doesn't fit, then in the zoom box, I get a horizontal scroll bar. The zoom box is still tall enough for all of the rows. If I narrow my screen to the point where the un-zoomed content requires a horizontal scrollbar, then the zoom box is shorter than its content and has both horizontal and vertical scrolling. The vertically cutoff and scrolling seems unnecessary. Is this the only thing that is less than ideal at this point? |
Does seem to have improved greatly. But try this: Single-line displayed equation inside a knowl. Zoom factor 200%. Browser width Double-click to zoom and just get the top edge of the zoom box visible in the On 09/07/2015 04:29 PM, Alex Jordan wrote:
|
I see the same issue. Firebug tells me the zoom box I'm looking is: And if I directly change that But the point is, MathJax is in control here. These are inline CSS attributes within the actual zoom box. MBX's CSS can't overrule them. Maybe MathJax can be configured to help though. |
Do you read the [mathjax-users] group? I have a good live example (in AATA) though not minimal. I don't mind posting It seems like we are close to having this work well, and they might be Rob On 09/07/2015 05:50 PM, Alex Jordan wrote:
|
I don't receive updates, but it's in my list of "recently viewed". I could add it to my rounds of checking mathbook and ww-mbx. (I don't get updates on these either. For whatever reason I prefer to just drop in and catch up.) Might be good to (at least try to) rule out a MathJax config solution first. I'll post here if I do that. |
I read that newsgroup. It will be much appreciated if your posting, when The discussions on MathJax/javascript/etc are usually over my head, On Mon, 7 Sep 2015, Alex Jordan wrote:
|
I posted a question: https://groups.google.com/forum/#!topic/mathjax-users/lDSG0OQWPzk |
I just saw it, and will watch. On 09/07/2015 09:35 PM, Alex Jordan wrote:
|
David F just did some CSS edits that appear to address this. We checked in Firefox, Chrome, Safari. |
Thanks! |
Preprocess rq answer
Hi Rob,
This is a great project! We met last year (June 2013) in Vancouver at the WeBWorK coding camp.
I've been playing with the mathbook, and it works very nicely. I have noticed that when viewing the html version, if I enable Zoom factor for MathJax, then the displayed math mode gets cut off when zoomed in. I'm using the
sample-article.xml
; I've posted a screenshot here:http://spot.pcc.edu/~chughes/nozoom.png
It seems like the issue stems from:
http://aimath.org/mathbook/mathbook-modern-3.css
Do you have any insight on this?
Chris
The text was updated successfully, but these errors were encountered: