Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed latex function

  • Loading branch information...
commit d020e5143262ddd36cd4683af1f049e4d01c7448 1 parent ced9110
@RobinRamael authored
Showing with 4 additions and 3 deletions.
  1. +3 −2 src/mdlt/core.clj
  2. +1 −1  src/mdlt/generator.clj
View
5 src/mdlt/core.clj
@@ -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
2  src/mdlt/generator.clj
@@ -31,7 +31,7 @@
(f v)))
tree)))
-(defn generate-latex-file [tree]
+(defn latex [tree]
(str latex-header
(as-latex tree)
latex-footer))
Please sign in to comment.
Something went wrong with that request. Please try again.