This commit is contained in:
eddiesoehnel committed 2026-10-06 14:43:52 -06:00
1 parent aa58f98043
commit 304ff6e19e
32 files changed
+3302

No files matched your search

@@ -0,0 +1,320 @@
# Quarto presentation template
A reusable repository for presentations authored in Quarto Markdown and rendered
as Reveal.js HTML. Edit `presentation.qmd`, review changes in Git, and preview
the result in a browser. No handwritten HTML application is required.
## Quick start: operate your presentation
This repository is the reusable template. For a real presentation, copy it into
another folder or create a separate repository using the instructions below.
Run Quarto from that new presentation's folder, where `presentation.qmd` lives.
For example, if your new presentation lives at
`C:\projects\productivity\my-presentation`, open PowerShell and run:
```powershell
cd C:\projects\productivity\my-presentation
quarto preview presentation.qmd
```
Replace `my-presentation` with your actual folder name. Preview opens the deck
in your browser and refreshes when you save changes. Keep it running while you
edit; press **Ctrl+C** to stop it.
When ready to build the shareable HTML, run this from the same folder after
stopping preview, or in a second terminal opened in that folder:
```powershell
quarto render presentation.qmd --to revealjs
```
The finished file is `output/presentation.html` inside your presentation folder.
To open it on Windows:
```powershell
Start-Process .\output\presentation.html
```
To try the template itself, use `cd C:\projects\productivity\presentation-template`
instead. Each copy keeps its own content, assets, and generated output.
## Shared ES design reference
The canonical design principles live in
[ES Design Reference](C:/projects/productivity/ES-authoring-skills/design.md):
`C:\projects\productivity\ES-authoring-skills\design.md`.
Read the current file before designing or restyling a presentation. Reference it
in place rather than copying its contents into this template, so future decks
use the maintained standard.
Use its **Core design principles**, **Typography / Presentations**,
**Presentation design system**, **Presentation header specification**,
**Presentation footer specification**, **Presentation composition rules**, and
**Implementation checklist / Presentations**. Select the presentation family;
the app and operational-report palettes serve different purposes.
The presentation standard calls for a white 16:9 canvas, Arial, teal titles
(`#529991`), black body text, generous space, and one argument per slide.
Orange (`#FFAB40`) marks major dividers; yellow (`#FFFF00`) marks layer dividers.
An interactive outline, top-center return links, and section-labeled footer
bands provide wayfinding. Pair section colors with labels and check contrast,
image crops, overflow, and all exported links.
The starter currently demonstrates a generic theme and Reveal.js navigation;
it has not yet been restyled to reproduce the full ES presentation standard.
When creating an ES presentation, apply the shared standard through the theme
and reusable Quarto layouts, adapting PowerPoint geometry to Reveal.js rather
than copying slide objects literally. Follow explicit presentation requirements
where they differ and document intentional deviations.
This local reference requires the ES-authoring-skills repository at that path.
On another machine, locate that repository and update the reference. If it is
unavailable, report the missing reference before claiming ES design alignment.
## Architecture
```text
presentation.qmd Canonical editable example deck
_quarto.yml Shared output, navigation, and build configuration
references.bib Citation records
assets/
images/ Photos, illustrations, and background images
charts/ Chart exports and a clearly labeled placeholder
icons/ Optional icons
logos/ Optional original brand assets
data/ Chart inputs and source/regeneration notes
styles/theme.scss Global colors, fonts, spacing, and reusable layout rules
scripts/ Windows render and live-preview helpers
output/ Disposable rendered files; ignored by Git
AGENTS.md Short editing contract for AI agents
```
`.qmd + assets + styles + data + references + configuration` are the source of
truth. HTML, PDF, and PPTX are disposable build artifacts. Chart exports under
`assets/charts/` are committed presentation inputs; keep their data and generation
recipe alongside them. Rebuild them explicitly when data changes.
The example has 11 slides: an automatic title slide, contents, two section
dividers, normal content, two columns, image, chart placeholder, full background,
citations/footnotes, and references. All example graphics are local neutral SVG
placeholders. They require no external image services or image licenses.
## Prerequisites and installation
Install **Quarto CLI 1.6 or later**, Git, and a modern browser. Use the current
stable Quarto release; record `quarto --version` when verifying a real deck.
The starter has no executable code cells, so Python, R, Node, and LaTeX are not
required. Reveal.js and Pandoc are provided by Quarto.
Windows, in a terminal where WinGet is available:
```powershell
winget install --exact --id Posit.Quarto
```
Alternatively, download and run the Windows installer from
[Quarto downloads](https://quarto.org/docs/download/). On macOS or Linux, use
the matching official package from that page. Installation is an explicit user
step; the project scripts never install software or change execution policy.
Reopen your terminal after installation, then check:
```powershell
quarto --version
quarto check
```
An editor such as VS Code with the Quarto extension is optional. `.qmd` is plain
text Markdown with YAML metadata; a Markdown preview is not the rendered deck.
Use Quarto preview to verify presentation layout.
## Edit, preview, and render
Run these commands from the repository root on Windows, macOS, or Linux:
```sh
quarto preview presentation.qmd --host 127.0.0.1 --port 4200
quarto render presentation.qmd --to revealjs
```
Preview starts a local browser preview, watches source changes, and refreshes
the deck. Save edits and check the browser; stop preview with Ctrl+C. If needed,
open `http://127.0.0.1:4200` yourself or choose a different port.
Render produces `output/presentation.html` and returns a nonzero status on failure.
Windows helpers can be called from any working directory:
```powershell
./scripts/preview.ps1
./scripts/preview.ps1 -Port 4201
./scripts/render.ps1
```
If your PowerShell policy blocks local scripts, use the direct Quarto commands
above. Do not change system policy just to run these wrappers.
`embed-resources: true` packages presentation resources into the HTML for convenient
sharing. Do not embed private assets or data. Distribute the HTML only after
checking the build; speaker notes are included and are visible in the file.
There are no remote fonts or live image URLs in the starter.
## Slides and global styling
- YAML `title`, `subtitle`, `author`, and `date` create the title slide.
- `# Section name {#stable-id}` creates a section divider.
- `## Slide name {#stable-id}` starts a content slide.
- Keep `###` headings inside a slide for smaller subheadings.
- Move everything between slide headings together, including `.notes` blocks.
- Use Quarto `.columns` / `.column` blocks for side-by-side content.
- Use relative paths such as `assets/images/subject.jpg` and meaningful alt text.
- Full background images use heading attributes; check crop and text contrast.
- Add citations to `references.bib` and cite them as `[@citation-key]`.
Change typography and colors in the defaults section of `styles/theme.scss`.
Put reusable layout rules in its rules section. The design uses a light neutral
canvas, dark headings, restrained blue links, system fonts, and a 16:9 layout.
Shorten or split crowded slides before reducing font sizes. Keep slide-specific
styling to intentional semantic exceptions such as a full background.
## Navigation for large decks
| Action | Control |
| --- | --- |
| Open left slide directory | Menu button at bottom left, or M |
| Jump directly to a slide | G, then slide number or ID, then Enter |
| Show overview thumbnails | O |
| Next / previous | Right / left arrows; Space advances |
| Speaker view | S; allow the browser popup |
| Fullscreen | F |
| Help | ? |
The menu is a toggleable left overlay, not a permanently docked sidebar.
It lists slide titles with numbers. Linear navigation traverses sections and
content in reading order. Stable heading IDs support contents links and shareable
URLs such as `presentation.html#/chart-layout`, even after slides are reordered.
History and progress are enabled; animations are restrained.
See the official [presentation navigation guide](https://quarto.org/docs/presentations/revealjs/presenting.html)
and [Reveal.js authoring guide](https://quarto.org/docs/presentations/revealjs/).
## AI / agent editing guide
1. Read this README, AGENTS.md, presentation.qmd, _quarto.yml, and the shared ES design reference above.
2. Add slides at `##` headings with descriptive stable IDs. Preserve notes and
IDs when moving whole slide blocks. Update contents links when sections change.
3. Put assets in their corresponding folders; update relative references and alt
text. Record image origins/rights and data units/sources. Regenerate charts
when inputs change, and record the command in data/README.md.
4. Change the shared theme for global styling. Avoid per-slide CSS and unrelated
build dependencies. Do not edit generated HTML to fix a source problem.
5. Run `quarto render presentation.qmd --to revealjs`. Review every slide in live
preview, checking overflow, image crops, chart labels, contrast, citations,
menu entries, overview, named links, and speaker notes.
6. Review the Git diff. Commit source files only when asked. If Quarto is absent,
report rendering and visual review as unverified; do not claim a successful build.
## Start a new presentation
For a local template checkout (creates an independent copy with its own history):
```powershell
git clone --no-hardlinks C:/projects/productivity/presentation-template C:/projects/productivity/my-presentation
Set-Location C:/projects/productivity/my-presentation
git remote remove origin
```
Local cloning requires at least one commit in the template repository. If the
starter is still uncommitted, first review and create its initial commit:
```powershell
Set-Location C:/projects/productivity/presentation-template
git add .
git commit -m "Add Quarto presentation starter"
```
Alternatively copy the source files into a new folder, excluding `.git`,
`.quarto`, and `output` contents, then run `git init` there. This creates fresh
history. If later hosted on GitHub, mark it as a template repository and use
**Use this template** to create independent repositories.
Change title, presenter, and date; replace the demonstration slide blocks,
placeholders, example.csv, and citation records. Keep presentation.qmd as the
entrypoint so scripts and future automation retain predictable paths.
## Other outputs and eventual automation
For PDF, render the Reveal.js deck, open it in Chrome or Edge, and use the menu's
Print to PDF tool. Print in landscape with backgrounds enabled and no browser
headers/footers; save to `output/presentation.pdf` and check every page.
Optional PowerPoint export:
```sh
quarto render presentation.qmd --to pptx
```
This produces `output/presentation.pptx`. Reveal-specific backgrounds, theme
styling, navigation, and notes/layout behavior may differ. Review it independently;
PPTX is not the master source. A PowerPoint reference template can be added later.
Future CI can install a pinned Quarto release, run the same render command, and
upload `output/` as an artifact. Keep artifact upload separate from publication.
Pin chart dependencies when adding executable chart generation. No CI provider,
hosting service, publishing credentials, or automatic deployment is configured.
## Verification at creation
Quarto was not found on PATH or in standard Windows installation locations.
No system software was installed. Source structure, local asset references,
slide IDs, helper syntax, and Git ignore behavior were checked. HTML rendering,
browser layout, PDF export, and PPTX export remain unverified until Quarto is
installed and the commands above are run.
## October 2026 AI workshop build
The real deck is `presentation.qmd`. The author outline is unchanged. Complete
source detail is retained in speaker notes; use **S** for speaker view. This is
an unpublished review build. Review `data/REVIEW-NOTES.md` before sharing.
The persistent floating left outline is added by `styles/navigation.html`.
Expand a section to see all slides; click any entry to jump. The Outline button
collapses the column for projection. Small phones use an overlay. The built-in
M menu, O overview, G jump, and named slide links remain available. Printing hides
the sidebar and retains the section footer on the canvas.
Global layout remains in `styles/theme.scss`; section names/colors are configured
in `styles/navigation.html`. Update those together when changing section IDs.
The section footer and return link are injected after Reveal is ready, so browser
JavaScript must be enabled. Every output is rebuilt from source.
Quarto is installed locally at
`C:\Users\edsoe\AppData\Local\Programs\Quarto\bin\quarto.exe` (1.10.19).
Use that full path if a newly installed Quarto is missing from an existing shell's
PATH. Run from this folder:
```powershell
& "$env:LOCALAPPDATA\Programs\Quarto\bin\quarto.exe" render presentation.qmd --to revealjs
```
HTML is the review deliverable; no PowerPoint styling equivalence is claimed.
### Narrow-window Reveal behavior
Reveal can automatically enter scroll view in a narrow window. For a custom
fixed 16:9 layout, set `scroll-activation-width: 0`; otherwise a sidebar and fixed
slide geometry can clip the deck. Below 800 px, this workshop's outline is an
overlay opened with the Outline button. Also set `box-sizing: border-box` on the
automatic `#title-slide`: it does not share the normal `.slide` class, so cover
padding needs its own geometry rule. Both 607 px and 1280 px views were checked.
Speaker view requires a permitted popup in a normal browser. The in-app browser
did not open it during review; embedded notes and their full source text were
verified directly. Source notes are part of the HTML and must be reviewed before
distribution.
### Rebuild after author revisions — October 6, 2026
The author-approved Markdown outline is the editorial source of truth. This revision has 72 slides across 10 outline sections. Deleted sections are removed; their content is not carried forward. The full workflow-building stack is linked only, rather than reproduced. Review in the regular presentation view for the left TOC and slides; speaker view adds previews, notes, and clocks. Notes contain the current source section and supporting detail and are included in the HTML.