# Re: Weird behavior after Lyx 2.0 RC1 installation

On 24/03/2011 4:01 AM, Julio Rojas wrote:

So, no clue here? Please, any advice will be better than none at all.
-------------------------------------------------
Julio Rojas
jcredbe...@gmail.com


On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojas<jcredbe...@gmail.com>  wrote:

I could backtrace the error to the use of "\href" in the definition of
"\email" in "moderncv.cls". Nonetheless, hyperref seems to be loaded
correctly.

-------------------------------------------------
Julio Rojas
jcredbe...@gmail.com

On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojas<jcredbe...@gmail.com>  wrote:

Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
not-blundle installer. After that, I can see that Miktex is behaving
weirdly, as if it was not properly installed. Package manager tells me
a lot of packages I frequently use are not installed. Lyx compilation
(with both 1.6.9 and 2.0) works in some cases for packages reported as
not installed and doesn't work for packages reported as installed. I
have tried to compile a big document (my thesis) and it gave me plenty
of errors. I deleted the packages found in
"~User/AppData/Roaming/MiKTeX/2.8/tex/latex", rebuild MikTeX index and
it compiled perfectly. Now, I'm trying to compile my CV (which
compiled perfectly before 2.0 RC1) and the following error appears:

! Undefined control sequence.
\@urlcolor #1\close@pdflin...
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I have installed "url", "breakurl" and "hyperref" (reported as not
installed by package manager), which seems to be culprits (even if
there are no hyperlinks in my CV), to no avail.

Has anybody a clue about what is happening here? Regards.
-------------------------------------------------
Julio Rojas
jcredbe...@gmail.com








It seems like a broken miktex installation. Can you try with plain latex? or just LyX 1.6 if it's still on your machine?

Sorry, I can't be of much help.

--
Julien