LyXLyx doesn't see installed style

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
ilzetzki
Posts: 1
Joined: Thu Jun 18, 2015 1:17 pm

Lyx doesn't see installed style

Post by ilzetzki »

Compiling a document in Lyx, I get an error:

Latex Error: File 'xcolor.sty' not found.

I have manually installed this style. It is in the tex\latex\xcolor subdirectory of MikTex. In addition, when I go to TeX information in Lyx, it has xcolor as one of the listed LaTex styles in the appropriate directory.

How do I get Lyx to recognize this style?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Lyx doesn't see installed style

Post by Stefan Kottwitz »

Welcome to the forum!

It still seems to be a LaTeX error, not related to the LyX editor, since the message says so.

Refresh the MiKTeX package database. That means, open MiKTeX settings/options via the Windows start menu, and click the "Refresh FNDB" button.

Stefan
LaTeX.org admin
Post Reply