Support dynamic generation of Quarto HTML, PDF, and EPUB with shared configuration #417

Open
opened 2026-03-22 15:39:05 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @profvjreddi on GitHub (Aug 12, 2025).

Currently, there is significant code duplication across files to enable generation of Quarto outputs (_quarto-html, -pdf, -epub). To improve maintainability and reduce duplication, we should refactor the setup to use shared/common YAML configuration files and reusable code. This will allow dynamic generation of Quarto files (HTML, PDF, EPUB) as needed, without manual copy-pasting or redundant configuration.

Proposal:

  • Identify duplicated code and configuration across the existing output files.
  • Design a set of shared YAML files and supporting scripts to centralize configuration.
  • Refactor the build process so that output types (HTML, PDF, EPUB) are generated dynamically from common sources.
  • Document the updated workflow for future contributors.

Benefits:

  • Easier maintenance and updates
  • Reduced risk of inconsistencies
  • Streamlined workflow for generating multiple output formats

This change will make the Quarto book workflow more robust and easier for contributors to work with.

Originally created by @profvjreddi on GitHub (Aug 12, 2025). Currently, there is significant code duplication across files to enable generation of Quarto outputs (_quarto-html, -pdf, -epub). To improve maintainability and reduce duplication, we should refactor the setup to use shared/common YAML configuration files and reusable code. This will allow dynamic generation of Quarto files (HTML, PDF, EPUB) as needed, without manual copy-pasting or redundant configuration. Proposal: - Identify duplicated code and configuration across the existing output files. - Design a set of shared YAML files and supporting scripts to centralize configuration. - Refactor the build process so that output types (HTML, PDF, EPUB) are generated dynamically from common sources. - Document the updated workflow for future contributors. Benefits: - Easier maintenance and updates - Reduced risk of inconsistencies - Streamlined workflow for generating multiple output formats This change will make the Quarto book workflow more robust and easier for contributors to work with.
GiteaMirror added the area: tools label 2026-03-22 15:39:05 -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#417