Skip to content
Snippets Groups Projects
Commit b2dd78b5 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Fix tex error by switching to LuaLaTeX and using a django-tex version with improved escaping

parent f520b547
No related branches found
No related tags found
No related merge requests found
\documentclass[aspectratio=169]{beamer}
\usetheme[numbering=fraction, progressbar=foot]{metropolis}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\usepackage{fontawesome5}
\title{ {{- title -}} }
......@@ -30,7 +30,7 @@
{%for category, ak_list in categories_with_aks %}
\section{ {{- category.name | latex_escape_utf8 -}} }
\section{ {{- category.name -}} }
{% for ak, next_aks in ak_list %}
......@@ -38,12 +38,12 @@
%\setbeamertemplate{frame footer}{}
\begin{frame}[shrink=15]
\frametitle{ {{- ak.name | latex_escape_utf8 -}} }
\begin{frame}
\frametitle{ {{- ak.name | latex_escape -}} }
\vspace{1em}
\faUser~ {{ ak.owners_list | latex_escape_utf8 }}
\faUser~ {{ ak.owners_list | latex_escape }}
\faClock~ {{ak.durations_list}}
......@@ -51,7 +51,7 @@
\faScroll
{% endif %}
{{ ak.description | truncatechars(400) | latex_escape_utf8 }}
{{ ak.description | truncatechars(280) | latex_escape }}
\vspace{2em}
......@@ -77,18 +77,18 @@
%\setbeamertemplate{frame footer}{}
\begin{frame}[shrink=15]
\frametitle{ {{- ak.name | latex_escape_utf8 -}} }
\begin{frame}
\frametitle{ {{- ak.name | latex_escape -}} }
\vspace{1em}
\faFilter~ {{ ak.category.name | latex_escape_utf8 }}
\faFilter~ {{ ak.category.name | latex_escape }}
\faUser~
\faClock~
{{ ak.description | truncatechars(400) | latex_escape_utf8 }}
{{ ak.description | truncatechars(280) | latex_escape }}
\vspace{2em}
......
......@@ -147,7 +147,7 @@ LANGUAGES = [
INTERNAL_IPS = ['127.0.0.1', '::1']
LATEX_INTERPRETER = 'pdflatex'
LATEX_INTERPRETER = 'lualatex'
LATEX_RUN_COUNT = 2
# Static files (CSS, JavaScript, Images)
......
......@@ -12,7 +12,7 @@ AKPlanning has two types of requirements: System requirements are dependent on o
* Python 3.7 incl. development tools
* Virtualenv
* pdflatex & beamer class (`texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-extra`)
* pdflatex & beamer class (`texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-extra texlive-luatex`)
* for production using uwsgi:
* C compiler e.g. gcc
* uwsgi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment