-
Notifications
You must be signed in to change notification settings - Fork 14
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
Change the fonts in the docx / odt documents #156
Comments
The odt version should be taken care of and documented with 4063488 |
The docx version seems more challenging. Cf. jgm/pandoc#6728 and attempt with 174d641 (the template uploaded is simply the original template, not edited.) |
If this last change needs to be reverted, undo c819ae0 and pick back https://github.com/csci-1301/csci-1301.github.io/blob/174d64171f6b72664a7c41df8cff2e24627b9dfb/templates/docx/custom-reference.docx |
Ok, with docx template, I receive this error:
So, it seems that using and embedding custom fonts for docx results in a website too heavy for github. |
Not embedding any font, the website is ~43 MiB and the zip archive is ~38 MiB (according to the logs). |
After some optimization, the website is down to ~28 MiB and the archive to ~23 MiB. This may be enough to embed the fonts in the documents. |
Odt template goes from 11.8kio to 664 kio if I embed the fonts Hack and URW_Gothic in it. |
The docx template goes from ~10kio to …3.4 MiB :-/ |
Changing the fonts in the docx / odt documents to URW Gothic and Hack requires, if I understand correctly, to
Some additional guidance may come from https://stackoverflow.com/questions/34600141/how-to-specify-the-font-used-for-word-doc-exported-using-pandoc.
The text was updated successfully, but these errors were encountered: