Django_tex documentation¶
Core¶
-
django_tex.core.
compile_template_to_pdf
(template_name, context)¶ Compile the source with
render_template_with_context()
andrun_tex()
.
-
django_tex.core.
render_template_with_context
(template_name, context)¶ Render the template
-
django_tex.core.
run_tex
(source)¶ Copy the source to temp dict and run latex.
Exceptions¶
-
django_tex.exceptions.
prettify_message
(message)¶ Helper methods that removes consecutive whitespaces and newline characters
-
django_tex.exceptions.
tokenizer
(code)¶
Models¶
-
class
django_tex.models.
TeXTemplateFile
(*args, **kwargs)¶ -
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
title
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
django_tex.models.
validate_template_path
(name)¶