Rendering in the docs #5
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: suzanne.soy/scribble-math#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I notice that the
$$
example in docs renders incorrectly?The example is:
The resulting equation is in display mode as expected, but the letters
i
,x
andn
are not in italics?Thanks for the report, this may be browser-dependent. I think MathJax does not work equally well in all modes (SVG, HTML+CSS, MathML) on all browsers, so the configuration may need a tweak.
Attached is a picture of what I see on Chromium 57.0.2987.110 (64-bit), Linux, and the fonts look OK.
Can you send me a screenshot + browser version and OS?
Also, when you right-click → inspect or similar somewhere on the page (not on the equation, these should have their own menus), can you check in the JavaScript/Network console for any error or warning messages?
Thanks!
The screenshot is from Google Chrome on macOS Version 59.0.3071.115 (Official Build) (64-bit).
A quick test in Google Chrome Canary shows the same.
The JavaScript console shows this error:
Failed to load resource: http://docs.racket-lang.org/scribble-math/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js?V=2.7.1
the server responded with a status of 403 (Forbidden)
FWIW Safari Version 10.1.1 (12603.2.4) behaves the same:
/Jens Axel
Ah, on my system it's accessing a different file:
So for some reason it's trying to use the STIX fonts and not the TeX ones (whatever these are).
The version of MathJax in this library is made more lightweight by removing some files which are (normally) not necessary, I must have forgotten a flag which disables these STIX fonts. I'm looking into this right now.
Okay, the configuration was listing the
STIX
andTeX
fonts as available, but actually onlySTIX-Web
andTeX
are available. I hopefully fixed the configuration, I'll ping you back once it's rebuilt (tomorrow) to check whether the display got fixed.Cool. Btw - did you see Dmitri Pavlov's post on the mailing list? He asks
about equation numbering.
/Jens Axel
2017-07-07 17:01 GMT+02:00 Georges Dupéron notifications@github.com:
--
Jens Axel Søgaard
The docs renders correctly now.
Thanks!