[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with auctex
From: |
halo |
Subject: |
Re: problem with auctex |
Date: |
16 Oct 2006 01:51:26 -0700 |
User-agent: |
G2/1.0 |
> >
> > I just installed auctex in Windows. And because I uses a portable
> > MikTex (installed in a USB disk), the PATH doesn't include the
> > directory that contains the LaTeX executable commands. Is there a way
> > in Emacs or auctex that can tell auctex where to find the latex
> > commands? For example, can I setup the PATH variables directly in
> > Emacs?
> >
> > Thanks you!
> >
> > caixj
> >
>
> You could try:
> M-! path=%path%;[absolute path on flash disk]
>
> but this is a sub-shell and might not persist through the emacs session.
>
> If you can be sure that the usb drive will always be assigned the same
> drive letter then you could add the absolute path to the exec-path list.
> See "Customize."
>
The problem is solved. The usb drive letter could be gotten through
'data-directory'. And 'setenv' and 'getenv' could be used in the .emacs
to setup PATH.
best regards,
caixj