Introductory guide to the art and science of data visualisation. Insights, advice, and examples (with code) to make data outputs more readable, accessible, and impactful.
I had a couple of different issues with making the PDF that made using the include shortcut impossible (subdirectory image paths, and the yaml options in the different .qmd sections would overwrite anything specified in the PDF document). So I have a slightly hacky solution to read the file into a code block, strip out the yaml and edit the file paths, then knit what's left as a child document.
file name starts with an _ so the main website project should ignore it
Will try to get GH actions set up to make this PDF when changes are made to main
It doesn't pull chapter titles automatically so it would need manually updated if someone added an entirely new section of the guide - but I think this is unlikely
Will add better styling to the PDF
Added nul to the gitignore file (weird file sometimes created on Windows if PDF rendering fails)
I had a couple of different issues with making the PDF that made using the
include
shortcut impossible (subdirectory image paths, and the yaml options in the different .qmd sections would overwrite anything specified in the PDF document). So I have a slightly hacky solution to read the file into a code block, strip out the yaml and edit the file paths, then knit what's left as a child document._
so the main website project should ignore itnul
to the gitignore file (weird file sometimes created on Windows if PDF rendering fails)