Copyright | (c) 2014 Christopher Chalmers |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | c.chalmers@me.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Functions for running Tex.
Synopsis
- runTex :: String -> [String] -> [FilePath] -> ByteString -> IO (ExitCode, TexLog, Maybe ByteString)
- runTex' :: FilePath -> String -> [String] -> [FilePath] -> ByteString -> IO (ExitCode, TexLog, Maybe ByteString)
- prettyPrintLog :: TexLog -> ByteString
Documentation
:: 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.
:: 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.
prettyPrintLog :: TexLog -> ByteString Source #