Skip to content

Releases: pytask-dev/pytask-latex

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 01 Jun 17:29
b17e689

What's Changed

Full Changelog: v0.4.2...v0.4.3

v0.4.2

Choose a tag to compare

@tobiasraabe tobiasraabe released this 30 Nov 09:16
a923fbe

What's Changed

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

v0.4.1

Choose a tag to compare

@tobiasraabe tobiasraabe released this 12 Oct 10:19

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

Choose a tag to compare

@tobiasraabe tobiasraabe released this 07 Oct 19:08
6aec6e8

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

Choose a tag to compare

@tobiasraabe tobiasraabe released this 23 Jan 16:39
556e56b

What's Changed

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

v0.2.1

Choose a tag to compare

@tobiasraabe tobiasraabe released this 19 Apr 16:22
96dc820

What's Changed

Small bug fix release.

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

v0.2.0

Choose a tag to compare

@tobiasraabe tobiasraabe released this 16 Apr 13:10
bbed260

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

Choose a tag to compare

@tobiasraabe tobiasraabe released this 26 Mar 13:33
f0da086

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

Choose a tag to compare

@tobiasraabe tobiasraabe released this 07 Feb 23:58
a114ce1

What's Changed

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

v0.1.0

Choose a tag to compare

@tobiasraabe tobiasraabe released this 21 Jul 09:03
c919387
Align pytask-latex with pytask v0.1.0. (#26)