Go to file
2019-12-22 17:31:05 +01:00
pytex Feat: add test and pyPath to pathlib 2019-12-22 17:30:23 +01:00
tests Feat: add test and pyPath to pathlib 2019-12-22 17:30:23 +01:00
.gitignore Start Pytex project 2017-04-16 11:57:14 +03:00
LICENSE Start Pytex project 2017-04-16 11:57:14 +03:00
README.rst paths cleaning 2018-05-19 11:08:29 +03:00
requirements.txt Update requirement 2017-04-16 17:23:14 +03:00
setup.py Feat: prepare to pack! 2019-12-22 17:31:05 +01:00

Pytex
=====

Pytex is a simple package which make a bridge between Latex and Python.

texenv: Bring Python inside latex
---------------------------------

*texenv* is a jinja2 environment which allow to use python commands inside latex.

- **\Block{#}**  is the equivalent of **{% block #%}** in Jinja2. Every python's commands will be run like in a script. **%-** is also available for line statement.
- **\Var{#}** is the equivalent of **{{#}}** which print the statment.


feed: converting template into tex files
----------------------------------------

pdflatex: Compile files with pdflatex
-------------------------------------

update_export_dict: import extract tools inside template
--------------------------------------------------------