Merged
jared
merged 2 commits from 2026-07-09 16:18:29 -04:00
fix/quarto-template-bugs into master
No Reviewers
Labels
Clear labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
kodor
kodor/feature-proposal
kodor/fix
kodor/needs-review
kodor/triaged
question
wontfix
kodor
kodor/feature-proposal
kodor/fix
kodor/needs-review
kodor/triaged
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Kodor should process this issue
Kodor has written a feature proposal
Kodor should implement a fix (assigned to Kodor)
Kodor's work or failure needs Jared's review
Kodor has already triaged this issue (skip)
Further information is requested
This will not be worked on
needs
human
Cannot move without a person -- a decision, a check an agent cannot make, something outside the repo
origin
client
Came from a client ask
origin
obligation
Created by a change elsewhere
origin
review
Came from human review
origin
roborev
Promoted from a roborev finding
type
chore
Maintenance with no behaviour change
type
debt
Owed work -- docs, tests, cleanup a change obligated
type
decision
Needs a decision before work can proceed
type
defect
Something is wrong
type
feature
New capability
ws
helpers
Analysis and workflow helpers
ws
logo
Logo and branded output composition
ws
packaging
Package infrastructure and release
ws
quarto
Quarto themes and publishing templates
ws
theme
Themes, palettes, and fonts
Assign a task to kodor
Kodor thinks this needs a feature.
Kodor should fix this
Kodor thinks the user is ready to review this.
Kodor is done with this issue.
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Civilytics/civilyticsR#15
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes several bugs in the Quarto branded templates found while rendering a real PDF report.
LaTeX (
inst/quarto/latex/)\thesubtitleundefined (#13): the title partial referenced\thesubtitle, which Quarto never defines, so any subtitled PDF failed to compile.civilytics.texnow captures pandoc's\subtitleinto\thesubtitle(it loads before pandoc's provider, so its definition wins).\maketitle+ abstract before the include-before-body title page.civilytics.texnow neutralises the default\maketitle/abstractat\begin{document}so only the branded title page renders. (The branded title page does not display the abstract — documented inline.)tikzpicturefrom the title partial that requiredtikz(never loaded).Source Serif 4 SemiBoldface that the package never installs and standard installs don't ship. Now uses the family's native Bold weight.Typst (
inst/quarto/typst/)title/subtitle/datewere injected as bare Typst, so any of them containing a keyword word (for,in, ...) broke compilation. Now wrapped in[ ]content brackets.URL (#11)
civilytics.consulting→civilytics.comin the LaTeX preamble, the Typst template, and the slides example.Version bumped 0.2.0 → 0.3.0.
Verification
.qmdthrough the LaTeX template withxelatex: compiles, single branded title page, subtitle shown, native Bold, footer correct..qmdthrough the Typst template: compiles, footer correct.Test plan
quarto rendera report.qmd(with subtitle) →pdfusinginclude-in-header: civilytics.tex+include-before-body: civilytics-title.textypstcivilytics.comCloses #11, #12, #13, #14
Added a follow-up commit (
b9d427e) that fully resolves #12: the Typst template now ships as Quarto template-partials ( + ) instead of a single-file , so code blocks keep Quarto Skylighting definitions and render with syntax highlighting + branding. Verified against a report with an R code block.