Scripting Guide
Python Interface
Python is a high level interpreted programming language. In this case it is used as a scripting language to allow easy access to TexGen functionality. Python has been embedded in the TexGen GUI which allows the GUI to run python scripts. The goal of this tutorial is not to teach Python programming, there are plenty of resources online for that. A few of them are listed below:
- Learn Python in 10 minutes - Quick introduction to Python for competent programmers.
- Beginning Python Tutorial - Quick introduction to Python basics.
- Python Tutorial - Official Python tutorial (requires some programming knowledge).
- How to Think Like a Computer Scientist: Learning with Python - Book on Python programming for beginners. HTML Version
- Dive Into Python - In depth book covering advanced subjects in a comprehensive manner.
An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks.
A TexGen scripting guide with sample scripts can be found on GitHub
A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous: