-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 Cambridge latex style resources #2187
Conversation
Since the current d2lbook does not support |
Job d2l-en/PR-2187/1 is complete. |
This pr depends on PR56 of the d2lbook repository. |
Job d2l-en/PR-2187/2 is complete. |
@astonzhang Now all cambridge latex resources are downloaded and extracted through the S3 link. |
Job d2l-en/PR-2187/3 is complete. |
Job d2l-en/PR-2187/4 is complete. |
Job d2l-en/PR-2187/6 is complete. |
Job d2l-en/PR-2187/7 is complete. |
Job d2l-en/PR-2187/8 is complete. |
Job d2l-en/PR-2187/10 is complete. |
Job d2l-en/PR-2187/11 is complete. |
Job d2l-en/PR-2187/9 is complete. |
Job d2l-en/PR-2187/12 is complete. |
Avoid editing sphinx.sty, changes are moved to sphinx_template.py of d2lbook.
it is not necessary for now.
Job d2l-en/PR-2187/13 is complete. |
Job d2l-en/PR-2187/14 is complete. |
Job d2l-en/PR-2187/15 is complete. |
Job d2l-en/PR-2187/16 is complete. |
Job d2l-en/PR-2187/17 is complete. |
config.ini
Outdated
|
||
latex_logo = static/logo.png | ||
main_font = Source Serif Pro | ||
sans_font = Source Sans Pro | ||
mono_font = Inconsolata | ||
|
||
bibfile = d2l.bib | ||
style = default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add new entries latex_url
and style
to https://github.com/d2l-ai/d2l-book/blob/master/d2lbook/config_default.ini? Please set style = default
in config_default.ini so we can remove this line.
Job d2l-en/PR-2187/18 is complete. |
Job d2l-en/PR-2187/19 is complete. |
will be removed later
Job d2l-en/PR-2187/20 is complete. |
Job d2l-en/PR-2187/21 is complete. |
@d2l-bot please rebuild |
update sphinxlatexlists.sty to the latest version to support mxnet pdf compilation.
Job d2l-en/PR-2187/30 is complete. |
Job d2l-en/PR-2187/31 is complete. |
Great job, thanks! |
Description of changes:
(1) Rewrite some sphinx default latex functions and styles.
(2) The cambridge latex style is downloaded automatically. Here, I photoshopped two images (included in latex_style directory) based on alex's suggestions.
(3) The d2l-ai/d2l-book#56 of d2l-book is dependent on this pr.
To ensure the smoothness of the qr code generation process, please do not use any special characters in the URL, otherwise, it won't go through. You can easily replace the special characters with URL encoding. please refer to: https://www.urlencoder.io/learn/
To use this style, please specify the style in the config.ini of d2l-en.
style = cambridge
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.