Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54639

Re: python, pythontex and plots

Newsgroups comp.lang.python
Date 2013-09-23 07:09 -0700
References <6ce735c9-dfd4-45df-8423-8eb909d4de34@googlegroups.com> <523f9252$0$29988$c3e8da3$5496439d@news.astraweb.com> <ffb00909-ed74-4330-a448-dd778b346b3b@googlegroups.com> <523fb7b3$0$29992$c3e8da3$5496439d@news.astraweb.com> <0a4edbd9-8ed7-4967-9996-0b70c398859d@googlegroups.com>
Message-ID <cc20c136-91a2-4b32-bba3-4907482852ce@googlegroups.com> (permalink)
Subject Re: python, pythontex and plots
From chitturk@uah.edu

Show all headers | View raw


True, I did not explain what I was trying to do.

pythontex is a package that allows the inclusion of python code within a
LaTeX document - (sort of like python.sty, but IMO, better) - I use
it along with noweb to create documents that contain documentation,
code and output of the code - and pythontex allows me to access variables
within the python code embedded in the LaTeX - except for the case
I mentioned ... Within the python code (inside the LaTeX document) I had
a "savefig(outputfile)" and I was trying to reference the outputfile
using \py{outputfile}

It may be that someone on the comp.text.tex group may have an answer
(there may be users of pythontex on that newsgroup)

On Sunday, September 22, 2013 11:54:20 PM UTC-5, rusi wrote:
> Take a look at babel
> 
> http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf
> 
> http://orgmode.org/worg/org-contrib/babel/intro.html
> 
> 
> 
> Its my impression that babel supports everything and more that pylatex does
> 
> 
> 
> ...the catch is that its under emacs...!!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python, pythontex and plots chitturk@uah.edu - 2013-09-22 13:26 -0700
  Re: python, pythontex and plots Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-23 00:58 +0000
    Re: python, pythontex and plots chitturk@uah.edu - 2013-09-22 19:16 -0700
      Re: python, pythontex and plots Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-23 03:38 +0000
        Re: python, pythontex and plots rusi <rustompmody@gmail.com> - 2013-09-22 21:54 -0700
          Re: python, pythontex and plots chitturk@uah.edu - 2013-09-23 07:09 -0700
            Re: python, pythontex and plots Piet van Oostrum <piet@vanoostrum.org> - 2013-09-24 14:38 -0400

csiph-web