pytex/README.rst

26 lines
753 B
ReStructuredText
Raw Normal View History

2017-08-15 06:56:29 +00:00
Pytex
=====
2018-05-19 08:08:29 +00:00
Pytex is a simple package which make a bridge between Latex and Python.
2017-08-15 06:56:29 +00:00
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
--------------------------------------------------------