I hope you will forgive the newbie question, but I've searched the documentation for an answer and can't see one.
I'm trying to use the build comand of the latex bundle with latexmk.pl
I've set my environment variables to:
TM_LATEX_COMPILER = [Path to latexmk] (though I still see "success" for building even if this path is wrong) TM_LATEX_VIEWER = preview
Yet the pdf is not generated. This could be because latexmk requires the argument -pdf to produce a pdf, but I don't know how to specify that, but the build process is so short, I'm not sure that latexmk is being called at all.
Can anyone tell me what I'm doing wrong?
Best wishes,
Nicholas
Nicholas,
To use latexmk.pl you should just set TM_LATEX_COMPILER to latexmk.pl, not the path. The reason is that the bundle script checks to see if you are using latexmk.pl and adds the proper parameters. You don't need the path because latexmk.pl is included in the bundle.
If that doesn't fix your problem let me know.
Brad
On Jan 22, 2006, at 5:10 AM, Nicholas Cole wrote:
I hope you will forgive the newbie question, but I've searched the documentation for an answer and can't see one.
I'm trying to use the build comand of the latex bundle with latexmk.pl
I've set my environment variables to:
TM_LATEX_COMPILER = [Path to latexmk] (though I still see "success" for building even if this path is wrong) TM_LATEX_VIEWER = preview
Yet the pdf is not generated. This could be because latexmk requires the argument -pdf to produce a pdf, but I don't know how to specify that, but the build process is so short, I'm not sure that latexmk is being called at all.
Can anyone tell me what I'm doing wrong?
Best wishes,
Nicholas
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 1/22/06, Brad Miller bonelake@mac.com wrote:
Nicholas,
To use latexmk.pl you should just set TM_LATEX_COMPILER to latexmk.pl, not the path. The reason is that the bundle script checks to see if you are using latexmk.pl and adds the proper parameters. You don't need the path because latexmk.pl is included in the bundle.
If that doesn't fix your problem let me know.
Brad
Dear Brad,
Thanks for that. I had latexmk installed in my ~/bin directory, which is in my $PATH for bash, but obviously not for Textmate. I've moved it to /usr/local/bin, and it all works fine.
Best wishes,
N.
On 23/1/2006, at 15:33, Nicholas Cole wrote:
Thanks for that. I had latexmk installed in my ~/bin directory, which is in my $PATH for bash, but obviously not for Textmate. I've moved it to /usr/local/bin, and it all works fine.
How TextMate sets up its path: http://macromates.com/textmate/manual/ shell_commands#search_path
Should give you the same as a bash login shell.
How TextMate sets up its path: http://macromates.com/textmate/manual/ shell_commands#search_path
Should give you the same as a bash login shell.
Cheers! It's a very steep but not unpleasant learning curve. It's certainly the first to tempt me away from vim.
Thanks for being helpful.
Best wishes,
N