Commit Graph

28 Commits

Author SHA1 Message Date
Zeljko Hrcek
adaf8b71a7 Improve styling of reference and chapter connection blocks
- Placed references in HTML output into a grey box for better visual distinction
- Harmonized color scheme of the "Chapter Connection" callout block to match the reference box style
- Added new TikZ-based figures in Chapter 1 and Chapter 2
2025-07-18 20:04:29 +02:00
Zeljko Hrcek
56f310c476 Make new margin note box
Created a new callout block with a custom Lua filter that places it in the margin for PDF output.
2025-07-15 16:43:56 +02:00
Zeljko Hrcek
106f16e0f3 Counters for callot blocks in html
The counters for Question and Answer blocks have been fixed to match the numbering used in the PDF output.
2025-07-04 11:25:01 +02:00
Zeljko Hrcek
b67920c932 LUA filter for quizzes has been fixed
Fixed Lua filter to enable inserting questions and answers in PDF output.
Added automatic numbering for question and answer blocks.
Matched block header font in HTML output with the book’s main font.
2025-07-02 13:12:46 +02:00
Zeljko Hrcek
e67b575290 Customize TOC part formatting, callout block colors and font size
Added "Part" label before part number in TOC with custom spacing and color.
Also updated styles of custom callout blocks to visually distinguish them from Quarto defaults.
2025-06-28 13:25:00 +02:00
Zeljko Hrcek
0cc15e1722 Create new callouts for slides/videos/exercises
Three new unnumbered callouts with corresponding icons have been created.
2025-06-26 22:02:37 +02:00
Zeljko Hrcek
95056d70fe Refine question and answer callouts to match Quarto defaults
- Redesigned custom quiz-question and quiz-answer callouts to visually align with native Quarto callouts in both HTML and PDF.
- Unified layout structure, improved corner rounding, border styling, and spacing.
- Adjusted colors for visual clarity and consistency with book style.
- Applied smaller text size to quiz callouts.
2025-06-23 14:39:07 +02:00
Vijay Janapa Reddi
adbc88e660 Adds foldbox CSS and Lua support for question type
Adds CSS styling for foldbox extensions, including dark mode support.

Updates the Lua script to handle callout-quiz-question and callout-quiz-answer types.
2025-06-18 00:16:31 -04:00
Vijay Janapa Reddi
d7f935f074 Updates foldbox style to better match Quarto
Refines the appearance of the foldbox (collapsible content) to
align more closely with Quarto's design.

Specifically, this commit:
- Replaces the CSS arrow with an SVG icon for better consistency
- Adjusts icon sizes and spacing for a more harmonious look
2025-06-16 23:47:02 -04:00
Vijay Janapa Reddi
6bb483b526 Adds styles for foldbox extension
This commit introduces CSS styles for the custom numbered blocks extension, specifically for foldbox elements.

It defines styles for both default (question) and answer foldboxes, including layout, colors, icons, and animations.
2025-06-16 23:30:32 -04:00
Zeljko Hrcek
b1bd1b4cb3 Redesigned part heading and added custom callout blocks (Question & Answer)
1. Redesigned the \part heading style for PDF output. (header-includes.tex)
2. Adjusted TOC entries so that \part headings are centered, unnumbered, and excluded from page numbering.
3. Added a new custom extension under -extensions/custom-numbered-blocks.
4. Enabled the extension in the _quarto.yml configuration file.
5. Defined two new callout block types: Question and Answer.
6. Created custom icons for these blocks and placed them in the custom-numbered-blocks/icons folder.
7. Styled the blocks for both PDF (via foldbox.tex) and HTML (via foldbox.css) outputs to ensure consistent appearance.
8. Tested rendering in both PDF and HTML formats — everything works as expected.
2025-06-16 20:47:15 +02:00
Vijay Janapa Reddi
39173433eb Removes the fontawesome extension
Removes the now unused fontawesome extension as the feature is now natively supported.
2025-04-10 13:13:31 -04:00
Vijay Janapa Reddi
5fd56fba67 merge standalone 2025-03-13 00:48:57 -04:00
Vijay Janapa Reddi
c7d618cdb1 debugging 2025-03-12 21:22:32 -04:00
Vijay Janapa Reddi
f35dda546f Fix broken extensions from precommit running on all files 2025-02-04 00:42:03 -05:00
Vijay Janapa Reddi
7a12db3762 Adding pre-commit + test run 2025-02-03 22:40:31 -05:00
Vijay Janapa Reddi
2ef3e3db8b Comment out debug printfs 2025-01-28 22:15:26 -05:00
Ikechukwu Uchendu
9522447db9 Removed offending figure label 2025-01-27 17:39:12 -05:00
Ikechukwu Uchendu
a898dc622c stopping on errors 2025-01-27 16:42:28 -05:00
Ikechukwu Uchendu
a8c7b2d0f4 added logging to read file 2025-01-27 16:16:36 -05:00
Ikechukwu Uchendu
5f3a21af20 Added without gui flag 2025-01-27 16:10:04 -05:00
Vijay Janapa Reddi
3fc9b43144 Merge branch 'dev' into 636-improve-ai-training-chapter 2025-01-25 15:42:23 -05:00
Vijay Janapa Reddi
9475662cad Removing QTDublinIrish.otf -- not needed, extension issue
Following directions from https://github.com/nmfs-opensci/quarto_titlepages
2025-01-25 11:59:47 -05:00
Vijay Janapa Reddi
8f0a1b34dd Merge branch 'dev' into 636-improve-ai-training-chapter 2025-01-25 10:04:43 -05:00
Vijay Janapa Reddi
d9f0380165 Adding tikz support! 2025-01-25 09:46:07 -05:00
Vijay Janapa Reddi
21f617f1d8 Added font awesome to use icons in mermaid 2025-01-23 17:30:58 -05:00
Vijay Janapa Reddi
909f3c5ac5 Draft of the SocratiQ bot 2024-11-11 20:16:32 -05:00
Vijay Janapa Reddi
117b0fb58e Added updated PDF build
- New cover page
- Still working on odd and even marginsize
2024-08-07 16:06:31 -04:00