Commit d40c31c2 authored by markus scheller's avatar markus scheller
Browse files

Umstellen auf die neue Funktion in der TeX-Klasse: \Todo

parent d9712f8b
...@@ -611,7 +611,7 @@ class Todo(DatabaseModel): ...@@ -611,7 +611,7 @@ class Todo(DatabaseModel):
return " ".join(parts) return " ".join(parts)
def render_latex(self, current_protocol=None): def render_latex(self, current_protocol=None):
return r"\textbf{{{}}}: {}: {} -- {}".format( return r"\Todo{{{}}}{{{}}}{{{}}}{{{}}}".format(
"Neuer Todo" if self.is_new(current_protocol) else "Todo", "Neuer Todo" if self.is_new(current_protocol) else "Todo",
escape_tex(self.who), escape_tex(self.who),
escape_tex(self.description), escape_tex(self.description),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment