-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
add link to PDF manuals in doc/html/index.html #4460
Comments
Attachment: trac_4460_pdf_links.patch.gz Includes pdf.png |
comment:1
To generate the icon I used ImageMagick:
|
Author: Mitesh Patel |
comment:4
Note: attachment: trac_4460_pdf_links.patch depends on the trac_6485_website_links.patch at #6485. |
comment:5
Can someone check the form and function of the updated page in multiple browsers on Mac OS X? |
comment:6
This is with both Safari and Firefox on a Mac. If I open the file SAGE_ROOT/devel/sage/doc/output/en/index.html, the links work fine. On the other hand, if I click on the "Help" button from the notebook, then click on "Fast static versions of the Documentation", then the I see pdf links but they don't work: I get messages like "The resource /pdf/en/tutorial/SageTutorial.pdf cannot be found." |
Apply only this patch. |
comment:7
Attachment: trac_4460-pdf_links_v2.patch.gz Replying to @jhpalmieri:
Thanks very much for catching this. I think v2 covers both the static and offline docs. Aside: In the drive for internationalization, perhaps we should instead map Correction: That should be
|
comment:8
Looks good to me.
I have no opinion about this, but if you want to do something about it, let's move it to another ticket. |
Reviewer: John Palmieri |
Merged: Sage 4.1.1.alpha1 |
comment:10
Is there an option to turn off this linking to the PDF version of the documents from the HTML version? Currently, we distribute the standard documentation in two standalone formats: as PDF and as HTML; see http://www.sagemath.org/help.html The HTML version currently doesn't link to the PDF version, and I think there should be an option to stay with the current situation. If I understand the patch correctly, there is no option to turn off the linking to the PDF version (correct me if I'm wrong). That would be unfortunate as we would need to build both the HTML and PDF versions and distribute them as one single compressed (huge) file. |
comment:11
That's a good idea. With the patch at #6187, it should be straightforward to add a command-line option that selects, in effect, a different layout for the "website" document. I'll try to implement this soon. I don't mind side-lining this ticket for another update and review. |
Apply only this patch. |
comment:12
Attachment: trac_4460-pdf_links_v3.patch.gz Version 3 adds an option
Since #6187 awaits further inspection, I suggest that we keep waiting on this ticket. Meanwhile, feel free to populate the website's empty sidebar. Quick references? |
comment:13
The new patch |
comment:14
Replying to @sagetrac-mvngu:
No problem. I'll wait until there's more feedback on #6187. |
comment:15
It seems that |
add doc/en/website/static/pdf.png to MANIFEST.in |
Changed merged from Sage 4.1.1.alpha1 to none |
comment:16
Attachment: trac_4460-manifest.patch.gz I'm reopening this ticket since the patch
mpatel: Can you please open another ticket for the patch |
comment:17
Looks good. Sorry I missed this the first time around. |
comment:18
Replying to @sagetrac-mvngu:
Absolutely. Please see #6653. |
Merged: Sage 4.1.1.rc0 |
comment:19
Merged:
|
Changed reviewer from John Palmieri to John Palmieri, Minh Van Nguyen |
Adding a link to the PDF versions of the manuals from the /html/index.html page. Both, useful locally and on the website. But I don't know how this page is generated (i get errors or nothing happens) and it isn't even under revision control. Here my improvised patch:
An enhancement would be to link to each .pdf file directly, something like "link to html (PDF)" for each link.
Component: documentation
Author: Mitesh Patel
Reviewer: John Palmieri, Minh Van Nguyen
Merged: Sage 4.1.1.rc0
Issue created by migration from https://trac.sagemath.org/ticket/4460
The text was updated successfully, but these errors were encountered: