[texhax] Thomas Rendleman - Latex

Reinhard Kotucha reinhard.kotucha at web.de
Sat Oct 16 19:54:57 CEST 2010


On 16 October 2010 Axel Freyn wrote:

 > Hi Thomas,
 > On Thu, Oct 14, 2010 at 08:40:43PM -0400, tr at gygaxi.com.org wrote:
 > > I love latex.
 > > I normally can figure out just about anything but this situation I  
 > > experiencing a problem in finding resources.
 > >
 > > My situation is I am on a client-side computer and ssh into the root of a 
 > > server. This server has latex on it. Each time I want to use latex I have 
 > > to add the $PATH variable. I can't seem to find any documentation. The 
 > > server is Centos/Apache and it would mean a great deal to make the $PATH 
 > > variable into a permanent structure so I can run it using cron.
 > >
 > What about not directly calling "latex", but using the complete path --
 > like "/opt/texliv/bin/latex" (or where your latex lives...) Would that
 > work?

This is deprecated.  This way latex will be found but other scripts
invoked by latex (for instance epstopdf) will be searched in standard
*/bin directories only.

 > If  not:
 > When using cron, you can redefine alle environment-Variables --
 > normally, it is sufficient to add a line like
 > "PATH=$PATH:/opt/texliv/bin/" in your crontab

How should this work at all?  It is only effective in the shell in
which the cron job is executed.

And even if it *would* work, it's not a good idea to steadily prepend
something to PATH without checking whether it's already there.

The most appropriate way is to prepend the dir to PATH in the personal
config file of the shell you are using or to ask the system admin to
do it system-wide.

Rergards,
  Reinhard



-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the texhax mailing list