diff --git a/AKPlanning/settings.py b/AKPlanning/settings.py index f01056ac926bd5dd7d766faa7677ce629d7747e6..380475ae18be0baa6d7fe6915d0755116332677f 100644 --- a/AKPlanning/settings.py +++ b/AKPlanning/settings.py @@ -92,7 +92,7 @@ TEMPLATES = [ 'APP_DIRS': True, 'OPTIONS': { 'environment': 'AKModel.environment.improved_tex_environment', - } + }, }, ] @@ -147,6 +147,7 @@ LANGUAGES = [ INTERNAL_IPS = ['127.0.0.1', '::1'] LATEX_INTERPRETER = 'pdflatex' +LATEX_RUN_COUNT = 2 # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.2/howto/static-files/ diff --git a/requirements.txt b/requirements.txt index c4d0c932671a0836a5438af0d34a754d27da30b4..55307ddcc63a1ceb84686de659e31bd47530405f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,6 @@ django-simple-history==3.0.0 django-registration-redux==2.9 django-debug-toolbar==3.2.1 django-bootstrap-datepicker-plus==3.0.5 -django-tex==1.1.8.post1 +django-tex @ git+https://github.com/bhaettasch/django-tex.git@91db2dc814a35c6e1d4a4b758a1a7b56822305b5 mysqlclient==2.0.3 # for production deployment pytz==2021.1