Difference between revisions of "Scripting Guide"

From TexGen
Jump to navigationJump to search
 
Line 10: Line 10:
 
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.
 
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 scripting guide with sample scripts can be found on [https://github.com/louisepb/TexGenScriptingGuide GitHub]
+
A TexGen scripting guide with sample scripts can be found on [https://github.com/louisepb/TexGenScriptingGuide 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:
 
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:

Latest revision as of 09:34, 7 March 2018

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:

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: