Replace instances of `.. page::` with:
```rst
.. raw:: pdf
PageBreak
```
This reduces my usage on the `preprocess` functionality I'd like to
remove.
This was done by executing this command:
```
find src -type f -name '*.rst' \
-exec sed -Ei 's/.. page::$/.. raw:: pdf\n\n PageBreak/g' {} \;
```
The canonical versions of my style files are stored within `src/styles`,
and these are the ones that should be used as they have the latest
changes and have been converted to the YAML format.
This commit removes any styles within the individual talk directories.
* Hide the `default` recipe by renaming it to `_default` (recipes
prefixed with an underscore are hidden from `just --list`.
* Re-add the `present` recipe for presenting with `pdfpc`, but making
the duration a required argument.
* Add a `watch` recipe that watches files for changes and re-generates
the PDF. This is based on a given path,
e.g. `./src/test-driven-drupal`, and optionally allows for overriding
the rst filename if I only want to watch a specfic source file, such
as `demo.rst`.
Instead of assuming we're always compiling from `slides.rst`, make the
filename dynamic so it can build whatever files are needed.
For example, to generate the demo slides for Test Driven Drupal, I can
run:
```shell
just generate-pdf ./src/test-driven-drupal demo.rst
```
If no filename is specified, default to `slides.rst` and all the slides
will be compiled.
Pass the path to the talk directory - e.g.
`just generate ./src/test-driven-drupal` instead of just the talk
name/slug.
This doesn't change where the files are sourced from or output, but this
makes it easier to use `just generate` as I can use tab completion when
executing the command - making it quicker and less prone to typos.
* Update `run` tasks to use the Nix Flake instead of Docker.
* Output PDFs into a `dist` directory and name them as the talk name.
* Move the stylesheets into a common place.