tutorial exercises; put libdir in place in GF/src

This commit is contained in:
aarne
2007-07-04 14:10:41 +00:00
parent aa5d9556ff
commit 8448623d36
4 changed files with 92 additions and 35 deletions

View File

@@ -44,6 +44,7 @@ main = do
space
let format = if isLatex then "tex" else "html"
system $ "txt2tags -t" ++ format ++ " --toc " ++ synopsis
if isLatex then (system $ "pdflatex synopsis.tex") >> return () else return ()
getCats isLatex isBeg file = do
ss <- readFile file >>= return . lines