Slides for talk on 2024-03-27 as part of GridPP51 & SWIFT-HEP07.
- Install quarto
- Chromium based browser for PDF generation (if local)
# Render project-configured files
quarto render
# Render by filename
quarto render slides.qmd --to html
- Toggle into Print View using the E key (or using the Navigation Menu)
- Open the in-browser print dialog (CTRL/CMD+P).
- Change the Destination setting to Save as PDF.
- Change the Layout to Landscape.
- Change the Margins to None.
- Enable the Background graphics option.
- Click Save 🎉
quarto preview slides.qmdgh-action based publication via .github/workflows/publish.yml
See https://ptheywood.uk/2024-03-27-profiling-celeritas
Initial publication set up required:
-
Create an empty
gh-pagesbranchgit checkout --orphan gh-pages git reset --hard git commit --allow-empty -m "Initialising gh-pages branch" git push origin gh-pages -
Ensure the github repository setting
pages > Sourcehas correctly set toBranch: gh-pages -
Return to the
mainbranch (git checkout main) -
Run
quarto publish gh-pagesonce to create_publish.ymlin the gh-pages branch.- This is required by quarto-dev/quarto-actions/publish
-
Subsequent events which trigger
.github/workflows/publish.yml(workflow_dispatch, pushes tomain) should result in updated content.