Skip to content

MichaelHatherly/Tectonic.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.