hoodle-publish-0.2.1: publish hoodle files as a static web site

Copyright(c) 2013-2015 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Hoodle.Publish.PDF

Description

 

Synopsis

Documentation

data T Source #

Constructors

N 
F 
H 
HS 

Instances

Eq T Source # 

Methods

(==) :: T -> T -> Bool #

(/=) :: T -> T -> Bool #

Show T Source # 

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

data Annot Source #

Constructors

Annot 

data AppState Source #

Constructors

AppState 

Fields

writePdfFile Source #

Arguments

:: FilePath

hoodle file path

-> Dimension 
-> (String, String)

(url base, special url base (for executing an app))

-> (FilePath, FilePath)

(root path, curr path)

-> FilePath

pdf file

-> [(Int, [Link])] 
-> Maybe UUID 
-> StateT AppState (PdfWriter IO) () 

sequence1_ :: Monad m => m () -> [m ()] -> m () Source #

interleaving a monadic action between each pair of subsequent actions

renderHoodleToPDF :: Hoodle -> FilePath -> IO () Source #

render a hoodle file to PDF simply

createPdf :: (String, String) -> FilePath -> (FilePath, FilePath) -> IO () Source #

create pdf file with appropriate links