No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Benjamin Bertrand a3b8711fbf Change name to mypytex in setup to push it to pipy 1 year ago
pytex add add_pkg_loader and add_path_loader method to pytex 1 year ago
.gitignore Start Pytex project 1 year ago
LICENSE Start Pytex project 1 year ago
README.rst Improve README 1 year ago
requirements.txt Update requirement 1 year ago
setup.py Change name to mypytex in setup to push it to pipy 1 year ago

README.rst

Pytex
=====

Pytex is a simple package which make aa 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
--------------------------------------------------------