Releases: pytask-dev/pytask-latex
v0.4.2
What's Changed
- Simplify depenendency management. by @tobiasraabe in #65
- Do not use
MetaNode
. by @tobiasraabe in #66 - Simplify ruff config. by @tobiasraabe in #68
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
This release improves the collection of dependencies for a LaTeX task. The scanned dependencies are now compared to products from all collected tasks. It should prevent the early execution of the task.
v0.4.0
What's Changed
pytask-latex is now compatible with the new pytask v0.4.0. It supports Python 3.12 and drops support for Python 3.7.
v0.3.0
What's Changed
- Add docformatter. by @tobiasraabe in #45
- Add Python 3.11 to CI. by @tobiasraabe in #47
- Remove deprecation message and code related to old API. by @tobiasraabe in #50
- Deprecate INI configuration. by @tobiasraabe in #49
- Add mypy, ruff, and refurb. by @pre-commit-ci in #51
- Use mambaforge for CI. by @tobiasraabe in #53
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
Small bug fix release.
- Fix error message for the old interface. by @tobiasraabe in #40
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Highlights
This release deprecates the old interface and imposes a more precise syntax. Now, a task looks like this
import pytask
@pytask.mark.latex(script="document.tex", document="document.pdf")
def task_compile_latex_document():
pass
The script and the compiled file are explicitly specified via the keyword arguments of the decorator.
Compilations steps are now more modular and are hopefully extended soon to cover more steps than latexmk
from pytask_latex import compilation_steps as cs
@pytask.mark.latex(
script="document.tex",
document="document.pdf",
compilation_steps=cs.latexmk(
options=("--pdf", "--interaction=nonstopmode", "--synctex=1", "--cd")
),
)
def task_compile_latex_document():
...
You can find all information in the readme.
What's Changed
- Deprecate the old API without compilation steps. by @tobiasraabe in #34
- Align pytask-latex with pytask v0.2. by @tobiasraabe in #33
Full Changelog: v0.1.2...v0.2.0
v0.1.2
What's Changed
This release adds support for the new interface of pytask-latex. Kudos to @axtimhaus for the implementation. The old interface will be deprecated in v0.2 of pytask-latex.
Currently, the compilation process is only handled by latexmk
and is limited by its capabilities. Using the new interface, you are able to define custom steps in the compilation process which enables many more use-cases, for example, with multibib
or bib2gls
.
You find more information in the README.
In the future, we will provide more built-in compilation steps than latexmk
. If you cannot wait, you can implement your own step function which is explained here. Please, contribute it back to the package, if you think it could serve more people.
- Implementation of build steps and support for old API by @axtimhaus in #32
New Contributors
- @axtimhaus made their first contribution in #32
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #27
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #29
- Skip concurrent CI builds by @tobiasraabe in #30
- Deprecate Python 3.6 and add support for Python 3.10. by @tobiasraabe in #31
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Align pytask-latex with pytask v0.1.0. (#26)
v0.0.12
Add dependencies to setup.py. (#21)