bug-gnu-emacs
[Top][All Lists]

## Dollar Sign

 From: Pietro Govoni Subject: Dollar Sign Date: Wed, 28 Feb 2001 10:54:38 +0100 (CET)

In GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit)
of Thu Aug 24 2000 on porky.devel.redhat.com
configured using configure  --mandir=/usr/share/man
--infodir=/usr/share/info --prefix=/usr --libexecdir=/usr/lib
--sharedstatedir=/var --with-gcc --with-pop --with-x-toolkit
i386-redhat-linux-gnu'

Good morning everybody.

I'm preparing a project with LaTeX and I need to include some pictures in
the text; so, I used the usual way:

\begin{figure}
\begin{center}
\includegraphics[height=0.25\textheight,width=0.8\textwidth]{$TESI/immagini/RPCstruttura.eps} \caption[short one]{long one} \label{fig:label} \end{center} \end{figure} To siplify the compilation process in different places I defined an environment variable, that is TESI to make my work path-independent. This means that, to recall an image, I can use$TESI as the absolute path.

The problem is that, even if LaTeX is able to recognise that variable
(somehow, I really don't know how and, since it works, I don't care about
it), Emacs looks like looking for an other \$ simbol, I guess to close an
equation, and all the text following the image location has the same,
lightyellow, color.

What can I do?

Thanks a lot for your attention, best regards.

`