texrunner-0.0.1.3: Functions for running Tex from Haskell.
Copyright(c) 2015 Christopher Chalmers
LicenseBSD-style (see LICENSE)
Maintainerc.chalmers@me.com
Safe HaskellSafe-Inferred
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

Instances details
Show n => Show (Box n) Source # 
Instance details

Defined in System.Texrunner.Parse

Methods

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

show :: Box n -> String #

showList :: [Box n] -> ShowS #

Errors

data TexLog Source #

Constructors

TexLog 

Instances

Instances details
Monoid TexLog Source # 
Instance details

Defined in System.Texrunner.Parse

Semigroup TexLog Source # 
Instance details

Defined in System.Texrunner.Parse

Show TexLog Source # 
Instance details

Defined in System.Texrunner.Parse

data TexInfo Source #

Instances

Instances details
Show TexInfo Source # 
Instance details

Defined in System.Texrunner.Parse

data TexError Source #

An error from tex with possible line number.

Constructors

TexError 

Instances

Instances details
Show TexError Source # 
Instance details

Defined in System.Texrunner.Parse

Eq TexError Source # 
Instance details

Defined in System.Texrunner.Parse

someError :: Parser TexError Source #

Parse any line beginning with "! ". Any unknown errors are returned as UnknownError.