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

Use fork of django-tex that allows multiple consecutive runs of latex compile command

Additionally, this provides better escaping of user content
Set setting for consecutive runs to 2
parent 57f7794e
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ TEMPLATES = [ ...@@ -92,7 +92,7 @@ TEMPLATES = [
'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'environment': 'AKModel.environment.improved_tex_environment', 'environment': 'AKModel.environment.improved_tex_environment',
} },
}, },
] ]
...@@ -147,6 +147,7 @@ LANGUAGES = [ ...@@ -147,6 +147,7 @@ LANGUAGES = [
INTERNAL_IPS = ['127.0.0.1', '::1'] INTERNAL_IPS = ['127.0.0.1', '::1']
LATEX_INTERPRETER = 'pdflatex' LATEX_INTERPRETER = 'pdflatex'
LATEX_RUN_COUNT = 2
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/ # https://docs.djangoproject.com/en/2.2/howto/static-files/
......
...@@ -8,6 +8,6 @@ django-simple-history==3.0.0 ...@@ -8,6 +8,6 @@ django-simple-history==3.0.0
django-registration-redux==2.9 django-registration-redux==2.9
django-debug-toolbar==3.2.1 django-debug-toolbar==3.2.1
django-bootstrap-datepicker-plus==3.0.5 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 mysqlclient==2.0.3 # for production deployment
pytz==2021.1 pytz==2021.1
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