MichaelHatherly / Tectonic.jl

Tectonic typesetting for Julia.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tectonic

CI Codecov

Compile LaTeX files in Julia using the tectonic typesetting system. Also provides a 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:

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 Tectonic

julia> 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.

About

Tectonic typesetting for Julia.

License:MIT License


Languages

Language:Julia 95.3%Language:TeX 4.7%