Skip to content

Releases: pytask-dev/pytask-latex

v0.4.2

30 Nov 09:16
a923fbe
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

12 Oct 10:19
Compare
Choose a tag to compare

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

07 Oct 19:08
6aec6e8
Compare
Choose a tag to compare

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

23 Jan 16:39
556e56b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.3.0

v0.2.1

19 Apr 16:22
96dc820
Compare
Choose a tag to compare

What's Changed

Small bug fix release.

Full Changelog: v0.2.0...v0.2.1

v0.2.0

16 Apr 13:10
bbed260
Compare
Choose a tag to compare

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

Full Changelog: v0.1.2...v0.2.0

v0.1.2

26 Mar 13:33
f0da086
Compare
Choose a tag to compare

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

Full Changelog: v0.1.1...v0.1.2

v0.1.1

07 Feb 23:58
a114ce1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.1.1

v0.1.0

21 Jul 09:03
c919387
Compare
Choose a tag to compare
Align pytask-latex with pytask v0.1.0. (#26)

v0.0.12

05 Mar 07:11
fedbd8f
Compare
Choose a tag to compare
Add dependencies to setup.py. (#21)