texrunner-0.0.1.1: Functions for running Tex from Haskell.

Copyright(c) 2014 Christopher Chalmers
LicenseBSD-style (see LICENSE)
Maintainerc.chalmers@me.com
Safe HaskellSafe
LanguageHaskell2010

System.Texrunner

Description

Functions for running Tex.

Synopsis

Documentation

runTex Source #

Arguments

:: String

Tex command

-> [String]

Additional arguments

-> [FilePath]

Additional Tex input paths

-> ByteString

Source Tex file

-> IO (ExitCode, TexLog, Maybe ByteString) 

Same as runTex' but runs Tex in a temporary system directory.

runTex' Source #

Arguments

:: FilePath

Directory to run Tex in

-> String

Tex command

-> [String]

Additional arguments

-> [FilePath]

Additional Tex inputs

-> ByteString

Source Tex file

-> IO (ExitCode, TexLog, Maybe ByteString) 

Run Tex program in the given directory. Additional Tex inputs are for filepaths to things like images that Tex can refer to.