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...!! -- https://mail.python.org/mailman/listinfo/python-list