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