fix: Merge changes from pandoc 3.4 LaTeX template
* Merge changes from the pandoc default LaTeX template from version 3.4 (7e8aafa).
* prepare for release of version 2.5.0
* update copyright year
* fix: Update `actions/upload-artifact` to version `v4`
* run ci with pandoc 3.4
* run ci with python 3.12
- The added `float` package from PR #12 has accidentally
been overwritten with changes from the default template.
- The option `float-placement-figure` is also restored.
- This should fix#315 and #316.
- Merge changes from the pandoc default LaTeX template.
- Change pandoc version to 3.1.1 in the GitHub workflow.
- Prepare for release of version 2.3.0.
- Merged with 144bf90ab9/data/templates/default.latex
- Rebuild the examples
- Rebuild the tests
- Add packages `hardwrap` and `catchfile` to build the broken example `title-page-background`
- Build with the latest pandoc 2.19.2
- `logo` is already used by beamer and one might want to use both
formats (beamer and latex) without the logo appearing as a
background image on beamer slides.
When using listings, the variable `code-block-font-size`
also affected `lstinline` environments.
This will make inline listings follow the surronding font size, as expected.
- The variable `page-background` specifies the path to a background image for any page. The background image is scaled to cover the entire page.
- The variable `page-background-opacity` specifies the background image opacity and has a default value of `0.2`.
- improve footnote formatting using package `footmisc`
- make the references from the footnotes at the bottom of the page into links back to the occurence of the footnotes in the main text and introduce an option `disable-footnote-backlinks` to disable this new behaviour.
- load pkg footnotebackref after pkg footnotehyper
- make footnote prettifying optional using template var
The support depends on the used language. Some languages like `motorola68k`, `x86masm`, `inform`, `llvm`, `lua`, `metapost`, `mupad`, `ocl`, `python`, `verrilog`, `basic`, `cil`, `fortran` and `hansl` will have additional colors for some keywords.