[PR #112] [MERGED] Make sure EPUB generation work #1813

Closed
opened 2026-04-11 08:08:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/112
Author: @V0XNIHILI
Created: 12/10/2023
Status: Merged
Merged: 12/11/2023
Merged by: @profvjreddi

Base: mainHead: feat/add-book-generation


📝 Commits (10+)

  • be5b09d Make sure epub and pdf generation work by moving include-in-header + configuring epub + pdf generation
  • 98a7f57 Download webp image, convert it to png and save it as webp images cause problems with PDF generation via LaTeX
  • 7e0474f Make sure tinytex is installed during build and increase buf size for xelatex so pdf can be generated
  • 3d0cbb2 Use different cloud tpu image because it keeps crashing the PDF generation
  • 1b80ba2 Replace all
    by
    to enable correct rendering in EPUB format
  • 6a2ae08 Replace two single quotes by one double quote
  • b32aac5 Add two figures to project that had issues to be downloaded automatically for the book/PDF generation
  • 37842ba Replace {\textbar} LaTeX character with correct ascii character in references
  • 4d6a0e5 Merge remote-tracking branch 'upstream/main' into feat/add-book-generation
  • 63553ca Ignore generated Mermaid files for EPUB

📊 Changes

13 files changed (+38 additions, -35 deletions)

View changed files

📝 .gitignore (+3 -1)
📝 _quarto.yml (+5 -4)
📝 contents/dl_primer/dl_primer.qmd (+3 -3)
contents/dl_primer/images/jpg/activation-functions3.jpg (+0 -0)
contents/dl_primer/images/png/Rosenblattperceptron.png (+0 -0)
contents/dl_primer/images/png/ai_dl_progress_nvidia.png (+0 -0)
📝 contents/efficient_ai/efficient_ai.qmd (+6 -6)
📝 contents/frameworks/frameworks.qmd (+2 -2)
📝 contents/hw_acceleration/hw_acceleration.qmd (+4 -4)
📝 contents/ondevice_learning/ondevice_learning.qmd (+3 -3)
📝 contents/optimizations/optimizations.qmd (+7 -7)
📝 contents/privacy_security/privacy_security.qmd (+5 -5)
images/imgs_embedded_ml/cloud_ml_tpu.jpg (+0 -0)

📄 Description

Resolves #83. I hope to have this working tomorrow! For now, running into issues with the formats of some images.

Before submitting your Pull Request, please ensure that you have carefully reviewed and completed all items on this checklist.

  1. Quarto Website Rendering

    • The chapter has been locally built and tested using Quarto.
  2. Final Steps

    • The Pull Request is made with a clear title and description.
    • The Pull Request includes any necessary labels or tags.
    • The Pull Request mentions any stakeholders or reviewers who should take a look.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/112 **Author:** [@V0XNIHILI](https://github.com/V0XNIHILI) **Created:** 12/10/2023 **Status:** ✅ Merged **Merged:** 12/11/2023 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `main` ← **Head:** `feat/add-book-generation` --- ### 📝 Commits (10+) - [`be5b09d`](https://github.com/harvard-edge/cs249r_book/commit/be5b09dbec53c3d4d6a1398a89b6f6d9a6f5f402) Make sure epub and pdf generation work by moving include-in-header + configuring epub + pdf generation - [`98a7f57`](https://github.com/harvard-edge/cs249r_book/commit/98a7f57f1db2223c061aad84e1dc13a2678ebd06) Download webp image, convert it to png and save it as webp images cause problems with PDF generation via LaTeX - [`7e0474f`](https://github.com/harvard-edge/cs249r_book/commit/7e0474f612cbfc5ca8263fa6e0c1f13622e5ef43) Make sure tinytex is installed during build and increase buf size for xelatex so pdf can be generated - [`3d0cbb2`](https://github.com/harvard-edge/cs249r_book/commit/3d0cbb28367545385cc7bdcf08aeac6379dd5eaa) Use different cloud tpu image because it keeps crashing the PDF generation - [`1b80ba2`](https://github.com/harvard-edge/cs249r_book/commit/1b80ba28e30c3ff4a716825564be2bb5bcb10339) Replace all <br> by <br/> to enable correct rendering in EPUB format - [`6a2ae08`](https://github.com/harvard-edge/cs249r_book/commit/6a2ae08666edda95b03acd2e7e3a719a9953380c) Replace two single quotes by one double quote - [`b32aac5`](https://github.com/harvard-edge/cs249r_book/commit/b32aac5647e134cb3afbc989e4ca90204e4a45f0) Add two figures to project that had issues to be downloaded automatically for the book/PDF generation - [`37842ba`](https://github.com/harvard-edge/cs249r_book/commit/37842ba73380cd2c297aa7873157f41e9aa43663) Replace {\textbar} LaTeX character with correct ascii character in references - [`4d6a0e5`](https://github.com/harvard-edge/cs249r_book/commit/4d6a0e5c31a0f337d504883fbf5ad451fc2ee906) Merge remote-tracking branch 'upstream/main' into feat/add-book-generation - [`63553ca`](https://github.com/harvard-edge/cs249r_book/commit/63553ca3bb757eca9f458f8cdc3c8407801f1d7d) Ignore generated Mermaid files for EPUB ### 📊 Changes **13 files changed** (+38 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -1) 📝 `_quarto.yml` (+5 -4) 📝 `contents/dl_primer/dl_primer.qmd` (+3 -3) ➕ `contents/dl_primer/images/jpg/activation-functions3.jpg` (+0 -0) ➕ `contents/dl_primer/images/png/Rosenblattperceptron.png` (+0 -0) ➕ `contents/dl_primer/images/png/ai_dl_progress_nvidia.png` (+0 -0) 📝 `contents/efficient_ai/efficient_ai.qmd` (+6 -6) 📝 `contents/frameworks/frameworks.qmd` (+2 -2) 📝 `contents/hw_acceleration/hw_acceleration.qmd` (+4 -4) 📝 `contents/ondevice_learning/ondevice_learning.qmd` (+3 -3) 📝 `contents/optimizations/optimizations.qmd` (+7 -7) 📝 `contents/privacy_security/privacy_security.qmd` (+5 -5) ➕ `images/imgs_embedded_ml/cloud_ml_tpu.jpg` (+0 -0) </details> ### 📄 Description Resolves #83. I hope to have this working tomorrow! For now, running into issues with the formats of some images. Before submitting your Pull Request, please ensure that you have carefully reviewed and completed all items on this checklist. 3. **Quarto Website Rendering** - [x] The chapter has been locally built and tested using Quarto. 7. **Final Steps** - [x] The Pull Request is made with a clear title and description. - [ ] The Pull Request includes any necessary labels or tags. - [x] The Pull Request mentions any stakeholders or reviewers who should take a look. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-11 08:08:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#1813