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:
Vijay Janapa Reddi
2025-12-28 11:02:37 -05:00
parent 5ed5095118
commit 5bdec81783
2 changed files with 3 additions and 33 deletions

View File

@@ -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

View File

@@ -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