Browse Source

Kompilieren

Martin Thoma 11 years ago
parent
commit
2f22e6f2fc

BIN
documents/GeoTopo/definitions/definitionen.pdf


+ 1 - 1
documents/GeoTopo/definitions/generateDefinitions.py

@@ -7,7 +7,7 @@ def get_definitions(filename):
     with open(filename) as f:
         content = f.read()
 
-    pattern = re.compile(r"\\begin{definition}(.*?)\\end{definition}", re.DOTALL | re.UNICODE)
+    pattern = re.compile(r"^\\begin{definition}(.*?)\\end{definition}", re.DOTALL | re.UNICODE)
     index_pattern = re.compile(r"\\xindex{(?:.*?@)?(.*?)(?:\|.*?)?}", re.UNICODE)
     todo_pattern = re.compile(r"\\todo{.*?}", re.UNICODE)
     definitions = re.findall(pattern, content)

BIN
documents/GeoTopo/other-formats/GeoTopo-A5.pdf