texbuild
texbuild is a build system for LaTeX documents.
It provides namespacing for labeled items.
Consider a LaTeX document composed of a main file
% main.tex
\documentclass{article}
\begin{document}
This is an equation
\begin{equation}
f(x) = x \label{equation}
\end{equation}
\input{foo.tex}
Let's refer to Equation~(\ref{equation}).
\end{document}
which includes a subordinate file
% foo.tex
\begin{equation}
f(x) = x^2 \label{equation}
\end{equation}
In this situation, \ref{equation} is ambiguous because both files use \label{equation} and the namespace for labeled items in LaTeX is global.
texbuild fixes this by supporting import semantics:
% main.tex
% -- begin imports --
% import foo as foo
% -- end imports --
\documentclass{article}
\begin{document}
This is an equation
\begin{equation}
f(x) = x \label{equation} % export
\end{equation}
\input{foo.tex}
We can refer to foo's Equation~(\ref{foo.equation}) or our own Equation~(\ref{equation}).
\end{document}
and
% foo.tex
\begin{equation}
f(x) = x^2 \label{equation} % export
\end{equation}
Example
To see texbuild in action, install it and use it to build the example LaTeX documemt provided in this repo, by following these steps:
$ pip install texbuild
$ git clone https://github.com/DanielSank/texbuild
$ cd texbuild/example
$ texbuild
This produces `texbuild/example/texbuild-out/main.pdf`, which illustrates the use of `texbuild`.
Metadata
Release files for texbuild 0.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 | Provenance | Actions |
|---|---|---|---|---|
| texbuild-0.3.tar.gz | 5.9 kB | Without provenance | Details for texbuild-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| texbuild-0.3-py3-none-any.whl | Python 3 | none | any | Details for texbuild-0.3-py3-none-any.whl |
Total release size: 12.7 kB
Release files / texbuild-0.3.tar.gz
| Download URL | texbuild-0.3.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c60cdb7782051e54554202525462d6fbece356fc4e68fdd604a3953452e280b3
|
|
BLAKE2b-256 checksum How to use checksums |
148329cdf45d5777506c123fb7ca5ec3e5c0a5e0f0830cf4a386a68d173bb8b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / texbuild-0.3-py3-none-any.whl
| Download URL | texbuild-0.3-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62f1841fb117cb893b358d40b97113ae950505667eb57eb7cda71a3a2d7e3f99
|
|
BLAKE2b-256 checksum How to use checksums |
3a92235b2848643fb5e9d95eb3d959899cbdf392fb71f3b780894953b8dd6fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for texbuild 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.