-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
use easy/load.js when loading jsmath in the notebook #4714
Comments
comment:1
Copied from jason:
|
comment:3
A few *estions:
|
comment:4
This is misfiled (should be under "documentation"). |
comment:5
After #5799, we have two copies of the |
comment:6
Replying to @qed777:
See #6614 for a potential resolution. |
comment:7
The latest patch at #6614 tells Sphinx to copy jsMath directly from If we're not adding new doc macros frequently, we could just paste them from (Note: Sphinx 0.6.2 supports HTML themes, including static templates. It's tempting to create a template On the notebook: I believe we can move nearly all jsMath directives from I'd really like to get moving on this, provided there's agreement. Of course, we can split this into two tickets, [at least] one each for the docs and notebook. Thoughts? |
Minimal approach for docs. Depends on #6614. |
comment:8
Attachment: trac_4714-minimal_doc.patch.gz This p(r)oof of concept, which depends on a patch at #6614,
The new static file is jsMath's "stock" I think this means we don't need to patch the spkg. Later, we may be able to use Sphinx 0.6.2's static templates to insert an updated macro list at build time (cf. #6586). Perhaps we can do something similar for the notebook, e.g., in |
comment:10
See this comment (and the next one) at #6673 for a suggested path to "unification." |
Consolidate jsMath setup. Apply to sagenb repository. Apply only this patch. |
comment:12
Attachment: trac_4714-sagenb_jsmath_init.patch.gz The patch attachment: trac_4714-sagenb_jsmath_init.patch consolidates jsMath setup in The patch still hard-codes the |
Author: Mitesh Patel |
Hard-code jsMath macros. Apply to sagenb repository. |
comment:13
Attachment: trac_4714-sagenb_hard_code_macros.patch.gz I've reattached attachment: trac_4714-sagenb_hard_code_macros.patch, since my first try didn't work (server problems?). |
Work Issues: rebase |
Rebased. See the comment for the queue. Apply only this patch. sagenb repo. |
comment:19
Attachment: trac_4714-sagenb_jsmath_init_v2.patch.gz Rebased against this sequence:
|
Changed work issues from rebase to none |
Attachment: trac_4714-sagenb_jsmath_init_v3.patch.gz Force jsMath to load always. This patch only. sagenb repo. |
comment:22
Version 3:
|
This comment has been minimized.
This comment has been minimized.
comment:23
Looks good to me. |
comment:24
I merged this patch into sagenb-0.4.6. |
Merged: sagenb-0.4.6 |
Reviewer: William Stein |
The patch
consolidates jsMath setup in
/javascript/jsmath.js
. It depends on #6673.CC: @jhpalmieri @TimDumol @williamstein
Component: notebook
Author: Mitesh Patel
Reviewer: William Stein
Merged: sagenb-0.4.6
Issue created by migration from https://trac.sagemath.org/ticket/4714
The text was updated successfully, but these errors were encountered: