Skip to contents

All functions

check_quarto()
Check whether Quarto is installed and its bundled Typst is new enough
check_theme()
Check a theme's dictionary structure against onepagr's real contract
compile_typst()
Compile a .typ file with whisker-substituted data via Quarto/Typst
example_data()
Example data for a built-in template
export_template()
Export a built-in template for customization
extract_required_tokens()
Extract required whisker tokens from a .typ file
fmt_n()
Format a number with comma grouping
fmt_pct()
Format a value as a percent string
install_quarto()
Install Quarto to a user-local directory
list_templates()
List built-in template names
list_themes()
List built-in theme names
render_onepager()
Render a onepagr one-pager to PDF
resolve_template()
Resolve a built-in template name to its installed template.typ path
resolve_theme()
Resolve a theme name or path to an installed .typ file
set_quarto_path()
Point onepagr (and Quarto) at a specific Quarto binary
template_data()
Build a starter data list for a template
template_tokens()
List the tokens a template takes
validate_template_data()
Validate whisker data against a template's required tokens