mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-29 09:08:54 -05:00
refactor: simplify PDF profile to use only titlepage-pdf format
- Remove redundant standard PDF format from profile - Update Makefile to use 'quarto render --to titlepage-pdf --profile pdf' - Streamline build process to single PDF format with cover page
This commit is contained in:
@@ -16,10 +16,10 @@ build:
|
||||
quarto render
|
||||
@echo "✅ Build complete: _build/"
|
||||
|
||||
# Build PDF
|
||||
# Build PDF with cover page
|
||||
pdf:
|
||||
@echo "📄 Building Hardware Kits PDF..."
|
||||
quarto render --profile pdf
|
||||
quarto render --to titlepage-pdf --profile pdf
|
||||
@echo "✅ PDF build complete: _build/pdf/"
|
||||
|
||||
# Preview the site locally
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# =============================================================================
|
||||
# HARDWARE KITS PDF PROFILE
|
||||
# =============================================================================
|
||||
# This profile builds the Hardware Kits labs as a standalone PDF.
|
||||
# This profile builds the Hardware Kits labs as a standalone PDF with cover.
|
||||
# Usage: quarto render --profile pdf
|
||||
# Or: quarto render --to titlepage-pdf --profile pdf
|
||||
# =============================================================================
|
||||
|
||||
project:
|
||||
@@ -69,35 +68,6 @@ book:
|
||||
- contents/shared/dsp_spectral_features_block/dsp_spectral_features_block.qmd
|
||||
|
||||
format:
|
||||
# Standard PDF format
|
||||
pdf:
|
||||
documentclass: scrbook
|
||||
classoption:
|
||||
- openany
|
||||
- twoside
|
||||
papersize: letter
|
||||
fontsize: 10pt
|
||||
|
||||
# LaTeX includes
|
||||
include-in-header: tex/header-includes.tex
|
||||
include-before-body: tex/before-body-includes.tex
|
||||
include-after-body: tex/after-body-includes.tex
|
||||
|
||||
# PDF engine
|
||||
pdf-engine: lualatex
|
||||
|
||||
# Output settings
|
||||
keep-tex: false
|
||||
toc: true
|
||||
toc-depth: 2
|
||||
number-sections: true
|
||||
|
||||
# Code formatting
|
||||
code-copy: false
|
||||
code-overflow: wrap
|
||||
highlight-style: github
|
||||
|
||||
# Titlepage PDF format (with custom cover page)
|
||||
titlepage-pdf:
|
||||
pdf-engine: lualatex
|
||||
use-rsvg-convert: true
|
||||
|
||||
Reference in New Issue
Block a user