Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelhatherly/tectonic.jl
Tectonic typesetting for Julia.
https://github.com/michaelhatherly/tectonic.jl
julia-language tex tex-engine texlive xetex
Last synced: about 2 months ago
JSON representation
Tectonic typesetting for Julia.
- Host: GitHub
- URL: https://github.com/michaelhatherly/tectonic.jl
- Owner: MichaelHatherly
- License: mit
- Created: 2020-07-01T09:53:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T09:19:26.000Z (9 months ago)
- Last Synced: 2024-10-31T17:26:08.023Z (2 months ago)
- Topics: julia-language, tex, tex-engine, texlive, xetex
- Language: Julia
- Homepage:
- Size: 87.9 KB
- Stars: 29
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tectonic
![CI](https://github.com/MichaelHatherly/Tectonic.jl/workflows/CI/badge.svg)
[![Codecov](https://codecov.io/gh/MichaelHatherly/Tectonic.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/MichaelHatherly/Tectonic.jl)Compile LaTeX files in Julia using the [*tectonic*][tectonic] typesetting
system. Also provides a [`biber`][biber] binary that is compatible with the
version of the `biblatex` package provided with *tectonic*.## Binaries
This package wraps the official binaries for both bundled programs:
- [*tectonic* `0.8.0`][tectonic-binaries] (MIT license)
- [*biber* `2.14`][biber-binaries] (Artistic 2.0 license)## Supported Operating Systems and Julia Versions
The package provides binaries for 64-bit Linux, MacOS, and Windows and has been
tested against Julia `1.3` to `1.8`.## Examples
```
(@v1.6) pkg> add Tectonicjulia> using Tectonic
julia> tectonic() do bin
run(`$bin file.tex`)
end```
## Using `biber` with `tectonic`
If you need to compile a document that contains `biblatex` then you will need
to provide the `biber` program to `tectonic` by adding it to the `PATH`. This
can be done by calling `Biber.biber` as follows```
julia> biber() do _
tectonic() do bin
run(`$bin file.tex`)
end
end
```If `biber` already exists on your `PATH` then calling `Tectonic.tectonic`
will find it automatically and use it.[tectonic]: https://github.com/tectonic-typesetting/tectonic
[tectonic-binaries]: https://github.com/tectonic-typesetting/tectonic/releases[biber]: https://github.com/plk/biber
[biber-binaries]: https://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/