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