title: Latex: Error in python module TEX
body: <p>I do experiments in working with Latex and converting text to pdf. Latex figured using PyLatex module, but there is a problem with the printing of Unicode. I found the only way out is to use the Python module "TEX". But again there is some problem I can not solve. In carrying out my program to get Linux Terminal displays error:</p>
  
  <pre><code>sergen-pc:~$ python /home/sergen/PythonExp/latex.py
  Traceback (most recent call last):
    File "/home/sergen/PythonExp/latex.py", line 27, in &lt;module&gt;
      tex.convert('/home/sergen/PythonExp/full.tex', 'tex', 'pdf', max_runs=3)
    File "/usr/local/lib/python2.7/dist-packages/tex.py", line 149, in convert
      raise ValueError(log)
  ValueError: This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdftex 2016.5.1)  20 OCT 2016 20:03
  entering extended mode
   %&amp;-line parsing enabled.
  **/tmp/tex-temp-UzNg43/texput.tex
  (/tmp/tex-temp-UzNg43/texput.tex)
  ! Emergency stop.
  &lt;*&gt; /tmp/tex-temp-UzNg43/texput.tex
  
  !  ==&gt; Fatal error occurred, no output PDF file produced!
  </code></pre>
  
  <p>I can not understand what is the reason, or in the folder 'tmp' which tex refuses to read/write, whether in the guts of the tex module? If you know another Python module to convert the files to PDF,  I will be happy to try it.</p>