Permalink
Browse files

renamed latex function

  • Loading branch information...
RobinRamael committed May 28, 2011
1 parent ced9110 commit d020e5143262ddd36cd4683af1f049e4d01c7448
Showing with 4 additions and 3 deletions.
  1. +3 −2 src/mdlt/core.clj
  2. +1 −1 src/mdlt/generator.clj
View
@@ -1,8 +1,9 @@
(ns mdlt.core
(:use [clojure.contrib.duck-streams :only (read-lines)]
[clojure.pprint :only (pprint)]
- [mdlt.parser :only (parse)])
+ [mdlt.parser :only (parse)]
+ [mdlt.generator :only (latex)])
(:gen-class))
(defn -main [& args]
- (pprint (parse (read-lines (first args)))))
+ (print (latex (parse (read-lines (first args))))))
View
@@ -31,7 +31,7 @@
(f v)))
tree)))
-(defn generate-latex-file [tree]
+(defn latex [tree]
(str latex-header
(as-latex tree)
latex-footer))

0 comments on commit d020e51

Please sign in to comment.