-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
\textdegree macro not working #3170
Comments
The |
Corrected; does not change problem. |
works for me here https://jsbin.com/wokumonuti/1/edit?html,output |
Ah, OK thanks. (Though note your example has the Is there no way to get it through the |
The I will be looking into why As for the |
Thanks for the help. BTW I also tried including |
|
I figured out what was causing the I have made a PR to resolve the issue. |
Thanks, and apologies for my errors. Trying to add |
No apologies needed. Your report lead me to fix an important issue in the require/autoload processing. |
Fix \require to properly handle retries in dependencies. (mathjax/MathJax#3170)
Issue Summary
MathJax showing \textdegree macro in red in math even though textcomp extension documented to contain it is required.
Also fails if textcomp explicitly loaded (though docs suggest require should be sufficient).
Steps to Reproduce:
Sample html file:
Technical details:
Seen in Chrome on MacOS.
Config details in sample file above.
Console shows
tex-chtml.html:12 Uncaught SyntaxError: Unexpected token ';'
though this does not appear to affect other equations from the demo.
Notes
I know many alternatives for showing a degree symbol so can rewrite the formula. However I have inherited content with legacy LaTex authored using the
\textdegree
macro and would like to understand why it does not work before changing all occurrences.Documentation suggests
\textdegree
is included in the textcomp extension. Have not gotten any textcomp macro to render in these math expressions, suggesting perhaps something is wrong with the configuration, but can't see what the error is.The text was updated successfully, but these errors were encountered: