diff --git a/output.py b/output.py index 865fe33..bb53a94 100644 --- a/output.py +++ b/output.py @@ -47,7 +47,7 @@ class OutputFormat (object): if name in self.cached_templates: return self.cached_templates[name] filename = os.path.join(os.path.dirname(sys.argv[0]), - "output_formats", + "templates", self.extension, name + "." + self.extension) f = open(filename, "r") diff --git a/output_formats/debug/begin.debug b/templates/debug/begin.debug similarity index 100% rename from output_formats/debug/begin.debug rename to templates/debug/begin.debug diff --git a/output_formats/debug/end.debug b/templates/debug/end.debug similarity index 100% rename from output_formats/debug/end.debug rename to templates/debug/end.debug diff --git a/output_formats/debug/paragraph.debug b/templates/debug/paragraph.debug similarity index 100% rename from output_formats/debug/paragraph.debug rename to templates/debug/paragraph.debug diff --git a/output_formats/debug/paragraph_ref.debug b/templates/debug/paragraph_ref.debug similarity index 100% rename from output_formats/debug/paragraph_ref.debug rename to templates/debug/paragraph_ref.debug diff --git a/output_formats/dot/begin.dot b/templates/dot/begin.dot similarity index 100% rename from output_formats/dot/begin.dot rename to templates/dot/begin.dot diff --git a/output_formats/dot/end.dot b/templates/dot/end.dot similarity index 100% rename from output_formats/dot/end.dot rename to templates/dot/end.dot diff --git a/output_formats/dot/paragraph.dot b/templates/dot/paragraph.dot similarity index 100% rename from output_formats/dot/paragraph.dot rename to templates/dot/paragraph.dot diff --git a/output_formats/dot/paragraph_ref.dot b/templates/dot/paragraph_ref.dot similarity index 100% rename from output_formats/dot/paragraph_ref.dot rename to templates/dot/paragraph_ref.dot diff --git a/output_formats/dot/text.dot b/templates/dot/text.dot similarity index 100% rename from output_formats/dot/text.dot rename to templates/dot/text.dot diff --git a/output_formats/html/begin.html b/templates/html/begin.html similarity index 100% rename from output_formats/html/begin.html rename to templates/html/begin.html diff --git a/output_formats/html/end.html b/templates/html/end.html similarity index 100% rename from output_formats/html/end.html rename to templates/html/end.html diff --git a/output_formats/html/paragraph.html b/templates/html/paragraph.html similarity index 100% rename from output_formats/html/paragraph.html rename to templates/html/paragraph.html diff --git a/output_formats/html/paragraph_ref.html b/templates/html/paragraph_ref.html similarity index 100% rename from output_formats/html/paragraph_ref.html rename to templates/html/paragraph_ref.html diff --git a/output_formats/rtf/begin.rtf b/templates/rtf/begin.rtf similarity index 100% rename from output_formats/rtf/begin.rtf rename to templates/rtf/begin.rtf diff --git a/output_formats/rtf/end.rtf b/templates/rtf/end.rtf similarity index 100% rename from output_formats/rtf/end.rtf rename to templates/rtf/end.rtf diff --git a/output_formats/rtf/paragraph.rtf b/templates/rtf/paragraph.rtf similarity index 100% rename from output_formats/rtf/paragraph.rtf rename to templates/rtf/paragraph.rtf diff --git a/output_formats/rtf/paragraph_ref.rtf b/templates/rtf/paragraph_ref.rtf similarity index 100% rename from output_formats/rtf/paragraph_ref.rtf rename to templates/rtf/paragraph_ref.rtf diff --git a/output_formats/tex/begin.tex b/templates/tex/begin.tex similarity index 100% rename from output_formats/tex/begin.tex rename to templates/tex/begin.tex diff --git a/output_formats/tex/end.tex b/templates/tex/end.tex similarity index 100% rename from output_formats/tex/end.tex rename to templates/tex/end.tex diff --git a/output_formats/tex/paragraph.tex b/templates/tex/paragraph.tex similarity index 100% rename from output_formats/tex/paragraph.tex rename to templates/tex/paragraph.tex diff --git a/output_formats/tex/paragraph_ref.tex b/templates/tex/paragraph_ref.tex similarity index 100% rename from output_formats/tex/paragraph_ref.tex rename to templates/tex/paragraph_ref.tex