-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Enable MathJax in the TOC of Sage reference manual and documentation website #29993
Comments
Branch: u/klee/29993 |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Author: Kwankyu Lee |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:11
Fails to merge. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:16
Is there a reason why we want to enable mathjax on the TOC? Maybe the idea is that perhaps we have been omitting putting tex in the TOC before for some reason, and now we can? Or is there perhaps a particular reason? |
comment:17
It looks okay to me. I don't understand the changes in the themes; can you explain those? |
comment:18
Replying to @davidlowryduda:
There have been maths in the TOC, like p-adic and SL_2(Z). I guess they were not in tex just because mathjax didn't work. This ticket solves the problem. |
comment:25
Replying to @kwankyu:
This is fixed now, by somewhat ad-hoc manner. Along the way, I also resurrected the Sage reference manual website for pdfs, which has been broken (I might be guilty for this). |
comment:26
Would you mind changing |
comment:27
Replying to @jhpalmieri:
Of course, not. Thank you.
Okay. |
comment:28
To check the documentation website for pdf docs, run:
and open Running
generates a not-so-useful file |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:32
The html version looks good, but I'm having problems with the PDF. You should be able to run
|
comment:33
Replying to @jhpalmieri:
Did you run
I think you are seeing the old version. |
comment:34
Replying to @kwankyu:
This works, but it should not be necessary: I ran both if format == 'pdf':
# First build the website page. This only takes a few seconds.
getattr(get_builder('website'), 'html')()
The version I see has (for example) the new sentences "Welcome to the Sage reference manual. Here you find documentation for all of |
comment:35
Attachment: index.html.gz Replying to @jhpalmieri:
Strangely
Right. It is strange. The file |
comment:36
Replying to @kwankyu:
I withdraw this assertion. It is quite confusing... |
Attachment: index.2.html.gz local/share/doc/sage/pdf/en/reference/index.html |
comment:37
I added the file |
comment:38
I don't know why, but would you try specifically?
|
comment:39
Replying to @jhpalmieri:
I now see what have happened to you. You did not run Please try again. This time you run Still the PDF icon would not appear. This problem existed before this ticket, I think. Anyway, this copies the PDF icon to the right place:
Notice that "copying static files...". Then reload |
comment:40
To see clearly the problem of the PDF icon: Running Running |
comment:41
Replying to @kwankyu:
You're right, this fixed it.
Right, that's what I said in comment:32. It would be nice to fix that, too. |
comment:42
Replying to @jhpalmieri:
I would love to see it fixed. But I have no idea of how to fix it. Do you have? I suggest to fix it separately, and not to delay this ticket. |
comment:43
I created a ticket for the PDF icon problem: #30418. |
Reviewer: John Palmieri |
comment:44
Okay, let's merge it. |
Changed branch from u/klee/29993 to |
We do that. The trick is to add :math: role somewhere. Try to find it :-)
We also reorganize the TOC a bit while we are at it. In particular,
CC: @slel @jhpalmieri
Component: documentation
Author: Kwankyu Lee
Branch/Commit:
6c881bc
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/29993
The text was updated successfully, but these errors were encountered: