texrunner-0.0.1.1: Functions for running Tex from Haskell.

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

System.Texrunner.Parse

Contents

Description

Functions for parsing Tex output and logs. This log is parser is experimental and largely untested. Please make an issue for any logs that aren't parsed properly.

Synopsis

Box

data Box n Source #

Data type for holding dimensions of a hbox. It is likely the internal representation will change to allow nested boxes in the future.

Constructors

Box 

Fields

Instances

Show n => Show (Box n) Source # 

Methods

showsPrec :: Int -> Box n -> ShowS #

show :: Box n -> String #

showList :: [Box n] -> ShowS #

parseBox :: Fractional n => Parser (Box n) Source #

Errors

data TexError Source #

An error from tex with possible line number.

Constructors

TexError 

parseUnit :: Fractional n => Parser n Source #