Re: [gedit-list] pdflatex



On Thu, 2007-06-28 at 20:59 +0200, Paolo Borelli wrote:
> > Giving the full path to the definition of the Run command:
> > 
> > /usr/local/texlive/2007/bin/i386-linux/pdflatex
> > "$GEDIT_CURRENT_DOCUMENT_NAME"
> > 
> > works, as you might expect. The bonus is that I can use the Input
> select
> > toggle: 'Current document' from the Manager window instead of adding
> > "$GEDIT_CURRENT_DOCUMENT_NAME" to the script and it still works (my
> > students might say, "No duh!") but the paths question remains.
> > 
> 
> Maybe pdflatex has been installed in a custom prefix that is added to
> $PATH in your .bashrc but not seen by gedit, or something like that.
> You
> may check what does 'which pdflatex' gives.

That's what I was also thinking about.
Quick hack trick: you can add this line at the beginning of your script:

  source ~/.bashrc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]