Hello there,
On 1.5.8 r1496 the LaTeX bundle seems to ignore the TEXINPUTS variable.
I turned on the debug output: === %!TEX Directives: {} [...] TEX package list = ['indentfirst', 'setspace', 'pdfsync', 'amsmath', 'amssymb', 'amsthm', 'fancyhdr', 'lastpage', 'extramarks', 'chngpage', 'url', 'graphicx', 'graphviz'] texMateVersion = $Rev: 10791 $ engine = pdflatex texCommand = latex viewer = Skim texinputs = .::/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/tex// fileName = A2.tex [...] ===
Python seems to be able to pull the env variable properly: === toirse:~ thatha$ python Python 2.5.1 (r251:54863, Jul 23 2008, 11:00:16) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import os print os.getenv('TEXINPUTS')
/Users/thatha/.latex//: ===
Any ideas what's wrong?
I recently transitioned to OS X from Linux and I'm wondering if setting the variable in .profile is enough?
Thanks,
Ian.
Hello there,
On 1.5.8 r1496 the LaTeX bundle seems to ignore the TEXINPUTS variable while Python (outside TM) seems to be able to pull the env variable properly.
Thanks,
Ian.
On Jan 27, 2009, at 12:34 PM, Ian Th Atha wrote:
Hello there,
On 1.5.8 r1496 the LaTeX bundle seems to ignore the TEXINPUTS variable while Python (outside TM) seems to be able to pull the env variable properly.
How have you set the variable? It should work if you add it via the “Shell Variables” tab in the “Advanced” prefpane.
—Alex
I've set the variable through ~/.profile . Is there no way to make it read the "real" environment variables? It seems a bit counterintuitive to have to set the same variables twice.
On Tue, Jan 27, 2009 at 14:46, Alex Ross tm-alex@rosiba.com wrote:
On Jan 27, 2009, at 12:34 PM, Ian Th Atha wrote:
Hello there,
On 1.5.8 r1496 the LaTeX bundle seems to ignore the TEXINPUTS variable while Python (outside TM) seems to be able to pull the env variable properly.
How have you set the variable? It should work if you add it via the "Shell Variables" tab in the "Advanced" prefpane.
—Alex
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 28/01/2009, at 7:04 AM, Ian Th Atha wrote:
I've set the variable through ~/.profile . Is there no way to make it read the "real" environment variables? It seems a bit counterintuitive to have to set the same variables twice.
On Tue, Jan 27, 2009 at 14:46, Alex Ross tm-alex@rosiba.com wrote:
On Jan 27, 2009, at 12:34 PM, Ian Th Atha wrote:
Hello there,
On 1.5.8 r1496 the LaTeX bundle seems to ignore the TEXINPUTS variable while Python (outside TM) seems to be able to pull the env variable properly.
How have you set the variable? It should work if you add it via the "Shell Variables" tab in the "Advanced" prefpane.
You can store your environment variables in
~/.MacOSX/environment.plist
There were a discussion on the mailing list about this topic (enviroment variables) a f ew months ago.
All the best
Guido -- Guido Governatori http://www.governatori.net/Textmate
On Jan 27, 2009, at 1:04 PM, Ian Th Atha wrote:
I've set the variable through ~/.profile . Is there no way to make it read the "real" environment variables? It seems a bit counterintuitive to have to set the same variables twice.
We avoid sourcing the user's shell profile. Their are many strange problems that can result by doing so. Often users have code in their profile that only makes sense in a shell context, that can break TextMate commands.