Features
latex-dependency-scanner is a package to detect all required files to compile a LaTeX document.
Installation
latex-dependency-scanner is available on PyPI and Anaconda.org. Install it with
$ pip install latex-dependency-scanner
# or
$ conda install -c conda-forge latex-dependency-scanner
Usage
The package contains two functions.
Scan
scan() accepts a path-like object or a list of path-like objects which point to .tex
documents. The return is a collection of paths related to this document.
import latex_dependency_scanner as lds
paths = lds.scan("document.tex")
For dependencies which cannot be found and which have no file extension (like graphics
in \includegraphics), all possible candidates are returned.
compile_pdf() allows to conveniently generate PDFs with Python. The function is mainly
used for validating test cases.
import latex_dependency_scanner as lds
lds.compile_pdf("document.tex", "document.pdf")
Changes
Consult the release notes to find out about what is new.
Metadata
Release files for latex-dependency-scanner 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| latex_dependency_scanner-0.1.3.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| latex_dependency_scanner-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / latex_dependency_scanner-0.1.3.tar.gz
| Download URL | latex_dependency_scanner-0.1.3.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f75f3780a2a83632c0119e4b5bb8e0b86018ebc376f500e3d34fe57cc6ab039
|
|
BLAKE2b-256 checksum How to use checksums |
bb0c638957d81421c3462d409d312e110b4e86719e083135c4f8dbfd6c405827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / latex_dependency_scanner-0.1.3-py3-none-any.whl
| Download URL | latex_dependency_scanner-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c1e3ecbf2bf5c3b66ba418bf8bdae210c98e20be36bbf0981659f5cf0842990
|
|
BLAKE2b-256 checksum How to use checksums |
5f029cc6bf6426d0d692b9425f5448e4c064becab1cc82ebff962166ca4b0f7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|