Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- makeLatex :: SharedOptions -> CF -> Backend
- makefile :: String -> String -> Doc
- comment :: String -> String
- cfToLatex :: String -> CF -> String
- introduction :: String
- prtTerminals :: String -> CF -> String
- identSection :: CF -> [String]
- prtIdentifiers :: [String]
- prtLiterals :: String -> CF -> String
- stringLit :: TokenCat -> [String]
- prtOwnToken :: (String, Reg) -> String
- prtComments :: ([(String, String)], [String]) -> String
- prtSymb :: String -> CF -> String
- prtReserved :: String -> CF -> String
- stringRes :: String -> String
- three :: Monoid a => [a] -> [[a]]
- prtBNF :: String -> CF -> String
- prtRules :: [(Cat, [Rule])] -> String
- prtSymbols :: [Either Cat String] -> String
- prt :: String -> String
- macros :: String
- reserved :: String -> String
- literal :: String -> String
- empty :: String
- symbol :: String -> String
- tabular :: Int -> [[String]] -> String
- terminal :: String -> String
- nonterminal :: Cat -> String
- arrow :: String
- delimiter :: String
- beginDocument :: String -> String
- endDocument :: String
- latexRegExp :: Reg -> String
Documentation
makeLatex :: SharedOptions -> CF -> Backend Source #
Entry point: create .tex file and a Makefile to compile it.
makefile :: String -> String -> Doc Source #
Create a makefile for the given tex file
>>>
makefile "myFile.tex" "Makefile"
all : myFile.pdf myFile.pdf : myFile.tex pdflatex myFile.tex clean : -rm myFile.pdf myFile.aux myFile.log cleanall : clean -rm Makefile myFile.tex
identSection :: CF -> [String] Source #
prtIdentifiers :: [String] Source #
nonterminal :: Cat -> String Source #
beginDocument :: String -> String Source #
endDocument :: String Source #
latexRegExp :: Reg -> String Source #