title: Python Pweave to LaTeX
body: <p>I am trying to get <a href="http://mpastell.com/pweave/" rel="nofollow noreferrer">Pweave</a> to generate a LaTeX file in a form other than verbatim so that I can add a few features to the doc (logo, footnotes etc...).<br>
  So far as much as I love Pweave for the ease of use and convenience, I have been unable to do so.  </p>
  
  <blockquote>
    <p>Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 26 2016, 10:47:25) 
    [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
    pweave.<strong>version</strong> is '0.25'</p>
  </blockquote>
  
  <p>Anyone would have a lead please? </p>
  
  <p>Example of code (all in Python Pweave, for illustration purpose): </p>
  
  <pre><code>#' let's print
  [print (i) for i in range(10)]
  
  #' let's plot
  #' we import the modules
  import matplotlib.pyplot as plt
  import numpy as np
  
  #' we set the var x and y
  x = np.arange(1,10,1)
  y = x**2
  
  #' we plot!
  plt.plot(x,y, color= 'red')
  plt.show()
  </code></pre>
  
  <p>Thanks!</p>