Iona.source

You're seeing just the function source, go back to Iona module for more information.

Specs

source(criteria :: binary()) :: Iona.Source.t()
source(criteria :: source_opts()) :: Iona.Source.t()

Define the document source, either as a raw TeX binary or the path to a .tex file.

As raw TeX:

Iona.source("\documentclass[12pt]{article} ...")

From a file:

Iona.source(path: "/path/to/document.tex")

When providing a file path, you can also define additional files needed for processing. They will be copied to the temporary directory where processing will take place.

Iona.source(path: "/path/to/document.tex",
            include: ["/path/to/document.bib",
                      "/path/to/documentclass.sty"])

However, when possible, files should be placed in the search path of your TeX installation.