Iona.write
You're seeing just the function
write
, go back to Iona module for more information.
Specs
write(input :: Iona.Input.t(), path :: Path.t(), opts :: processing_opts()) :: :ok | {:error, term()}
Generate a formatted document to a file path.
Without processing options:
:ok = Iona.source(path: "/path/to/document.tex")
|> Iona.write("/path/to/document.pdf")
With processing options:
:ok = Iona.source(path: "/path/to/document.tex")
|> Iona.write("/path/to/document.pdf",
processor: "xetex")