[PR #830] [MERGED] Chapter 4_dnn_architectures_labeling and referencing code blocks #9662

Closed
opened 2026-05-08 10:36:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/830
Author: @hzeljko
Created: 5/28/2025
Status: Merged
Merged: 5/29/2025
Merged by: @profvjreddi

Base: devHead: chapter-4


📝 Commits (5)

  • 05021e9 Chapter 4_dnn_architectures_labeling and referencing code blocks
  • f2eef80 Update header-includes.tex
  • a7f8ca6 Defines Crimson color
  • 4288f91 Removes obsolete color definition.
  • af6cb3c Merge branch 'dev' into chapter-4

📊 Changes

3 files changed (+343 additions, -56 deletions)

View changed files

📝 _quarto.yml (+2 -2)
📝 contents/core/dnn_architectures/dnn_architectures.qmd (+306 -50)
📝 tex/header-includes.tex (+35 -4)

📄 Description

  1. Implementation of reliable code block referencing in HTML and PDF output

  2. Disabled cap-location: margin in quarto.yml to prevent side captions for codelisting floats in PDF output. Kept margin captions for figures and tables using fig-cap-location and tbl-cap-location.

  3. Refined codelisting float behavior in header-includes.tex: adjusted float placement to !htb, reduced spacing before/after captions and verbatim blocks, and customized Highlighting environment layout for tighter PDF output.

Before submitting your Pull Request, please review and complete the items on this checklist.

  • The text has been proofread for grammar and spelling errors.
  • All images, figures, and tables render properly without any glitches.
  • All images have a source or they are properly linked to external sites.
  • The chapter's formatting is consistent with the rest of the book.
  • The chapter has been locally built and tested using Quarto.

🔄 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/830 **Author:** [@hzeljko](https://github.com/hzeljko) **Created:** 5/28/2025 **Status:** ✅ Merged **Merged:** 5/29/2025 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `chapter-4` --- ### 📝 Commits (5) - [`05021e9`](https://github.com/harvard-edge/cs249r_book/commit/05021e988d2760ee4af2d16f81eaad0be19d8f45) Chapter 4_dnn_architectures_labeling and referencing code blocks - [`f2eef80`](https://github.com/harvard-edge/cs249r_book/commit/f2eef80a8f773bd50d7a938be41fd21768e23fa5) Update header-includes.tex - [`a7f8ca6`](https://github.com/harvard-edge/cs249r_book/commit/a7f8ca6fb7aa9c2bdac1e47ea6f0636f92527e73) Defines Crimson color - [`4288f91`](https://github.com/harvard-edge/cs249r_book/commit/4288f91c4d7f4cb7afbd97bd7dd800fdfeb734c2) Removes obsolete color definition. - [`af6cb3c`](https://github.com/harvard-edge/cs249r_book/commit/af6cb3c047ac81c7583eb0d6013ebeffc9e60df2) Merge branch 'dev' into chapter-4 ### 📊 Changes **3 files changed** (+343 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `_quarto.yml` (+2 -2) 📝 `contents/core/dnn_architectures/dnn_architectures.qmd` (+306 -50) 📝 `tex/header-includes.tex` (+35 -4) </details> ### 📄 Description 1. Implementation of reliable code block referencing in HTML and PDF output 2. Disabled cap-location: margin in quarto.yml to prevent side captions for codelisting floats in PDF output. Kept margin captions for figures and tables using fig-cap-location and tbl-cap-location. 3. Refined codelisting float behavior in header-includes.tex: adjusted float placement to !htb, reduced spacing before/after captions and verbatim blocks, and customized Highlighting environment layout for tighter PDF output. Before submitting your Pull Request, please review and complete the items on this checklist. - [x] The text has been proofread for grammar and spelling errors. - [x] All images, figures, and tables render properly without any glitches. - [x] All images have a source or they are properly linked to external sites. - [x] The chapter's formatting is consistent with the rest of the book. - [x] The chapter has been locally built and tested using Quarto. --- <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-05-08 10:36:22 -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#9662