>Ensuite nous �liminons
>\begin_inset Formula $\mathbf{E}$
>\end_inset
>
> dans eq.
>
>\begin_inset LatexCommand \prettyref{eq:Max4}
>
>\end_inset
The problem comes from the language frenchb which redefine ':'.
If you want to use frenchb with prettyref you have to rewrite
prettyref.sty
For example you can put in the preamble of the document the
following lines:
\def\newrefformat#1#2{%
[EMAIL PROTECTED]@#1}##1{#2}}
\newrefformat{eq}{\textup{(\ref{#1})}}
\newrefformat{ssec}{Sous-section \ref{#1}}
\newrefformat{sssec}{Sous-sous-section \ref{#1}}
\newrefformat{cha}{Chapitre \ref{#1}}
\newrefformat{sec}{Section \ref{#1}}
\newrefformat{tab}{Tableau \ref{#1} on page \pageref{#1}}
\newrefformat{fig}{Figure \ref{#1} on page \pageref{#1}}
[EMAIL PROTECTED]|}
[EMAIL PROTECTED]|#2|{%
\expandafter\ifx\csname [EMAIL PROTECTED]
\PackageWarning{prettyref}{Reference format #1\space undefined}%
\ref{#1|#2}%
\else%
\csname [EMAIL PROTECTED]|#2}%
\fi%
}
This will replace, in prettyref.sty the ':' by '|' (and also defines
predefined refformat eq, sec, ssec, sssec, cha, tab and fig in french).
then when you use prettyref, you have to type \prettyref{eq|Max4} instead
of \prettyref{eq:Max4} (i.e. replace the ':' by '|').
Note. if you redefine ':' (for example by \catcode`:=12) in the begining
of the document to be able to use the original prettyref, you loose
the definition of ':' in frenchb, and, for me, this is a bad solution.
Ph. C.