From 59d5ac1c51165e49ca1b896866f9c6771ccbf427 Mon Sep 17 00:00:00 2001
From: Markus Scheller <scheller_m@live.de>
Date: Sat, 17 Feb 2018 22:22:04 +0100
Subject: [PATCH] Umstellen auf die neue Funktion in der LaTeX-Klasse:
 \Beschluss

protokollsystem/proto3#165
---
 protoparser.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/protoparser.py b/protoparser.py
index cac3b43..3103312 100644
--- a/protoparser.py
+++ b/protoparser.py
@@ -221,12 +221,10 @@ class Tag:
                     return ""
                 return self.todo.render_latex(current_protocol=protocol)
             elif self.name == "beschluss":
-                parts = [r"\textbf{{Beschluss:}} {}".format(self.decision.content)]
                 if len(self.decision.categories):
-                    parts.append(
-                        r"\textit{{({})}}".format(self.decision.get_categories_str())
-                    )
-                return " ".join(parts)
+                    return r"\Beschluss[{}]{{{}}}".format(self.decision.get_categories_str(),self.decision.content)
+                else:
+                    return r"\Beschluss{{{}}}".format(self.decision.content)
             elif self.name == "footnote":
                 return r"\footnote{{{}}}".format(self.values[0])
             return r"\textbf{{{}:}} {}".format(escape_tex(self.name.capitalize()), escape_tex(";".join(self.values)))
-- 
GitLab