Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add to the GitHub workflow in order to build out a very rough PDF report of the text and figures. Due to issues rendering Javascript content to PDF, most of the figures will not render and will print the code instead. This is to be expected, no need to worry!
The exception, and test of our workaround, is the Prices page, which has some clever conditional formatting to render certain code chunks when outputting HTML and other chunks when outputting PDF/LaTeX. In time, all pages will be built in this style and we will be sitting pretty. Until then, please wade through the chaos to see the Prices figures starting on page 50 of the PDF report, found here: https://github.com/ianalexmac/aetr-web-book-2024/blob/gh-pages/2024-Alaska-Electricity-Trends-Report.pdf
Compare these figures to the HTML versions found here: https://ianalexmac.github.io/aetr-web-book-2024/prices.html
These PDF figures look very similar to their HTML counterparts and, in fact, share some code. But they are two different visuals for the two different mediums. Further PRs will follow this pattern: rebuilt HTML figures to convert from OJS to ggplot+interactive, plus PDF figures built with straight ggplot.