diff --git a/configproxy.py b/configproxy.py index 7488c42c195d7514bbe7fd7d80ed9bc2dd621230..6629da2d03986be27cedbdd1ed7597cf566185ea 100755 --- a/configproxy.py +++ b/configproxy.py @@ -767,7 +767,7 @@ CONFIG_SECTIONS = [ "need to be in the folder named 'yourtemplate', and the " "templates provides the files: 'protokoll2.cls' (class), " "'protocol.tex' (protocol), 'decision.tex' (decision)," - "'extra.tex' (exported TOP) and 'asta-logo.tex'")), + "'top.tex' (exported TOP) and 'asta-logo.tex'")), ], check=check_rendering, description="Settings for rendering protocols to pdf, html, etc."), diff --git a/tasks.py b/tasks.py index 7c1e9a2af17339f8052b5789f0f8894b43fde0df..1b2c77441588c108b36c790bb72e6960deb5212e 100644 --- a/tasks.py +++ b/tasks.py @@ -71,7 +71,7 @@ def provide_latex_template(template, documenttype): "class": "protokoll2.cls", "protocol": "protocol.tex", "decision": "decision.tex", - "extra": "extra.tex" + "top": "top.tex" } _PROVIDES = "provides" _LOGO_TEMPLATE = "logo_template" @@ -564,7 +564,7 @@ def parse_protocol_async_inner(protocol, ignore_old_date=False): for top in extra_tops: for show_private in privacy_states: latex_source = texenv.get_template(provide_latex_template( - protocol.protocoltype.latex_template, "extra")).render( + protocol.protocoltype.latex_template, "top")).render( render_type=RenderType.extra, top=top, show_private=show_private, diff --git a/templates/extra.tex b/templates/top.tex similarity index 100% rename from templates/extra.tex rename to templates/top.tex