texrunner-0.0.1.2: 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 # 
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
Show TexLog Source # 
Instance details

Defined in System.Texrunner.Parse

Semigroup TexLog Source # 
Instance details

Defined in System.Texrunner.Parse

Monoid TexLog Source # 
Instance details

Defined in System.Texrunner.Parse

data TexError Source #

An error from tex with possible line number.

Constructors

TexError 
Instances
Eq TexError Source # 
Instance details

Defined in System.Texrunner.Parse

Show TexError Source # 
Instance details

Defined in System.Texrunner.Parse

someError :: Parser TexError Source #

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